Sets the specific name space information, using UTF-8 strings.
#include <nwnamspc.h>
or
#include <nwcalls.h>
NWCCODE N_API NWWriteNSInfoExt (
NWCONN_HANDLE conn,
const NW_IDX N_FAR *idxStruct,
const NW_NS_INFO N_FAR *NSInfo,
const nstr8 N_FAR *data);
(IN) Specifies the NetWare server connection handle.
(IN) Points to NW_IDX returned from NWGetDirectoryBaseExt.
(IN) Points to NW_NS_INFO returned by NWGetNSInfo.
(IN) Points to a 1024-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, NWWriteNSInfoEXT 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, NWWriteNSInfoEXT 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 NWNSRenameExt.