/// <summary>
/// Value type for a raw input header.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
public struct RAWINPUTHEADER
{
/// <summary>Type of device the input is coming from.</summary>
public RawInputType Type;
/// <summary>Size of the packet of data.</summary>
public int Size;
/// <summary>Handle to the device sending the data.</summary>
public IntPtr Device;
/// <summary>wParam from the window message.</summary>
public IntPtr wParam;
}
''' <summary>
''' Value type for a raw input header.
''' </summary>
<StructLayout(LayoutKind.Sequential)> _
Public Structure RawInputHeader
''' <summary>Type of device the input is coming from.</summary>
Public Type As RawInputType
''' <summary>Size of the packet of data.</summary>
Public Size As Integer
''' <summary>Handle to the device sending the data.</summary>
Public Device As IntPtr
''' <summary>wParam from the window message.</summary>
Public wParam As IntPtr
End Structure
None.
None.