RawInputDeviceFlags Enumeration

Flags combinations for of Flags member.

Definition

Namespace: DevCase.Win32.Enums
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[FlagsAttribute]
public enum RawInputDeviceFlags

Remarks

Members

Remove 1 If set, this removes the top level collection from the inclusion list.

This tells the operating system to stop reading from a device which matches the top level collection.

Exclude 16 If set, this specifies the top level collections to exclude when reading a complete usage page.

This flag only affects a TLC whose usage page is already specified with PageOnly.

PageOnly 32 If set, this specifies all devices whose top level collection is from the specified UsagePage. Note that Usage must be zero.

To exclude a particular top level collection, use Exclude.

NoLegacy 48 If set, the application-defined keyboard device hotkeys are not handled.

However, the system hotkeys; for example, ALT+TAB and CTRL+ALT+DEL, are still handled.

By default, all keyboard hotkeys are handled.

NoHotkeys can be specified even if NoLegacy is not specified and HwndTarget is Zero.

InputSink 256 If set, this enables the caller to receive the input even when the caller is not in the foreground.

Note that HwndTarget must be specified.

CaptureMouse 512 If set, the mouse button click does not activate the other window.
NoHotkeys 512 If set, the application-defined keyboard device hotkeys are not handled.

However, the system hotkeys; for example, ALT+TAB and CTRL+ALT+DEL, are still handled.

By default, all keyboard hotkeys are handled.

NoHotkeys can be specified even if NoLegacy is not specified and HwndTarget is Zero.

AppKeys 1,024 If set, the application command keys are handled.

AppKeys can be specified only if NoLegacy is specified for a keyboard device.

ExInputSink 4,096 If set, this enables the caller to receive input in the background only if the foreground application does not process it.

In other words, if the foreground application is not registered for raw input, then the background application that is registered will receive the input.

DevNotify 8,192 If set, this enables the caller to receive WM_InputDeviceChange notifications for device arrival and device removal.

See Also