Platform SDK: Exchange Server |
The PADMIN_SetObjectData Administrator extension function saves extension data to the directory object's extension data attribute.
Header file: | ADMINEXT.H |
Library: | ADMINEXT.LIB |
RC (* PADMIN_SetObjectData)( HWND hwnd, BYTE * pb, UINT cb, BOOL fNew );
The return value depends on the value of fNew and whether pB is unique, where unique means that no other extension data for the object has the same name.
fNew Value (Is Object New?) |
Is pB Object Unique |
Return Code |
---|---|---|
TRUE | Unique | RC_SUCCESS |
FALSE | Unique | RC_NOTFOUND |
TRUE | Not Unique | RC_CONTENTION |
FALSE | Not Unique | RC_SUCCESS |
Use PADMIN_SetObjectData to save extension data in response to a call to CommitDataProc.
For more information on this function, see Using Administrator Extension Functions (Called by Extension DLL).
ADMIN_Initialize, PADMIN_GetObjectData, PADMIN_GetObjectDataSize