Open Wallby opened 2 years ago
FYI @tedhudek @drewbatgit
Hi @Wallby - can you specify the topic you're reporting a bug for? It sounds like you're issue is with the code snippet in https://docs.microsoft.com/nl-nl/windows/win32/inputdev/using-raw-input, but I'd like to confirm.
@Karl-Bridge-Microsoft
The snippets I pasted are an exact copy from https://docs.microsoft.com/nl-nl/windows/win32/inputdev/using-raw-input#performing-a-standard-read-of-raw-input
Describe the bug At the GetRawInputData page there is.. .. RID_HEADER to "get the header information" .. RID_INPUT to "get the raw data" However at https://docs.microsoft.com/nl-nl/windows/win32/inputdev/using-raw-input only RID_INPUT is set yet the header variable is then read from, which according to the GetRawInputData page should not have been "gotten".
I.e.
raw->header.dwType == RIM_TYPEKEYBOARD
reads from the header variable.