Returns the number of objects whose information is stored in a result buffer.
#include <nwnet.h> or #include <nwdsbuft.h> N_EXTERN_LIBRARY (NWDSCCODE) NWDSGetObjectCount ( NWDSContextHandle context, pBuf_T buf, pnuint32 objectCount);
uses netwin32 Function NWDSGetObjectCount (context : NWDSContextHandle; buf : pBuf_T; objectCount : pnuint32 ) : NWDSCCODE;
(IN) Specifies the NDS context for the request.
(IN) Points to the result buffer being read.
(OUT) Points to the number of objects whose information is stored in the result buffer.
0x0000 0000 |
SUCCESSFUL |
nonzero value |
Nonzero values indicate errors. See |
NWDSGetObjectCount must be the first function used to read a result buffer containing information about objects, such as result buffers filled in by NWDSList, NWDSRead, and NWDSSearch. See these functions for more information.
NWDSGetAttrName, NWDSGetAttrVal, NWDSGetObjectName, NWDSList, NWDSRead, NWDSSearch