IMMDeviceGetState Method

Retrieves the current device state.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[PreserveSigAttribute]
HResult GetState(
	ref EDeviceState refState
)

Parameters

refState  EDeviceState
Pointer to a EDeviceState variable into which the method writes the current state of the device.

Return Value

HResult
If the method succeeds, it returns S_OK. If it fails, it returns an HResult value.

See Also