This function returns the state of the DSOM daemon started only by the Workplace Shell process using a call to WinRestartSOMDD. This does not include the status of the DSOM daemon if started by any other process.

Note: This function requires that the Presentation Manager Shell is up and running.