API function return status codes

Enumerations

enum  DS_Status {
  DS_E_NOERROR = 0, DS_E_NOSPACE = 1, DS_E_BADPARAM = 2, DS_E_NOTFOUND = 3,
  DS_E_NOMEMORY = 4, DS_E_NOTIMPLEMENTED = 5, DS_E_BADATTRTYPE = 6, DS_E_BADATTRVALUE = 7,
  DS_E_BADATTRSYNTAX = 8, DS_E_BADFILTER = 9, DS_E_BADDN = 10, DS_E_BADENTRY = 11,
  DS_E_DSOPFAILED = 12, DS_E_INTERNAL = 13, DS_E_NOTBOUND = 14, DS_E_BADADDR = 15,
  DS_E_SIGNEDOPFAILED = 16, DS_E_OPFAILED = 17, DS_E_ABORTED = 18, DS_E_CONNECTIONLOST = 19
}
 

Detailed Description

Enumeration Type Documentation

◆ DS_Status

enum DS_Status

Return codes from many DSAPI functions.

Enumerator
DS_E_NOERROR 

No error.

DS_E_NOSPACE 

Supplied output buffer not big enough.

DS_E_BADPARAM 

Bad parameter passed to function.

DS_E_NOTFOUND 

Not found.

DS_E_NOMEMORY 

A memory allocation failed.

DS_E_NOTIMPLEMENTED 

The requested function is not yet supported.

DS_E_BADATTRTYPE 

A supplied attribute type was not recognised.

DS_E_BADATTRVALUE 

A badly formed attribute value was supplied.

DS_E_BADATTRSYNTAX 

Bad, unknown or inappropriate attribute syntax.

DS_E_BADFILTER 

Bad search filter supplied.

DS_E_BADDN 

Bad DN supplied.

DS_E_BADENTRY 

Incomplete or badly formed entry encountered.

DS_E_DSOPFAILED 

Directory operation failed.

DS_E_INTERNAL 

An unknown internal error occurred.

DS_E_NOTBOUND 

Attempted to invoke a directory operation when not bound or after a previous connection has been lost.

DS_E_BADADDR 

Bad address.

DS_E_SIGNEDOPFAILED 

A signed operation completed, but its signature failed to verify.

DS_E_OPFAILED 

The requested local operation failed.

DS_E_ABORTED 

The operation was aborted by a callback hook.

DS_E_CONNECTIONLOST 

The connection to the server was lost when perfoming this operation.

Since
DSAPI_VERSION 2029

Definition at line 66 of file dsapi_const.h.