How to get PCMCIA slot number?

Hi all,

I am writing a wdm driver for a PCMCIA card.
I want to get the pcmcia slot number in which my device is pluged in.
Under Windows 2000 this works fine with the following call:

status = IoGetDeviceProperty (physical_device_object,
DevicePropertyUINumber,
sizeof (ui_number),
&ui_number,
&result_length);

but it always fails und Windows 98.

Is there any other way to get the slot number?

Thanks in advance

Martin Gossner


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com