|
Last change
on this file since 8803 was 4594, checked in by sandervl, 25 years ago |
|
Partially implemented EnumPrintersA + call Open32 for DeviceCapabilitiesA/W
|
|
File size:
974 bytes
|
| Line | |
|---|
| 1 | /* $Id: oslibspl.h,v 1.1 2000-11-15 10:54:24 sandervl Exp $ */
|
|---|
| 2 | #ifndef __OSLIBSPL_H__
|
|---|
| 3 | #define __OSLIBSPL_H__
|
|---|
| 4 |
|
|---|
| 5 | typedef struct {
|
|---|
| 6 | ULONG flType;
|
|---|
| 7 | LPSTR pszComputerName;
|
|---|
| 8 | LPSTR pszPrintDestinationName;
|
|---|
| 9 | LPSTR pszDescription;
|
|---|
| 10 | LPSTR pszLocalName;
|
|---|
| 11 | } OSLIB_PRINTERINFO, *POSLIB_PRINTERINFO;
|
|---|
| 12 |
|
|---|
| 13 | /*** Flags for flType in PRINTERINFO and SplEnumPrinter *************/
|
|---|
| 14 | #define OSLIB_SPL_PR_QUEUE 0x00000001 /* include queues */
|
|---|
| 15 | #define OSLIB_SPL_PR_DIRECT_DEVICE 0x00000002 /* unattached devices */
|
|---|
| 16 | #define OSLIB_SPL_PR_QUEUED_DEVICE 0x00000004 /* queued devices */
|
|---|
| 17 | #define OSLIB_SPL_PR_LOCAL_ONLY 0x00000100 /* exclude remote queues */
|
|---|
| 18 |
|
|---|
| 19 | #define OSLIB_SPL_PR_ALL (OSLIB_SPL_PR_QUEUE|OSLIB_SPL_PR_DIRECT_DEVICE|OSLIB_SPL_PR_QUEUED_DEVICE)
|
|---|
| 20 |
|
|---|
| 21 | BOOL OSLibSplEnumPrinters(DWORD flType, OSLIB_PRINTERINFO *pBuf, DWORD cbSize,
|
|---|
| 22 | DWORD *pcReturned, DWORD *pcTotal, DWORD *pcbNeeded);
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.