SEARCH_DIR_INFO

Service:File System
Defined In:nwfile.h

Structure

   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;
   

Delphi Structure

   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;
   

Fields

sequenceNumber

Is reserved for future use.

reserved1

Is reserved for future use.

directoryName

Specifies the short name of the directory.

directoryAttributes

Specifies the attributes for the directory.

directoryAccessRights

Specifies the access rights.

createDate

Specifies the time the directory was created.

createTime

Specifies the date the directory was created.

owningObjectID

Specifies the ID of the object owning the directory.

reserved2

Is reserved for future use.

directoryStamp

Specifies 0xD1D1 when returned.

Remarks

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:

C Value

Delphi Value

Value Name

0x00

$00

TA_NONE

0x01

$01

TA_READ

0x02

$02

TA_WRITE

0x04

$04

TA_OPEN Obsolete in 3.x and above.

0x08

$08

TA_CREATE

0x10

$10

TA_DELETE

0x20

$20

TA_OWNERSHIP

0x40

$40

TA_SEARCH

0x80

$80

TA_MODIFY

0xFB

$FB

TA_ALL