In wdm.h, i am getting an error: error C2061: syntax error: identifier '_ANONYMOUS_STRUCT'

Suresh Kumar G 1 Reputation point
2021-01-21T13:14:57.52+00:00

Included wdm.h in the code,
while compiling the source code which is having wdm.h file, i am getting an error: error C2061: syntax error: identifier '_ANONYMOUS_STRUCT'

How to resolve this issue?

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,613 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Maybecompletelyw_0 276 Reputation points
    2021-01-25T11:07:22.507+00:00

    Personally never came near PCI Drivers.
    Official Microsoft driver samples are at
    https://github.com/microsoft/Windows-driver-samples
    You can search the repository for keywords.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.