error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned long __cdecl HalGetBusData(enum _BUS_DATA_TYPE,unsigned long,unsigned long,void *,unsigned long)" (__imp_?HalGetBusData@@YAKW4_BUS_DATA_TYPE@@KKPAXK@Z)

error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned long __cdecl HalGetBusData(enum _BUS_DATA_TYPE,unsigned long,unsigned long,void *,unsigned long)" (__imp_?HalGetBusData@@YAKW4_BUS_DATA_TYPE@@KKPAXK@Z)

Post by Don Bur » Tue, 27 Jan 2004 22:49:30


HalGetBusData and most of the items in ntddk.h cannot be called from a user
space console application.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply



"__declspec(dllimport) unsigned long __cdecl HalGetBusData(enum
_BUS_DATA_TYPE,unsigned long,unsigned long,void *,unsigned long)"
(__imp_?HalGetBusData@@YAKW4_BUS_DATA_TYPE@@KKPAXK@Z)
 
 
 


error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned long __cdecl HalGetBusData(enum _BUS_DATA_TYPE,unsigned long,unsigned long,void *,unsigned long)" (__imp_?HalGetBusData@@YAKW4_BUS_DATA_TYPE@@KKPAXK@Z)

Post by Don Bur » Tue, 27 Jan 2004 23:23:10

Wrtie a device driver, and by the way HalGetBusData will not work on Windows
2000, XP or 2003.


--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply



application?
 
 
 

error LNK2001: unresolved external symbol "__declspec(dllimport) unsigned long __cdecl HalGetBusData(enum _BUS_DATA_TYPE,unsigned long,unsigned long,void *,unsigned long)" (__imp_?HalGetBusData@@YAKW4_BUS_DATA_TYPE@@KKPAXK@Z)

Post by Maxim S. S » Wed, 28 Jan 2004 01:18:39


By WMI only.

If WMI does not provide this - then sorry, your task cannot be solved. MS
considered this information as being not necessary to anybody but the driver
writers.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
XXXX@XXXXX.COM
http://www.yqcomputer.com/