Otcfgabortareamodifications, Otcfgissameareaid, Or call – Apple Network Setup User Manual
Page 65
C H A P T E R 3
Network Setup Reference
Network Setup Functions
65
OTCfgAbortAreaModifications
3
Closes an area for writing without committing modifications.
OSStatus OTCfgAbortAreaModifications (CfgDatabaseRef dbRef,
CfgAreaID readAreaID);
dbRef
On input, a value of type
represents a database session previously opened by calling
readAreaID
On input, a value of type
area that has been opened for writing. If
readAreaID
does not
exist or you have not called
(page 63) for the area represented by
readAreaID
,
OTCfgAbortAreaModifications
returns
kCfgErrAreaNotFound
.
function result A value of
noErr
indicates that
OTCfgAbortAreaModifications
returned successfully. For a list of other possible result codes,
see “Result Codes” (page 110).
DISCUSSION
The
OTCfgAbortAreaModifications
function closes an area that was opened for
writing without writing the modifications to the area presented by
readAreaID
.
OTCfgIsSameAreaID
3
Compares two area IDs.
Boolean OTCfgIsSameAreaID (CfgAreaID areaID1,
CfgAreaID areaID2);
areaID1
On input, a value of type
(page 98) representing one
of the area IDs that is to be compared.
areaID2
On input, a value of type
(page 98) representing the
other area ID that is to be compared.