20.6 Basic Return Mask Values

See Section 20.7, Extended Return Mask Values for the extended values.

Return mask parameters can have the following values:

C Value

Delphi Value

Value Name

0x0001L

$0001

IM_NAME (3.x and above)—corresponds to nameLength and entryName and is always returned by NW_ENTRY_INFO2.

0x0001L

$0001

IM_ENTRY_NAME

0x0002L

$0002

IM_SPACE_ALLOCATED (3.x and above)—corresponds to spaceAlloc in NW_ENTRY_INFO2.

0x0004L

$0004

IM_ATTRIBUTES (3.x and above)—corresponds to attributes and flags in NW_ENTRY_INFO2.

0x0008L

$0008

IM_SIZE (3.x and above)—corresponds to dataStreamSize in NW_ENTRY_INFO2.

0x0010L

$0010

IM_TOTAL_SIZE (3.x and above)—corresponds to totalStreamSize and numberOfStreams in NW_ENTRY_INFO2.

0x0020L

$0020

IM_EA (3.x and above)—corresponds to EADataSize, EAKeyCount, and EAKeySize in NW_ENTRY_INFO2.

0x0040L

$0040

IM_ARCHIVE (3.x and above)—corresponds to archiveTime, archiveDate, and archiverID in NW_ENTRY_INFO2.

0x0080L

$0080

IM_MODIFY (3.x and above)—corresponds to modifyTime, modifyDate, modifierID, and lastAccessDate in NW_ENTRY_INFO2.

0x0100L

$0100

IM_CREATION (3.x and above)—corresponds to creationTime, creationDate, and creatorID in NW_ENTRY_INFO2.

0x0200L

$0200

IM_OWNING_NAMESPACE (3.x and above)—corresponds to NSCreator in NW_ENTRY_INFO2.

0x0400L

$0400

IM_DIRECTORY (3.x and above)—corresponds to dirEntNum, DosDirNum, and volNumber in NW_ENTRY_INFO2.

0x0800L

$0800

IM_RIGHTS (3.x and above)—corresponds to inheritedRightsMask in NW_ENTRY_INFO2.

0x0FEDL

$0FED

IM_ALMOST_ALL

0x0FFFL

$0FFF

IM_ALL