NWReadNSInfo

Reads name space information from the designated name space

Local Servers:blocking
Remote Servers:blocking
NetWare Server:3.11, 3.12, 3.2, 4.x, 5.x, 6.x
Platform:NLM, Windows NT, Windows 95, Windows 98
Library:Cross-Platform NetWare Calls (CAL*.*)
Service:Name Space

Syntax

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

Delphi Syntax

   uses calwin32 
    
   Function NWReadNSInfo 
     (conn : NWCONN_HANDLE; 
      Var idxStruct : NW_IDX; 
      Var NSInfo : NW_NS_INFO; 
      data : pnuint8 
   ) : NWCCODE;
   

Parameters

conn

(IN) Specifies the NetWare server connection handle.

idxStruct

(IN) Points to NW_IDX returned from NWNSGetMiscInfo.

NSInfo

(IN) Points to NW_NS_INFO returned from NWGetNSInfo.

data

(OUT) Points to a 512-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

0x890A

NLM_INVALID_CONNECTION

Remarks

NSInfoBitMask bit definitions follow:

C Value

Delphi Value

Constant

0x0002L

$0002

DM_ATTRIBUTES

0x0004L

$0004

DM_CREATE_DATE

0x0008L

$0008

DM_CREATE_TIME

0x0010L

$0010

DM_CREATOR_ID

0x0020L

$0020

DM_ARCHIVE_DATE

0x0040L

$0040

DM_ARCHIVE_TIME

0x0080L

$0080

DM_ARCHIVER_ID

0x0100L

$0100

DM_MODIFY_DATE

0x0200L

$0200

DM_MODIFY_TIME

0x0400L

$0400

DM_MODIFIER_ID

0x0800L

$0800

DM_LAST_ACCESS_DATE

0x1000L

$1000

DM_INHERITED_RIGHTS_MASK

0x2000L

$2000

DM_MAXIMUM_SPACE

NCP Calls

See Also

NWGetNSEntryInfo, NWWriteNSInfo