WinRestartWPDServer

WinRestartWPDServer

 * WinRestartWPDServer(actionFlag) : Restart the Workplace Shell DSOM Server.

Parameters

 * actionFlag - BOOL - input : Flag indicating the state to put the Workplace Shell DSOM Server into.

Constants
Flag for the action to do:
 * TRUE : Start the Workplace Shell DSOM Server.
 * FALSE : Stop the Workplace Shell DSOM Server.

Returns
This function returns a APIRET with the values of:
 * PMERR_OK
 * PMERR_WPDSERVER_IS_ACTIVE
 * PMERR_WPDSERVER_NOT_STARTED

Define (C/C++)
INCL_WPCLASS

Calling Convention
Cdecl32

Example Code
... BOOL fAction; BOOL rc; ... rc = WinRestartWPDServer (fAction); ...

Related Functions

 * WinIsSOMDDReady
 * WinIsWPDServerReady
 * WinRestartSOMDD