|
Linking with DDK linker...
Sample1Device.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall KDriverManagedQueueEx::Cancel(class KIrp)" (?Cancel@KDriverManagedQueueEx@@UAEXVKIrp@@@Z)
Sample1Device.obj : error LNK2019: unresolved external symbol "public: __thiscall KDriverManagedQueueEx::KDriverManagedQueueEx(unsigned char,unsigned char,void (__stdcall*)(struct _DEVICE_OBJECT *))" (??0KDriverManagedQueueEx@@QAE@EEP6GXPAU_DEVICE_O
BJECT@@@Z@Z) referenced in function "public: __thiscall Sample1Device_DriverManagedQueue::Sample1Device_DriverManagedQueue(void)" (??0Sample1Device_DriverManagedQueue@@QAE@XZ)
Sample1Device.obj : error LNK2019: unresolved external symbol "public: void __thiscall KDriverManagedQueueEx::PnpCleanUp(class KPnpDevice *,struct _FILE_OBJECT *)" (?PnpCleanUp@KDriverManagedQueueEx@@QAEXPAVKPnpDevice@@PAU_FILE_OBJECT@@@Z) reference
d in function "public: virtual long __thiscall Sample1Device::CleanUp(class KIrp)" (?CleanUp@Sample1Device@@UAEJVKIrp@@@Z)
Sample1Device.obj : error LNK2019: unresolved external symbol "public: long __thiscall KDriverManagedQueueEx::QueueIrp(class KIrp)" (?QueueIrp@KDriverManagedQueueEx@@QAEJVKIrp@@@Z) referenced in function "public: virtual long __thiscall Sample1Devic
e::Read(class KIrp)" (?Read@Sample1Device@@UAEJVKIrp@@@Z)
Sample1Device.obj : error LNK2019: unresolved external symbol "public: void __thiscall KDriverManagedQueueEx::NextIrp(class KIrp,char)" (?NextIrp@KDriverManagedQueueEx@@QAEXVKIrp@@D@Z) referenced in function "public: void __thiscall KDriverManagedQu
eueEx::PnpNextIrp(class KIrp,char)" (?PnpNextIrp@KDriverManagedQueueEx@@QAEXVKIrp@@D@Z)
.\objchk\i386\sample1.sys : fatal error LNK1120: 5 unresolved externals
执行 link.exe 时出错.
sample1.sys - 1 error(s), 0 warning(s)
注:我的开发环境,WindowsXP,DriverStudio3.2,WinXP DDK
|
|