OS2 API:WinRestartWPDServer

From EDM2
Jump to: navigation, search

Contents

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:

Module

Define (C/C++)

INCL_WPCLASS

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

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

Related Functions

WinIsSOMDDReady WinIsWPDServerReady WinRestartSOMDD

Notes

The PM Shell must be up and running.

The DSOM daemon must be up and running, before the Workplace Shell DSOM Server can be started.

OS Version Introduced

Back to OS/2 API

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox