I am trying to use IoGetDeviceInterfaces() to get a list of device interfaces for disks in our kernel mode, non-pnp driver. The code compiles okay, but linking fails with an unresolved extern for GUID_DEVINTERFACE_DISK. Some people on the Net mentioned needing to include uuid.lib, which I’ve done, but the issue persists. I would really appreciate your help to figure out why I cannot link. I am using WinDDK 7600.16385.1.
-----Original Message-----
From: xxxxx@a-bit-of-help.com
Sent: Friday, March 25, 2011 5:47 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] error LNK2001:unresolved extern GUID_DEVINTERFACE_DISK
Hi Everyone,
I am trying to use IoGetDeviceInterfaces() to get a list of device interfaces for disks in our kernel mode, non-pnp driver. The code compiles okay, but linking fails with an unresolved extern for GUID_DEVINTERFACE_DISK. Some people on the Net mentioned needing to include uuid.lib, which I’ve done, but the issue persists. I would really appreciate your help to figure out why I cannot link. I am using WinDDK 7600.16385.1.