PADMIN_GetObjectData

The PADMIN_GetObjectData Administrator extension function obtains the directory object's extension data.

Quick Info

Header file: ADMINEXT.H
Library: ADMINEXT.LIB

RC PADMIN_GetObjectData(
  HWNDPARENT hwndParent,  
  LPWSTR wszBlobName,     
  BYTE * pb,              
  UINT cb                 
);
 

Parameters

hwndParent
Input parameter. Handle of the current property sheet window.
wszBlobName
Input parameter. A Unicode string containing the name of the directory object.
pb
Output parameter. Points to the buffer that receives the directory object's extension data.
cb
Input parameter. The size, in bytes, of pb. You get this value with a call to the PADMIN_GetObjectDataSize function.

Return Values

See Return Values.

Remarks

Use PADMIN_GetObjectData in the Administrator extension DLL to obtain a directory object's extension data. The Administrator extension DLL must have already obtained the size of the directory object's extension data area using PADMIN_GetObjectDataSize, and allocated enough memory to receive the directory object's extension data.

For more information on this function, see Using Administrator Extension Functions (Called by Extension DLL).

See Also

ADMIN_Initialize, PADMIN_GetObjectDataSize, PADMIN_SetObjectData