Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GetPrinterDriver() problem
Message
 
 
À
24/08/2004 18:49:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00936149
Message ID:
00936169
Vues:
31
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform