summaryrefslogtreecommitdiffstats
path: root/private/mvdm/wow32/winspldl.h
blob: dac8926ce5eccc7bc0c75ffb32c47bdfb444785c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

extern BOOL    fWinspoolLoaded;


extern DWORD (WINAPI *lpfnDEVICECAPABILITIES)(LPSTR lpDriverName, LPSTR lpDeviceName,
    WORD nIndex, LPSTR lpOutput, LPDEVMODE lpDevMode);

extern BOOL (WINAPI *lpfnDEVICEMODE)(HWND hWnd, LPSTR lpDriverName, LPSTR lpDeviceName, LPSTR lpOutput);

extern DWORD (WINAPI *lpfnEXTDEVICEMODE)(HWND hWnd,LPSTR lpDriverName,
    LPDEVMODE lpDevModeOutput, LPSTR lpDeviceName, LPSTR lpPort,
    LPDEVMODE lpDevModeInput, LPSTR lpProfile, DWORD flMode);

extern BOOL (WINAPI *lpfnOpenPrinter)(LPSTR pPrinterName, LPHANDLE phPrinter,
                               VOID *pDefault);

extern DWORD (WINAPI *lpfnStartDocPrinter)(HANDLE hPrinter, DWORD Level,
                                    LPBYTE  pDocInfo);

extern BOOL (WINAPI *lpfnStartPagePrinter)(HANDLE hPrinter);
extern BOOL (WINAPI *lpfnEndPagePrinter)(HANDLE hPrinter);
extern BOOL (WINAPI *lpfnEndDocPrinter)(HANDLE hPrinter);
extern BOOL (WINAPI *lpfnClosePrinter)(HANDLE hPrinter);
extern BOOL (WINAPI *lpfnWritePrinter)(HANDLE hPrinter, LPVOID pBuf, DWORD cbBuf,
                                LPDWORD pcWritten);
extern BOOL (WINAPI *lpfnDeletePrinter)(HANDLE hPrinter);

BOOL LoadWinspoolAndGetProcAddresses();