Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement