Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pointers in VFP?
Message
De
05/10/2006 09:38:54
 
 
À
05/10/2006 06:41:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01158687
Message ID:
01159668
Vues:
44
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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform