Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

RAWINPUTDEVICE (Structures)
 
.
Summary
Structure containing device information for raw input.

C# Definition:

/// <summary>Value type for raw input devices.</summary>
[StructLayout(LayoutKind.Sequential)]
public struct RAWINPUTDEVICE
{
    /// <summary>Top level collection Usage page for the raw input device.</summary>
    public HIDUsagePage UsagePage;
    /// <summary>Top level collection Usage for the raw input device. </summary>
    public HIDUsage Usage;
    /// <summary>Mode flag that specifies how to interpret the information provided by UsagePage and Usage.</summary>
    public RawInputDeviceFlags Flags;
    /// <summary>Handle to the target device. If NULL, it follows the keyboard focus.</summary>
    public IntPtr WindowHandle;
}

VB.NET Definition:

''' <summary>Value type for raw input devices.</summary>
<StructLayout(LayoutKind.Sequential)> _
Public Structure RAWINPUTDEVICE
    ''' <summary>Top level collection Usage page for the raw input device.</summary>
    Public UsagePage As HIDUsagePage
    ''' <summary>Top level collection Usage for the raw input device. </summary>
    Public Usage As HIDUsage
    ''' <summary>Mode flag that specifies how to interpret the information provided by UsagePage and Usage.</summary>
    Public Flags As RawInputDeviceFlags
    ''' <summary>Handle to the target device. If NULL, it follows the keyboard focus.</summary>
    Public WindowHandle As IntPtr
End Structure

User-Defined Types:

HIDUsagePage, HIDUsage, RawInputDeviceFlags

HIDUsagePage

HIDUsage

Notes:

None.

Documentation

Please edit this page!

Do you have...

  • helpful tips?
  • corrections to the existing content?
  • alternate definitions?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing any supporting types needed.

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions