Thanks for looking at it Olaf!
>Hi Tracy,
>
>HDEVINFO is defined as PVOID, PVOID is defined as void* PVOID. That makes it a pointer to void. I found it out searching HDEVINFO here:
http://www.reactos.org/generated/doxygen/search.php?query=HDEVINFO>
>I'd say try it with LONG instead of INTEGER then.
>
>
>DECLARE LONG SetupDiGetClassDevs IN setupapi.dll ;
> STRING @cGuid, ;
> STRING Enumerator, ;
> INTEGER hwndParent, ;
> INTEGER nFlags
>
>...
>
>DECLARE INTEGER SetupDiEnumDeviceInterfaces IN setupapi;
> LONG DeviceInfoSet,;
> STRING @ DeviceInfoData,;
> STRING @ ByRefterfaceClassGuid,;
> INTEGER MemberIndex,;
> STRING @ DeviceInterfaceData
>
>
>Help on Declare-DLL says it's both 32 bit, but LONG is 32bit long integer, I think they meant LONG is unsigned. That may help, didn't check it out though.
>
>Bye, Olaf.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"