Wolfgang Adamec
Wolfgang Adamec

Reputation: 8534

How can winusb.h with __in annotiations can be compiled under c?

When I try to compile (on windows xp, with visual c++ 6.0) a c (NOT A C++) program which has the winusb.h header file, I get problems with c++ annotations (__in) like:

__in  HANDLE DeviceHandle,

What do I need to get this compiled in c?

Thanks alot in advance!

Upvotes: 0

Views: 139

Answers (1)

Codo
Codo

Reputation: 78915

Just ignore it (and the similar annoations):

#define __in 
#define __out
#define __in_opt

Upvotes: 2

Related Questions