在 2024-10-24 19:26, Johannes Khoshnazar-Thoma 写道:
Hi List,

I am writing a Windows kernel driver that should use wdmsec (in particular
IoCreateDeviceSecure(). I found the wdmsec.h header but I can't find some
libwdmsec.a to link against, so linking fails.

Is wdmsec supported by mingw64? How should I link it? If it is not supported,
can I make it supported somehow (willing to hack .def files, ...),

DDK headers are not actively maintained and I don't know how much usability 
there is.

Windows Driver Kit provides wdmsec as a static library. There does not seem to be wdmsec in Wine or ReactOS, either.

So far the only option seems to be that you can link the LIB from Windows Driver Kit (that's usually supported), which can be installed with Visual Studio Installer.


--
Best regards,
LIU Hao

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to