> DNU home > code projects page 1
Searching for Attribute Values - Source Code Details 5
DeveloperNet University Article

The response buffer should contain information about objects matching the profile expressed in the search filter in reqBuf. The NWDSGetObjectCount call is used to obtain the number of found objects in the response buffer during this iteration.

The prototype for NWDSGetObjectCount is shown below:

 (NWDSCCODE) NWDSGetObjectCount (NWDSContextHandle context, Buf_T * respBuf, nuint32 *iterObjCount);

context Specifies the NDS context for the request.

respBuf Points to the buffer containing the results of the search.

iterObjCount Points to the search filter.

Note: Non-zero return values from NWDSGetObjectCount indicate an error. To understand handling client side NDS errors, refer to handling errors.

If no objects were found, the iteration is closed and the function ends. Otherwise, a loop is entered to process the information for each object.



PREVIOUSblankTop of PageblankNEXT