NWReadPropertyValue
Reads the property value of a bindery object
#include <nwbindry.h> or #include <nwcalls.h> NWCCODE N_API NWReadPropertyValue ( NWCONN_HANDLE conn, const nstr8 N_FAR *objName, nuint16 objType, const nstr8 N_FAR *propertyName, nuint8 segmentNum, pnuint8 segmentData, pnuint8 moreSegments, pnuint8 flags);
uses calwin32 Function NWReadPropertyValue (conn : NWCONN_HANDLE; const objName : pnstr8; objType : nuint16; const propertyName : pnstr8; segmentNum : nuint8; segmentData : pnuint8; moreSegments : pnuint8; flags : pnuint8 ) : NWCCODE; stdcall;
These are common return values. See Return Values (Return Values for C).
Read access to the property is required to successfully call NWReadPropertyValue.
On the first call to NWReadPropertyValue set the segmentNum parameter to 1. For each subsequet call, increment segmentNum until the moreSegments parameter is set to 0 or until NWReadPropertyValue returns NO_SUCH_SEGMENT.
The objName, objType, and propertyName parameters must uniquely identify the property and cannot contain wildcard characters.
If the property is of type SET, the data returned in the segmentData parameter is an array of bindery object IDs. The bindery attaches no significance to the contents of a property value if the property is of type ITEM.
See Object Type.
See binscan.c for sample code.