[Bug 20012] Implement HalGetBusDataByOffset for the PCIConfiguration BusDataType
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Sep 17 10:48:11 CDT 2009
http://bugs.winehq.org/show_bug.cgi?id=20012
--- Comment #4 from red-ray <ray at pobox.co.uk> 2009-09-17 10:48:10 ---
The following code works well to decide is the bus exists.
stprintf( nam, TEXT( "/sys/bus/pci/devices/0000:%02x:*" ), bus );
if( ( dhl = FindFirstFile( nam , wfd ) ) != INVALID_HANDLE_VALUE )
{
FindClose( dhl );
return 2;
}
return 0;
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list