PADMIN_GetObjectDataSize

The PADMIN_GetObjectDataSize Administrator extension function determines how much memory to allocate for the directory object's extension data.

Quick Info

Header file: ADMINEXT.H
Library: ADMINEXT.LIB

RC PADMIN_GetObjectDataSize(
  HWNDPARENT hwndParent,  
  LPWSTR wszBlobName,     
  UINT * pcb              
);
 

Parameters

hwndParent
Input parameter. Handle to the current property sheet window.
wszBlobName
Input parameter. A Unicode string containing the name of the directory object.
pcb
Output parameter. The size, in bytes, of the extension data.

Return Values

See Return Values.

Remarks

Use PADMIN_GetObjectDataSize in the Administrator extension DLL to obtain the size of the directory object's extension data area. The Administrator extension DLL must allocate enough memory to hold the extension data before obtaining the extension data with a call to the PADMIN_GetObjectData function.

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

See Also

ADMIN_Initialize, PADMIN_GetObjectData, PADMIN_SetObjectData