Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SendInput Function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00814808
Message ID:
00814826
Vues:
35
Hi Brent,

The structure definition is incorrect. The INPUT structure contains a union. You need to pad the ki element to the length of the mi element as this is the biggest one. Changing the structure like this results in 1 as the return value:
dwUnion1 = 0
dwUnion2 = 0
cMembers = 'l:dwType, w:wVk, w:wScan, l:dwFlags, l:dwTime, pul:dwExtraInfo, l:dwUnion1, l:dwUnion2'
--
Christof
--
Christof
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform