UtilPowerSetMonitorState(IntPtr, MonitorState) Method
Sets the state of the monitor.
Namespace: DevCase.Core.IO.Devices.PowerAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void SetMonitorState(
IntPtr hWnd,
MonitorState state
)
public:
static void SetMonitorState(
IntPtr hWnd,
MonitorState state
)
static member SetMonitorState :
hWnd : IntPtr *
state : MonitorState -> unit
No code example is currently available or this language may not be supported.
Parameters
- hWnd IntPtr
-
An IntPtr handle to the window who sill request the monitor state.
- state MonitorState
-
The target state of the monitor.