WinRestartSOMDD: Difference between revisions
Appearance
m Redirected page to OS2 API:PMI:WinRestartSOMDD |
No edit summary |
||
Line 1: | Line 1: | ||
# | ;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
Constants
Flag values for the action to perform:
Returns
This function returns a APIRET with the values of:
Define (C/C++)
INCL_WPCLASS
Calling conversion
Example Code
... BOOL fAction; BOOL rc; ... rc = WinRestartSOMDD (fAction); ...
Related Functions
Notes
The PM Shell must be up and running.