How to use IoCreateDeviceSecure in 64bit driver

  • Thread starter Thread starter zhong_ping689
  • Start date Start date
Z

zhong_ping689

Hi all,

When I use IoCreateDeviceSecure() to create the device control
interface in my driver, it works well in Winxp32. But I encuontered
link error when vuild 64bit driver as following:-
" error LNK2019: unresolved external symbol WdmlibIoCreateDeviceSecure
referenced in function XXXXCreateControlObject".

And I also add the wdmsec.lib in the link, and set the library path to
WINDDK\3790.1830\lib\wnet\AMD64.

Any advise is appeciated.

Thanks in advance!
Pamela
 
what does buildxxx.log say? KMDF uses this function on amd64 without issue.

d
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top