PADMIN_LoadDialogResource

The PADMIN_LoadDialogResource Administrator extension function loads a dialog resource of the appropriate language and modifies the resource to handle the font that the Microsoft Exchange Server Administrator program is using.

Quick Info

Header file: ADMINEXT.H
Library: ADMINEXT.LIB

BOOL (* PADMIN_LoadDialogResource)(
  HINSTANCE hinst,  
  UINT iddDialog,   
  LANGID langid,    
  BYTE ** ppbDialog 
);
 

Parameters

hinst
Input parameter. Handle to the current instance of the service.
iddDialog
Input parameter. The identifier of the dialog to be loaded.
langid
Input parameter. The language identifiers (primary and secondary) as defined in WINNT.H.
ppbDialog
Output value. Points to the address of the buffer where the dialog resources are loaded.

Return Values

See Return Values.

Remarks

You must free the dialog resources with a call to PADMIN_FreeDialogResource before your program exits.

You can start the dialog returned in ppbDialog with a call to the Win32 function DialogBoxIndirectParam.

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

See Also

PADMIN_FreeDialogResource