Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use VFP5 to load dynamic VxD?
Message
From
27/11/1998 23:26:30
 
 
To
27/11/1998 22:43:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00162084
Message ID:
00162097
Views:
23
>Can VFP5 load the VxD just like the Visual C++ 5 use DeviceIOControl funtion to load the VxD.

You can access the DeviceIoControl() API call from VFP. It would prototype as follows:
DECLARE SHORT DeviceIoControl IN WIN32API ;
   INTEGER hDeviceHandle, ;
   INTEGER dwIOControlCode, ;
   STRING lpInBuffer, ;
   INTEGER dwInBufferSize, ;
   STRING lpOutBuffer, ;
   INTEGER dwOutBufferSize, ;
   INTEGER @ lpdwBytesReturned, ;
   STRING lpOverlapped
You'll need the MSDN documentation and detailed knowledge about the type of device you're trying to manipulate to make use of the API call.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform