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
}

Enumeration Type Documentation

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.
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.

Definition at line 181 of file dsapi_const.h.

00181              {
00182     DS_E_NOERROR = 0,
00185     DS_E_NOSPACE = 1,
00188     DS_E_BADPARAM = 2,
00191     DS_E_NOTFOUND = 3,
00194     DS_E_NOMEMORY = 4,
00197     DS_E_NOTIMPLEMENTED = 5,
00200     DS_E_BADATTRTYPE = 6,
00203     DS_E_BADATTRVALUE = 7,
00206     DS_E_BADATTRSYNTAX = 8,
00209     DS_E_BADFILTER = 9,
00212     DS_E_BADDN = 10,
00215     DS_E_BADENTRY = 11,
00218     DS_E_DSOPFAILED = 12,
00221     DS_E_INTERNAL = 13,
00224     DS_E_NOTBOUND = 14,
00227     DS_E_BADADDR = 15,
00230     DS_E_SIGNEDOPFAILED = 16,
00233     DS_E_OPFAILED = 17,
00236     DS_E_ABORTED = 18
00239 } DS_Status;

Copyright © 2008 Isode privacy   feedback Subscribe to our rss newsfeed