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.

66 {
67 DS_E_NOERROR = 0,
70 DS_E_NOSPACE = 1,
73 DS_E_BADPARAM = 2,
76 DS_E_NOTFOUND = 3,
79 DS_E_NOMEMORY = 4,
97 DS_E_BADDN = 10,
100 DS_E_BADENTRY = 11,
103 DS_E_DSOPFAILED = 12,
106 DS_E_INTERNAL = 13,
109 DS_E_NOTBOUND = 14,
113 DS_E_BADADDR = 15,
119 DS_E_OPFAILED = 17,
122 DS_E_ABORTED = 18,
129} DS_Status;
DS_Status
Definition dsapi_const.h:66
@ DS_E_NOTBOUND
@ DS_E_BADATTRSYNTAX
Definition dsapi_const.h:91
@ DS_E_BADPARAM
Definition dsapi_const.h:73
@ DS_E_DSOPFAILED
@ DS_E_OPFAILED
@ DS_E_CONNECTIONLOST
@ DS_E_NOSPACE
Definition dsapi_const.h:70
@ DS_E_ABORTED
@ DS_E_NOTFOUND
Definition dsapi_const.h:76
@ DS_E_BADADDR
@ DS_E_BADATTRVALUE
Definition dsapi_const.h:88
@ DS_E_NOMEMORY
Definition dsapi_const.h:79
@ DS_E_BADFILTER
Definition dsapi_const.h:94
@ DS_E_BADDN
Definition dsapi_const.h:97
@ DS_E_SIGNEDOPFAILED
@ DS_E_NOERROR
Definition dsapi_const.h:67
@ DS_E_BADATTRTYPE
Definition dsapi_const.h:85
@ DS_E_NOTIMPLEMENTED
Definition dsapi_const.h:82
@ DS_E_BADENTRY
@ DS_E_INTERNAL

All rights reserved © 2002 - 2024 Isode Ltd.