NWWritePropertyValue
Writes the property data of a bindery object on the NetWare server associated with the given connection handle
#include <nwbindry.h>
or
#include <nwcalls.h>
NWCCODE N_API NWWritePropertyValue (
NWCONN_HANDLE conn,
const nstr8 N_FAR *objName,
nuint16 objType,
const nstr8 N_FAR *propertyName,
nuint8 segmentNum,
const nuint8 N_FAR *segmentData,
nuint8 moreSegments);
uses calwin32
Function NWWritePropertyValue
(conn : NWCONN_HANDLE;
const objName : pnstr8;
objType : nuint16;
const propertyName : pnstr8;
segmentNum : nuint8;
const segmentData : pnuint8;
moreSegments : nuint8
) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
A client must have Write access to the property to call NWWritePropertyValue.
When NWWritePropertyValue returns, any remaining segments are truncated and the extra segments discarded.
Create property value segments sequentially. Before segment N can be created, all segments from 1 to N–1 must be created. However, once all segments of a property value have been established, segments can be written at random. If the segment data is longer than 128 bytes, it is truncated and the 128th byte is NULL.
NOTE:Keep property values to a single segment (128 bytes) to improve bindery efficiency.
The objName, objType, and propertyName parameters must uniquely identify the property and cannot contain wildcard characters.
See Object Type.