Contains information about an FSHOOK_TYPE_CREATE_WARN event.
typedef struct { uint32_t enterExitID; uint32_t slotID; uint32_t taskID; zid_t zid; volid_t volID; unicode_t *name; uint32_t fileType; uint32_t fileAttributes; uint32_t createFlags; void *createParms; uint32_t requestedRights; uint32_t createAndOpen; } create_warn_t;
Associates the warn and report events of the operation and is same value on the warn and report events of the same operation, but unique across operations.
Contains the connection number of the entity that caused the event.
Contains the task number associated with the event. This is usually set to 50, the NSS taskID.
Contains the zid of the file. A zid uniquely identifies a file within a given volume.
Contains the ID of the volume associated with the zid.
Contains the proposed path and name for the file, in Unicode format.
Contains the type of file system object. For a list of possible values, see Section 30.8.3, File Object Types.
Contains a bit mask of NetWare file attributes. For possible values, see Section 30.8.5, NetWare File Attributes.
Specifies the actions to take if the file object being created already exists, using one of the following flags:
Reserved. Not currently used.
Contains a bit mask of the requested access rights. For a list of possible values, see Section 30.8.6, Requested Rights.
Indicates whether the file is to be created and opened. A zero value indicates that it is to be created but not opened. A non-zero vaule indicates that it is to be created and opened.
You can use the fs_getslotinfo function to obtain more information about who caused the event and the fs_mapzidtopath function to obtain more information about the file system object that is the target of the event.