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
Support Forum
Download Visual Studio Add-In

Terms of Use
Privacy Policy
RAWINPUTKEYBOARD (Structures)
 
.
Summary

C# Definition:

    /// <summary>
    /// Value type for raw input from a keyboard.
    /// </summary>    
    [StructLayout(LayoutKind.Sequential)]
    public struct RAWKEYBOARD
    {
        /// <summary>Scan code for key depression.</summary>
        public short MakeCode;
        /// <summary>Scan code information.</summary>
        public RawKeyboardFlags Flags;
        /// <summary>Reserved.</summary>
        public short Reserved;
        /// <summary>Virtual key code.</summary>
        public VirtualKeys VirtualKey;
        /// <summary>Corresponding window message.</summary>
        public WindowsMessages Message;
        /// <summary>Extra information.</summary>
        public int ExtraInformation;
    }

VB Definition:

    ''' <summary>
    ''' Value type for raw input from a keyboard.
    ''' </summary>    
    <System.Runtime.InteropServices.StructLayout(System.Runtime.InteropServices.LayoutKind.Sequential)> _
    Public Structure RAWKEYBOARD
    ''' <summary>Scan code for key depression.</summary>
    Public MakeCode As Short
    ''' <summary>Scan code information.</summary>
    Public Flags As RawKeyboardFlags
    ''' <summary>Reserved.</summary>
    Public Reserved As Short
    ''' <summary>Virtual key code.</summary>
    Public VirtualKey As VirtualKeys
    ''' <summary>Corresponding window message.</summary>
    Public Message As WindowsMessages
    ''' <summary>Extra information.</summary>
    Public ExtraInformation As Integer
    End Structure

User-Defined Field Types:

None.

Notes:

None.

Documentation
RAWKEYBOARD on MSDN

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