Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetPrinterDriver() problem
Message
 
 
To
24/08/2004 18:49:32
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00936149
Message ID:
00936169
Views:
32
This message has been marked as the solution to the initial question of the thread.
Here's proper declaration. Notice that parameters that have to be passed by referemce should be declared as such. It's also a good idea to keep parameter names in DECLARE. It makes code easier to read.
DECLARE INTEGER GetPrinterDriver IN winspool.drv ;
	INTEGER hPrinter, ;
	STRING pEnvironment, ;
	INTEGER Level, ;
	STRING @pDriverInfo, ;
	INTEGER cbBuf, ;
	INTEGER @pcbNeeded    
>Sorry about that
>DECLARE INTEGER GetPrinterDriver IN winspool.drv ;
>	INTEGER, ;
>	STRING, ;
>	INTEGER, ;
>	STRING, ;
>	INTEGER, ;
>	INTEGER
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform