NWAddObjectToSet
Adds a member to a bindery property of type SET
#include <nwbindry.h>
or
#include <nwcalls.h>
NWCCODE N_API NWAddObjectToSet (
NWCONN_HANDLE conn,
const nstr8 N_FAR *objName,
nuint16 objType,
const nstr8 N_FAR *propertyName,
const nstr8 N_FAR *memberName,
nuint16 memberType);
uses calwin32
Function NWAddObjectToSet
(conn : NWCONN_HANDLE;
const objName : pnstr8;
objType : nuint16;
const propertyName : pnstr8;
const memberName : pnstr8;
memberType : nuint16
) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
A client must have write access to the SET property to call NWAddObjectToSet.
The objName, objType, propertyName, memberName, and memberType parameters must uniquely identify the property and cannot contain wildcard characters.
NWAddObjectToSet searches consecutive segments of the property value for an open slot where it can record the unique bindery object identification of the new member and records the bindery object identification in the first available slot. If NWAddObjectToSet finds no available slot, a new segment is created, the new unique bindery object identification of the member is written into the first slot of the new segment, and the rest of the segment is filled with zeros.