Changeset 141 for Include/api_winspool.sbp
- Timestamp:
- Mar 8, 2007, 10:42:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/api_winspool.sbp
r1 r141 5 5 #define _INC_WINSPOOL 6 6 7 #ifdef UNICODE 8 Const _FuncName_EnumPrinters = "EnumPrintersW" 9 #else 10 Const _FuncName_EnumPrinters = "EnumPrintersA" 11 #endif 7 12 8 Type PRINTER_INFO_5 13 Type PRINTER_INFO_5W 14 pPrinterName As LPWSTR 15 pPortName As LPWSTR 16 Attributes As DWord 17 DeviceNotSelectedTimeout As DWord 18 TransmissionRetryTimeout As DWord 19 End Type 20 21 Type PRINTER_INFO_5A 9 22 pPrinterName As LPSTR 10 23 pPortName As LPSTR … … 14 27 End Type 15 28 29 #ifdef UNICODE 30 TypeDef PRINTER_INFO_5 = PRINTER_INFO_5W 31 #else 32 TypeDef PRINTER_INFO_5 = PRINTER_INFO_5A 33 #endif 16 34 17 Declare Function EnumPrinters Lib "winspool.drv" Alias "EnumPrintersA" (Flags As DWord, Name As LPSTR, Level As DWord, pPrinterEnum As *Byte, cbBuf As DWord, ByRef rer_cbNeeded As DWord, ByRef ref_cReturned As DWord) As BOOL35 Declare Function EnumPrinters Lib "winspool.drv" Alias _FuncName_EnumPrinters (Flags As DWord, Name As LPTSTR, Level As DWord, pPrinterEnum As *Byte, cbBuf As DWord, ByRef cbNeeded As DWord, ByRef cReturned As DWord) As BOOL 18 36 19 37 Const PRINTER_ENUM_DEFAULT = &H00000001
Note:
See TracChangeset
for help on using the changeset viewer.