NWDSGetClassDefCount(3nw)
NWDSGetClassDefCount --
returns the number of object-class definitions stored in a result buffer
Synopsis
#include <nwnet.h>
or
#include <nwdsbuft.h>
NWDSCCODE N_API NWDSGetClassDefCount
(NWDSContextHandle context,
pBuf_T buf,
pnuint32 classDefCount);
Description
The parameters are as follows:
- context
-
(IN) Specifies the Directory context for the request.
- buf
-
(IN) Points to the result buffer being read.
- classDefCount
-
(OUT) Points to the number of object-class definitions stored in the buffer.
Return values
- 0x0000
-
SUCCESSFUL
- Negative Value
-
Negative values indicate errors. For errors returned by Directory Services,
see ``Directory Services OS Errors'' (-001 to -255), ``Directory Services
Client Library Errors'' (-301 to -399), or ``Directory Services Agent in the
Server Errors'' (-601 to -699).
Notices
NWDSGetClassDefCount is used to determine the number of object-class definitions stored in a result buffer filled by NWDSReadClassDef.
NWDSGetClassDefCount must be the first function called when reading a result buffer containing a group of object-class definitions.
The complete steps for retrieving class information from a result buffer are listed in the reference for NWDSReadClassDef.
Services
Directory
NCP calls
None
References
NWDSGetClassDef(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.