NWReadNSInfoExt

Reads name space information from the designated name space, using UTF-8 strings.

Local Servers:blocking
Remote Servers:blocking
NetWare Server:6.5 SP2 or later
Platform:NLM, Windows 2000, Windows XP
Client:4.90 SP2 or later
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Name Space

Syntax

   #include <nwnamspc.h> 
   or 
   #include <nwcalls.h> 
    
   NWCCODE N_API NWReadNSInfoExt ( 
      NWCONN_HANDLE            conn,  
      const NW_IDX     N_FAR  *idxStruct,  
      const NW_NS_INFO N_FAR  *NSInfo,  
      pnuint8                  data);
   

Parameters

conn

(IN) Specifies the NetWare server connection handle.

idxStruct

(IN) Points to NW_IDX returned from NWGetDirectoryBaseExt.

NSInfo

(IN) Points to NW_NS_INFO returned from NWGetNSInfo.

data

(OUT) Points to a 1024-byte buffer receiving data from the name space.

Return Values

These are common return values; see Return Values (Return Values for C) for more information.

0x0000

SUCCESSFUL

0x8801

INVALID_CONNECTION

0x88F0

UTF8_CONVERSION_FAILED

0x890A

NLM_INVALID_CONNECTION

Remarks

NSInfoBitMask bit definitions follow:

C Value

Constant

0x0002L

DM_ATTRIBUTES

0x0004L

DM_CREATE_DATE

0x0008L

DM_CREATE_TIME

0x0010L

DM_CREATOR_ID

0x0020L

DM_ARCHIVE_DATE

0x0040L

DM_ARCHIVE_TIME

0x0080L

DM_ARCHIVER_ID

0x0100L

DM_MODIFY_DATE

0x0200L

DM_MODIFY_TIME

0x0400L

DM_MODIFIER_ID

0x0800L

DM_LAST_ACCESS_DATE

0x1000L

DM_INHERITED_RIGHTS_MASK

0x2000L

DM_MAXIMUM_SPACE

NCP Calls

See Also

NWGetNSEntryInfoExt, NWGetNSInfo, NWWriteNSInfoExt