Post by EvaWhat I want to do is to get the Device ID and Vender ID of the Graphic
adapter.
Is your driver a video miniport driver? Or is this information required
for some other purpose? You cannot use the PnP equivalents unless your
driver is on the stack for the pci device - which would make you a video
driver of some sort.
If for some reason you need to know the DID/VID of the video adapters
(there can be more than one, right?) you can get this information in
user mode by querying the pnp configuration using the various apis
defined in the SDK (SetupDiXXXXX).
In general (and there are exceptions) the need for HalGetBusData is a
design misunderstanding.
Post by EvaI am new to using DDK.
But now I have to port a driver from x86 platofrm to x64 plarform.
I have tried to replace HalGetBusData with HalGetBusDataByOffset.
It could be compiled successfully, but there is something wrong about the
Device ID.
I know the HalGetBusDataByOffset is also obsolete.
I am still trying to replace it with PnP Manager's IRP_MN_QUERY_INTERFACE
and
IRP_MN_READ_CONFIG.
Post by Mark RoddyPost by EvaDear All
I am porting a driver from 32 bit platform to 64 bit platform.
HalGetBusData is obsolete on Windows 2000 or later.
Are there anyone who know how to replace HalGetBusData on 64 bit platform?
Thank you.
Regards,
Eva
What are you trying to do that requires halgetbusdata?
--
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com
--
=====================
Mark Roddy DDK MVP
Windows 2003/XP/2000 Consulting
Hollis Technology Solutions 603-321-1032
www.hollistech.com