PADMIN_AddService

The PADMIN_AddService Administrator extension function adds a service to the list of services monitored by the server monitor program.

Quick Info

Header file: ADMINEXT.H
Library: ADMINEXT.LIB

BOOL (* PADMIN_AddService)(
  HWND hwnd,             
  LPWSTR wszServiceName  
);
 

Parameters

hwnd
Input parameter. Handle to the current service dialog window.
wszServiceName
Input parameter. The service that the user wants to add.

Return Values

See Return Values.

Remarks

You define the address of the PADMIN_AddService function in the ADMIN_Initialize function.

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

See Also

ADMIN_Initialize, PADMIN_RemoveService