On 22 Dec 2002 10:36:01 UT, [EMAIL PROTECTED] wrote:
>HWDeviceID = FindDevice(0x1000, -1, FIND_STRAIGHT, 0) would get the 1st device
>NextHWDeviceID = FindDevice(0x1000, -1, FIND_STRAIGHT, HWDeviceID) would get the 2nd.
>
>What do you think?
To me, the second approach is also more appealing. What does the 0x1000
stand for ? DeviceID ?
I use an appoach where I pass in structure containing DeviceID, VendorID,
SubDeviceID, SubSystemID, Revision and DeviceClass together with a flag
field. The flag specifies, which component to search for. This allows to use
multiple (AND combined) search criteria at the same time in a single call.
--
Ruediger "Rudi" Ihle
-----------
To unsubscribe yourself from this list, send the following message
to [EMAIL PROTECTED]
unsubscribe acpi-os2
end