NWWriteNSInfo(3nw)


NWWriteNSInfo -- sets specific name space information

Synopsis

   #include <nwnamspc.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWWriteNSInfo (NWCONN_HANDLE conn, NW_IDX N_FAR * idxStruct, NW_NS_INFO N_FAR * NSInfo, pnuint8 data);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

idxStruct
(IN) Points to NW_IDX returned by NWNSGetMiscInfo.

NSInfo
(IN) Points to NW_NS_INFO returned by NWGetNSInfo.

data
(IN) Points to a 512-byte buffer containing the data to be written to the name space.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

Notices

For name spaces other than DOS, NWWriteNSInfo is passed to the appropriate name space NLM on the server. For name space 0 (DOS), the server processes the request.

The actual format of the data is determined by the NLM on the server. Unless format for the data on the server is known, NWWriteNSInfo should not be used.

Avoid setting the first field of the name space information. This is generally the name and is intended to be read-only. To rename a file, call NWSetLongName.

Services

Name Space

NCP calls

0x2222 87 25 Set NS Information

 
 0x2222   87   25   Set NS Information 

References

NWGetDirectoryBase(3nw), NWGetNSInfo(3nw), NWNSGetMiscInfo(3nw), NWReadNSInfo(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.