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 for business Windows Client for IT Pros Devices and deployment Other
{count} votes

1 answer

Sort by: Most helpful
  1. Maybecompletelyw_0 281 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.