126 lines
1.6 KiB
C
126 lines
1.6 KiB
C
/*++
|
|
|
|
Copyright (c) 1993 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
dosspool.h
|
|
|
|
Abstract:
|
|
|
|
Prototypes and manifests to support dosspool.C.
|
|
|
|
Author:
|
|
|
|
congpay 22-Jan-1993
|
|
|
|
Environment:
|
|
|
|
Notes:
|
|
|
|
Revision History:
|
|
|
|
22-Jan-1993 congpay Created
|
|
|
|
--*/
|
|
#include <winspool.h>
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_ClosePrinter)(
|
|
HANDLE hPrinter
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_EnumJobsA)(
|
|
HANDLE hPrinter,
|
|
DWORD FirstJob,
|
|
DWORD NoJobs,
|
|
DWORD Level,
|
|
LPBYTE pJob,
|
|
DWORD cbBuf,
|
|
LPDWORD pcbNeeded,
|
|
LPDWORD pcReturned
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_EnumPrintersA)(
|
|
DWORD Flags,
|
|
LPSTR Name,
|
|
DWORD Level,
|
|
LPBYTE pPrinterEnum,
|
|
DWORD cbBuf,
|
|
LPDWORD pcbNeeded,
|
|
LPDWORD pcReturned
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_GetJobA)(
|
|
HANDLE hPrinter,
|
|
DWORD JobId,
|
|
DWORD Level,
|
|
LPBYTE pJob,
|
|
DWORD cbBuf,
|
|
LPDWORD pcbNeeded
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_GetPrinterA)(
|
|
HANDLE hPrinter,
|
|
DWORD Level,
|
|
LPBYTE pPrinter,
|
|
DWORD cbBuf,
|
|
LPDWORD pcbNeeded
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_OpenPrinterA)(
|
|
LPSTR pPrinterName,
|
|
LPHANDLE phPrinter,
|
|
LPPRINTER_DEFAULTSA pDefault
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_OpenPrinterW)(
|
|
LPWSTR pPrinterName,
|
|
LPHANDLE phPrinter,
|
|
LPPRINTER_DEFAULTSW pDefault
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_SetJobA)(
|
|
HANDLE hPrinter,
|
|
DWORD JobId,
|
|
DWORD Level,
|
|
LPBYTE pJob,
|
|
DWORD Command
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_SetPrinterW)(
|
|
HANDLE hPrinter,
|
|
DWORD Level,
|
|
LPBYTE pPrinter,
|
|
DWORD Command
|
|
);
|
|
|
|
typedef
|
|
BOOL
|
|
(*PF_GetPrinterDriverA)(
|
|
HANDLE hPrinter,
|
|
LPSTR pEnvironment,
|
|
DWORD Level,
|
|
LPBYTE pDriver,
|
|
DWORD cbBuf,
|
|
LPDWORD pcbNeeded
|
|
);
|
|
|