Jump to content

WinRestartSOMDD: Difference between revisions

From EDM2
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
;WinRestartSOMDD(actionFlag) : Start the [[DSOM]] daemon.
Start the [[DSOM]] daemon.
 
=== Syntax ===
WinRestartSOMDD(actionFlag)


=== Parameters ===
=== Parameters ===
Line 11: Line 14:
=== Returns ===
=== Returns ===
This function returns a [[APIRET]] with the values of:
This function returns a [[APIRET]] with the values of:
* [[OS2_API:PMI:error#PMERR_OK|PMERR_OK]]
* [[PM Error Codes#PMERR_OK|PMERR_OK]]
* [[OS2_API:PMI:error#PMERR_SOMDD_IS_ACTIVE|PMERR_SOMDD_IS_ACTIVE]]
* [[PM Error Codes#PMERR_SOMDD_IS_ACTIVE|PMERR_SOMDD_IS_ACTIVE]]
* [[OS2_API:PMI:error#PMERR_SOMDD_NOT_STARTED|PMERR_SOMDD_NOT_STARTED]]
* [[PM Error Codes#PMERR_SOMDD_NOT_STARTED|PMERR_SOMDD_NOT_STARTED]]


=== Define (C/C++) ===
=== Define (C/C++) ===

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.