C just keeps on amazing me... I'm translating SetupApi.h and found some items I'm
uncertain how to translate.
The IN and OUT, are they of any use, or purely informational?
(I presume OPTIONAL is what it says to be, although the C docs says that a parm can only be
optional if its the last one, or the rest is also optional...)
Is there any difference between those 2 defines:
Maybe there already is a translation of the SetupApi header somewhere? Would save me a C++ headache 
------------------
Regards,
Peter
[This message has been edited by Peter Lameijn (edited December 11, 2003).]
uncertain how to translate.
Code:
SetupDiGetSelectedDriverW( IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL OUT PSP_DRVINFO_DATA_W DriverInfoData );
(I presume OPTIONAL is what it says to be, although the C docs says that a parm can only be
optional if its the last one, or the rest is also optional...)
Is there any difference between those 2 defines:
Code:
#define SPDRP_HARDWAREID (0x00000001) // HardwareID (R/W) #define DIREG_DEV 0x00000001 // Open/Create/Delete device key

------------------
Regards,
Peter
[This message has been edited by Peter Lameijn (edited December 11, 2003).]
Comment