Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WIndows handle?
Message
De
17/12/2003 10:08:46
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
WIndows handle?
Divers
Thread ID:
00859890
Message ID:
00859890
Vues:
51
In the documentation of a 3rd party DLL file that talks to an I/O card, I get the following function.
How do I get a window handle? and how do I do a declare dll for this format (with TRUE/FALSE parameter)?
Here's the documentation reproduced.
Begin:-

DRV_SelectDevice
status = DRV_SelectDevice(hCaller, GetModule, DeviceNum, Description)
Purpose


Parameters
hCaller - Specify the windows handle calling this function
GetModule - Boolean type
DeviceNum - Device Number
Description - Description of the device


Return:

1. If successful, then return 0

2. If unsuccessful, then return 1

End
I've difficulty in hCaller and GetModule.
For hCaller, what is this windows handle?
For GetModule, this is a boolean type parameter. How do I declare boolean in Declare dll function

Any help is appreciated.
Yau
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform