RAWINPUTHEADER (Structures)
Last changed: -68.144.53.254

.
Summary
Structure containing header information for raw input data.

C# Definition:

    /// <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;
    }

VB Definition:

    ''' <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

User-Defined Field Types:

None.

Notes:

None.

Documentation