source: Include/api_winspool.sbp@ 56

Last change on this file since 56 was 1, checked in by (none), 18 years ago
File size: 1.5 KB
Line 
1'api_winspool.sbp
2
3
4#ifndef _INC_WINSPOOL
5#define _INC_WINSPOOL
6
7
8Type PRINTER_INFO_5
9 pPrinterName As LPSTR
10 pPortName As LPSTR
11 Attributes As DWord
12 DeviceNotSelectedTimeout As DWord
13 TransmissionRetryTimeout As DWord
14End Type
15
16
17Declare 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 BOOL
18
19Const PRINTER_ENUM_DEFAULT = &H00000001
20Const PRINTER_ENUM_LOCAL = &H00000002
21Const PRINTER_ENUM_CONNECTIONS = &H00000004
22Const PRINTER_ENUM_FAVORITE = &H00000004
23Const PRINTER_ENUM_NAME = &H00000008
24Const PRINTER_ENUM_REMOTE = &H00000010
25Const PRINTER_ENUM_SHARED = &H00000020
26Const PRINTER_ENUM_NETWORK = &H00000040
27
28Const PRINTER_ENUM_EXPAND = &H00004000
29Const PRINTER_ENUM_CONTAINER = &H00008000
30
31Const PRINTER_ENUM_ICONMASK = &H00ff0000
32Const PRINTER_ENUM_ICON1 = &H00010000
33Const PRINTER_ENUM_ICON2 = &H00020000
34Const PRINTER_ENUM_ICON3 = &H00040000
35Const PRINTER_ENUM_ICON4 = &H00080000
36Const PRINTER_ENUM_ICON5 = &H00100000
37Const PRINTER_ENUM_ICON6 = &H00200000
38Const PRINTER_ENUM_ICON7 = &H00400000
39Const PRINTER_ENUM_ICON8 = &H00800000
40Const PRINTER_ENUM_HIDE = &H01000000
41
42Const SPOOL_FILE_PERSISTENT = &H00000001
43Const SPOOL_FILE_TEMPORARY = &H00000002
44
45
46#endif '_INC_WINSPOOL
Note: See TracBrowser for help on using the repository browser.