Defines the parameters for opening/creating a data stream in a specified name space
typedef struct
{
nuint8 openCreateMode ;
nuint16 searchAttributes ;
nuint32 reserved ;
nuint32 createAttributes ;
nuint16 accessRights ;
nuint32 NetWareHandle ;
nuint8 openCreateAction ;
} NW_NS_OPENCREATE
uses calwin32
NW_NS_OPENCREATE = packed Record
openCreateMode : nuint8;
searchAttributes : nuint16;
reserved : nuint32;
createAttributes : nuint32;
accessRights : nuint16;
NetWareHandle : nuint32;
openCreateAction : nuint8
End;
Specifies whether to create, replace, or open an entry (directories can only be created). Open/Create modes use the OC_MODE_ constants listed below:
Specifies the attributes to use in the search (see Section 20.8, Search Attributes Values).
Is reserved for future use.
Specifies the attributes to set in the DOS name space (see Section 20.2, Attribute Values).
Specifies the desired access rights (see Section 20.1, Access Right Values).
Specifies a four-byte NetWare handle.
Specifies the result of a successful open/create. Uses the OC_ACTION_ constants listed below:
To create a file, the accessRights field is used as an access rights mask and must be set to AR_READ and/or AR_WRITE. If neither are used, the NW_NS_OPENCREATE structure sets both. Use the AR constants listed below:
To create a directory, the accessRights field is used as an inherited rights mask and has the following bits: