Apple Network Setup manual CfgResourceLocator, CfgSetsStruct

Models: Network Setup

1 184
Download 184 pages 5.56 Kb
Page 101
Image 101
CfgResourceLocator

C H A P T E R 3

Network Setup Reference

OSType fType;

};

typedef struct CfgPrefsHeader CfgPrefsHeader;

Field descriptions

 

fSize

The size in bytes of the preference, not including the

 

CfgPrefsHeader structure itself.

fVersion

Always zero in the version of Network Setup described by

 

this document.

fType

An OS type that uniquely identifies the preference within

 

the entity.

To get the CfgPrefsHeader structures for an entity, call OTCfgGetPrefsTOC (page 89).

CfgResourceLocator

The CfgResourceLocator structure contains a file specification and a resource ID for an entity’s custom icon.

struct CfgResourceLocator {

FSSpec

fFile;

SInt16

fResID;

};

 

Field descriptions

 

fFile

A file specification.

fResID

A resource ID.

The CfgResourceLocator structure is a member of the CfgEntityInfo (page 99) structure. Custom icons are currently not displayed, so you should initialize this structure to zero for any entities that you create.

CfgSetsStruct

The CfgSetsStruct structure holds information about a set entity.

Network Setup Structures and Data Types

101

Page 101
Image 101
Apple Network Setup manual CfgResourceLocator, CfgSetsStruct