阅读:1746回复:1
_GUID_SDBUS_INTERFACE_STANDARD error THX!SDIO driver compile
I have compiled my project with sdbus.lib,when I call
Status = SdBusOpenInterface( Adapter->LowerDeviceObject,//UnderlyingPDO &SdBusIfStd, sizeof(SDBUS_INTERFACE_STANDARD), SDBUS_INTERFACE_VERSION); it reports below.I do not know anymore. If anyone knows it,please inform me. THX.:) Linking Executable - objchk\\i386\\sdioxp.sys for i386 sdbus.lib(sdbus.obj) : error LNK2001: unresolved external symbol _GUID_SDBUS_INTERFACE_STANDARD objchk\\i386\\sdioxp.sys() : error LNK1120: 1 unresolved externals BUILD: Done 30 files compiled - 4666 LPS 1 executable built - 2 Errors Tool returned code: 0 |
|
|
沙发#
发布于:2005-05-24 10:35
#include <initguid.h> //Amon, !!!!!This file should be include
//and the below DEFINE_GUID should be include again for MS advice //linker will report _GUID_SDBUS_INTERFACE_STANDARD error // // SDBUS_INTERFACE_STANDARD // // Interface Data structure used in the SdBusOpenInterface call. This // structure defines the communication path between the SD function // driver and the bus driver. // DEFINE_GUID( GUID_SDBUS_INTERFACE_STANDARD, 0x6bb24d81L, 0xe924, 0x4825, 0xaf, 0x49, 0x3a, 0xcd, 0x33, 0xc1, 0xd8, 0x20 ); |
|
|