#include <nwnet.h> or #include <nwdsbuft.h>NWDSCCODE N_API NWDSGetClassItem (NWDSContextHandle context, pBuf_T buf, pnstr8 itemName);
buf points to a Buf_T filled in by NWDSReadClassDef.
itemName points to the name of either an attribute or a class. The item is a member of one of the five class-definition-item lists:
The user must allocate space for the class item name pointed to by itemName. The size of the allocated memory is ((MAX_SCHEMA_NAME_CHARS)+1)*sizeof(character size) where character size is 1 for single-byte characters, and 2 for double-byte characters (Unicode is double-byte). One character is used for NULL termination.
Before retrieving the class items from a class-definition-item list, determine the number of items in the list by calling NWDSGetClassItemCount. Then retrieve the items associated with the list by repeatedly calling NWDSGetClassItem once for each item in the list. Then determine the number of items in the next list by calling NWDSGetClassItemCount, and retrieve the values for the list by calling NWDSGetClassItem, and so on until you have retrieved all of the information from all off the lists.
For the complete steps for reading class-definition information, see NWDSReadClassDef(3nw)
Directory