Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
1.5 KiB

typedef BOOL (FAR WINAPI * FPOPENPRINTERW)(LPWSTR,LPHANDLE,LPPRINTER_DEFAULTS);
typedef BOOL (FAR WINAPI * FPGETPRINTERW)(HANDLE,DWORD,LPBYTE,DWORD,LPDWORD);
typedef BOOL (FAR WINAPI * FPGETPRINTERDRIVERW)(HANDLE,LPWSTR,DWORD,LPBYTE,DWORD,LPDWORD);
typedef BOOL (FAR WINAPI * FPGETPRINTERDATAW)(HANDLE,LPWSTR,LPDWORD,LPBYTE,DWORD,LPDWORD);
typedef BOOL (FAR WINAPI * FPSETPRINTERDATAW)(HANDLE,LPWSTR,DWORD,LPBYTE,DWORD);
typedef BOOL (FAR WINAPI * FPGETFORMW)(HANDLE,LPWSTR,DWORD,LPBYTE,DWORD,LPDWORD);
typedef BOOL (FAR WINAPI * FPENUMFORMSW)(HANDLE,DWORD,LPBYTE,DWORD,LPDWORD,LPDWORD);
typedef BOOL (FAR WINAPI * FPCLOSEPRINTER)(HANDLE);
typedef DWORD (FAR WINAPI * FPSTARTDOCPRINTERW)(HANDLE,DWORD,LPBYTE);
typedef DWORD (FAR WINAPI * FPENDDOCPRINTER)(HANDLE);
typedef BOOL (FAR WINAPI * FPSTARTPAGEPRINTER)(HANDLE);
typedef BOOL (FAR WINAPI * FPENDPAGEPRINTER)(HANDLE);
typedef BOOL (FAR WINAPI * FPWRITEPRINTER)(HANDLE,LPVOID,DWORD,LPDWORD);
typedef BOOL (FAR WINAPI * FPABORTPRINTER)(HANDLE);
FPOPENPRINTERW fpOpenPrinterW;
FPGETPRINTERW fpGetPrinterW;
FPGETPRINTERDRIVERW fpGetPrinterDriverW;
FPGETPRINTERDATAW fpGetPrinterDataW;
FPSETPRINTERDATAW fpSetPrinterDataW;
FPGETFORMW fpGetFormW;
FPENUMFORMSW fpEnumFormsW;
FPCLOSEPRINTER fpClosePrinter;
FPSTARTDOCPRINTERW fpStartDocPrinterW;
FPSTARTPAGEPRINTER fpStartPagePrinter;
FPWRITEPRINTER fpWritePrinter;
FPABORTPRINTER fpAbortPrinter;
FPENDPAGEPRINTER fpEndPagePrinter;
FPENDDOCPRINTER fpEndDocPrinter;