General information
Category:
Coding, syntax & commands
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only