Jump to content

WinRestartSOMDD: Difference between revisions

From EDM2
m Redirected page to OS2 API:PMI:WinRestartSOMDD
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
#REDIRECT [[OS2 API:PMI:WinRestartSOMDD]]
;WinRestartSOMDD(actionFlag) : Start the [[DSOM]] daemon.
 
=== Parameters ===
;actionFlag - [[BOOL]] - input : Flag indicating the state to put the [[DSOM]] daemon into.
 
=== Constants ===
Flag values for the action to perform:
;[[TRUE]] : Start the DSOM daemon.
;[[FALSE]] : Stop the DSOM daemon.
 
=== Returns ===
This function returns a [[APIRET]] with the values of:
* [[OS2_API:PMI:error#PMERR_OK|PMERR_OK]]
* [[OS2_API:PMI:error#PMERR_SOMDD_IS_ACTIVE|PMERR_SOMDD_IS_ACTIVE]]
* [[OS2_API:PMI:error#PMERR_SOMDD_NOT_STARTED|PMERR_SOMDD_NOT_STARTED]]
 
=== Define (C/C++) ===
INCL_WPCLASS
 
=== Calling conversion ===
[[Cdecl32]]
 
=== Example Code ===
...
BOOL fAction;
BOOL rc;
...
rc = WinRestartSOMDD (fAction);
...
 
=== Related Functions ===
*[[WinIsSOMDDReady]]
*[[WinIsWPDServerReady]]
*[[WinRestartWPDServer]]
 
=== Notes ===
The PM Shell must be up and running.
 
[[Category:Win]]

Revision as of 05:20, 4 January 2017

WinRestartSOMDD(actionFlag)
Start the DSOM daemon.

Parameters

actionFlag - BOOL - input
Flag indicating the state to put the DSOM daemon into.

Constants

Flag values for the action to perform:

TRUE
Start the DSOM daemon.
FALSE
Stop the DSOM daemon.

Returns

This function returns a APIRET with the values of:

Define (C/C++)

INCL_WPCLASS

Calling conversion

Cdecl32

Example Code

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

Related Functions

Notes

The PM Shell must be up and running.