Information générale
Catégorie:
Fonctions Windows API
Titre:
How to get info from a pointer ?
DECLARE INTEGER GetPrinter IN winspool.drv ;
INTEGER hPrinter, INTEGER Lvl, STRING @pPrinter,;
INTEGER cbBuf, INTEGER @pcbNeeded
Here is the structure of PRINTER_INFO_2 of GETPRINTER function
pServerName As Long
pPrinterName As Long
pShareName As Long
pPortName As Long
pDriverName As Long
pComment As Long
pLocation As Long
pDevMode As Long 'DEVMODE
pSepFile As Long
pPrintProcessor As Long
pDatatype As Long
pParameters As Long
pSecurityDescriptor As Long 'SECURITY_DESCRIPTOR
Attributes As Long
Priority As Long
DefaultPriority As Long
StartTime As Long
UntilTime As Long
Status As Long
cJobs As Long
AveragePPM As Long
How can i get the pDriverName value ?
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement