Does GetRawInputDeviceInfo nicename exist in C Programming?

Asked By 60 points N/A Posted on -
qa-featured

Hi! I am carrying out my design work using C programming language. I have come across several functions that I can use in achieving some particular goals. For example, I am able to use GetRawInputDeviceList() to get a list of all input devices. However, I have tried to use GetRawInputDeviceInfo nicename but I get an error saying that the function does not exist. How do I go about it to get the input device info containing the names of the devices?

SHARE
Answered By 0 points N/A #134103

Does GetRawInputDeviceInfo nicename exist in C Programming?

qa-featured

 

I don't know what version of C++ you are using to design your software or to execute code and you are getting errors in your compiler. Although the syntax of the C++ code for device detection is as under 

UINT WINAPI GetRawInputDeviceList(

  _Out_opt_  PRAWINPUTDEVICELIST pRawInputDeviceList,

  _Inout_    PUINT puiNumDevices,

  _In_       UINT cbSize

);

You can use this code to enumerate raw input devices that are attached to the system.

 

Darrel R Gonzale

 

Login/Register to Answer

Related Questions