Sets the specific name space information
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWWriteNSInfo (
NWCONN_HANDLE conn,
const NW_IDX N_FAR *idxStruct,
const NW_NS_INFO N_FAR *NSInfo,
const nstr8 N_FAR *data);
uses calwin32
Function NWWriteNSInfo
(conn : NWCONN_HANDLE;
Var idxStruct : NW_IDX;
Var NSInfo : NW_NS_INFO;
data : pnuint8
) : NWCCODE;
(IN) Specifies the NetWare server connection handle.
(IN) Points to NW_IDX returned by NWNSGetMiscInfo.
(IN) Points to NW_NS_INFO returned by NWGetNSInfo.
(IN) Points to a 512-byte buffer containing the data to be written to the name space.
These are common return values; see Return Values (Return Values for C) for more information.
For name spaces other than DOS, NWWriteNSInfo is passed to the appropriate name space NLM on the server. For the DOS name space, 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.
NWGetDirectoryBase, NWGetNSInfo, NWNSGetMiscInfo, NWReadNSInfo