Apple Network Setup Network Card User Manual


 
CHAPTER 3
Network Setup Reference
Network Setup Functions 91
accessID On input, a value of type CfgEntityAccessID (page 100),
obtained by previously calling OTCfgOpenPrefs (page 84) that
identifies the entity from which a preference is to be deleted.
prefsType On input, a value of type OSType that identifies the preference
type of the preference that is to be deleted.
function result A value of noErr indicates that OTCfgDeletePrefs returned
successfully. For a list of other possible result codes, see “Result
Codes” (page 110).
DISCUSSION
The OTCfgDeletePrefs function deletes the preference of the type specified by
prefsType from the entity specified by accessID.
Note
The OTCfgDeletePrefs function is available in Network
Setup version 1.2 and later.
OTCfgGetTemplate 3
Gets the default value for a specific preference.
OSStatus OTCfgGetTemplate(CfgEntityClass entityClass,
CfgEntityType entityType,
OSType prefsType,
void *data,
ByteCount *dataSize);
entityClass
On input, a value of type CfgEntityClass that specifies the class
of the preference whose default value is to be obtained.
entityType On input, a value of type CfgEntityType that specifies the type of
the preference whose default value is to be obtained.
prefsType On input, a value of type OSType that specifies the preference
type of the preference whose default value is to be obtained.