Jump to content

WinRestartSOMDD: Difference between revisions

From EDM2
m Redirected page to OS2 API:PMI:WinRestartSOMDD
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
#REDIRECT [[OS2 API:PMI:WinRestartSOMDD]]
Start the [[DSOM]] daemon.
 
=== Syntax ===
WinRestartSOMDD(actionFlag)
 
=== 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:
* [[PM Error Codes#PMERR_OK|PMERR_OK]]
* [[PM Error Codes#PMERR_SOMDD_IS_ACTIVE|PMERR_SOMDD_IS_ACTIVE]]
* [[PM Error Codes#PMERR_SOMDD_NOT_STARTED|PMERR_SOMDD_NOT_STARTED]]
 
=== Define (C/C++) ===
INCL_WPCLASS
 
=== Calling Convention ===
[[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]]

Latest revision as of 02:14, 1 December 2019

Start the DSOM daemon.

Syntax

WinRestartSOMDD(actionFlag)

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 Convention

Cdecl32

Example Code

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

Related Functions

Notes

The PM Shell must be up and running.