Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WIndows handle?
Message
From
17/12/2003 10:08:46
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
WIndows handle?
Miscellaneous
Thread ID:
00859890
Message ID:
00859890
Views:
52
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
Map
View

Click here to load this message in the networking platform