iwub
驱动牛犊
驱动牛犊
  • 注册日期2002-10-09
  • 最后登录2009-06-22
  • 粉丝0
  • 关注0
  • 积分7分
  • 威望60点
  • 贡献值0点
  • 好评度17点
  • 原创分0分
  • 专家分0分
阅读:1748回复:1

_GUID_SDBUS_INTERFACE_STANDARD error THX!SDIO driver compile

楼主#
更多 发布于:2005-05-18 15:19
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



iwub
iwub
驱动牛犊
驱动牛犊
  • 注册日期2002-10-09
  • 最后登录2009-06-22
  • 粉丝0
  • 关注0
  • 积分7分
  • 威望60点
  • 贡献值0点
  • 好评度17点
  • 原创分0分
  • 专家分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 );
iwub
游客

返回顶部