CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2016
    Posts
    2

    What is the Windows Input Device for my keyboard?

    I want to read from my Keyboard-Input-Device (Win32 Device Namespaces, \\.\). How can I decide which device is responsible for my keyboard. I can browse the available devices with the tool WinObj but I can not decide which device is the correct one.

    I found an example where the device for input can be read/open with the function C++ function CreateFile("\\\\.\\interception00", GENERIC_READ, 0, NULL, OPEN_EXISTING, 0, NULL).

    Here is a link to the example: http://www.oblita.com/interception.html

    On my PC there is no interception-device aviable. I looked with WinObj on an other PC and there were 20 interception-devices aviable. Why are these interception-devices not aviable on my PC ?

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: What is the Windows Input Device for my keyboard?

    You can read the answer(s) here.
    Victor Nijegorodov

  3. #3
    Join Date
    Mar 2016
    Posts
    2

    Re: What is the Windows Input Device for my keyboard?

    No, that question on stackoverflow is from me
    It is only an explanation why I can't read from the interception00-Device (because it is not aviable) and a solution/tool to see the input-devices under windows.
    But I need to read the input and if the interception-Device is not there I hope there is another device from which I can read. But I don't know which.

  4. #4
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: What is the Windows Input Device for my keyboard?

    Well. never did it myself... but maybe some of the Raw Input functions (like GetRawInputDeviceList function) will help you to get the list of the devices?
    Victor Nijegorodov

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured