UtilPowerSetMonitorState(IntPtr, MonitorState) Method

Sets the state of the monitor.

Definition

Namespace: DevCase.Core.IO.Devices.Power
Assembly: 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
)

Parameters

hWnd  IntPtr
An IntPtr handle to the window who sill request the monitor state.
state  MonitorState
The target state of the monitor.

Exceptions

Win32Exception

See Also