typedef struct {
nuint16 sequenceNumber ;
nuint16 reserved1 ;
nstr8 directoryName [15];
nuint8 directoryAttributes ;
nuint8 directoryAccessRights ;
nuint16 createDate ;
nuint16 createTime ;
nuint32 owningObjectID :
nuint16 reserved2 ;
nuint16 directoryStamp ;
} SEARCH_DIR_INFO;
uses calwin32
SEARCH_DIR_INFO = packed Record
sequenceNumber : nuint16;
reserved1 : nuint16;
directoryName : Array[0..14] Of nstr8;
directoryAttributes : nuint8;
directoryAccessRights : nuint8;
padd1 : nuint8;
createDate : nuint16;
createTime : nuint16;
padd2 : nuint16;
owningObjectID : nuint32;
reserved2 : nuint16;
directoryStamp : nuint16
End;
Is reserved for future use.
Is reserved for future use.
Specifies the short name of the directory.
Specifies the attributes for the directory.
Specifies the access rights.
Specifies the time the directory was created.
Specifies the date the directory was created.
Specifies the ID of the object owning the directory.
Is reserved for future use.
Specifies 0xD1D1 when returned.
The directoryAttributes field can have the following values:
|
C Value |
Delphi Value |
Value Name |
|---|---|---|
|
0x00 |
$00 |
FA_NORMAL |
|
0x02 |
$02 |
FA_HIDDEN |
|
0x04 |
$04 |
FA_SYSTEM |
|
0x10 |
$10 |
FA_DIRECTORY |
FA_DIRECTORY will always be in the bit mask for a directory.
The directoryAccessRights field can have the following values: