Platform SDK: Exchange Server

PADMIN_SetIcon

The PADMIN_SetIcon Administrator extension function retrieves a standard icon to use in an extension data property sheet.

Quick Info

Header file: ADMINEXT.H
Library: ADMINEXT.LIB

VOID PADMIN_SetIcon(
  HWND hwnd,  
  INT id      
);
 

Parameters

hwnd
Input parameter. Handle to the current property sheet window.
id
Input parameter. Resource identifier of the icon.

Return Values

None.

Remarks

Use PADMIN_SetIcon to get the standard icon for the class of object that this extension DLL is being called for and place it on the property sheet where the control identified by id is placed. Typically, the icon is in the top left corner of the property sheet, but can be placed anywhere by modifying the RC file.

You should call PADMIN_SetIcon during the processing of the WM_Init_Dialog message.

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

See Also

ADMIN_Initialize, PADMIN_SetNameList, PADMIN_SetObjectData, PADMIN_SetTitle