118 pldc->
Flags &= ~LDC_INIT_PAGE;
252 hModWinSpoolDrv =
NULL;
499 pldc->
Flags &= ~LDC_KILL_DOCUMENT;
523 if (lpwstrRet != 0) diW.
lpszOutput = lpwstrRet;
606 docW.cbSize = lpdi->cbSize;
607 if (lpdi->lpszDocName)
613 if (lpdi->lpszOutput)
619 if (lpdi->lpszDatatype)
626 docW.lpszDocName = szDocName;
627 docW.lpszOutput = szOutput;
628 docW.lpszDatatype = szDatatype;
629 docW.fwType = lpdi->fwType;
733 pldc->
Flags &= ~LDC_SAPCALLBACK;
837 DWORD dwOptimization)
#define ERROR_NOT_ENOUGH_MEMORY
static WCHAR unknown[MAX_STRING_RESOURCE_LEN]
#define ERROR_CALL_NOT_IMPLEMENTED
#define ERROR_INVALID_PARAMETER
#define GetProcAddress(x, y)
#define HeapFree(x, y, z)
#define ERROR_INVALID_HANDLE
#define MultiByteToWideChar
DWORD WINAPI GetTickCount(VOID)
BOOL(WINAPI * OPENPRINTERW)(LPWSTR, PHANDLE, LPPRINTER_DEFAULTSW)
BOOL(WINAPI * QUERYCOLORPROFILE)(HANDLE, PDEVMODEW, ULONG, VOID *, ULONG, FLONG)
BOOL(WINAPI * GETPRINTERDRIVERW)(HANDLE, LPWSTR, DWORD, LPBYTE, DWORD, LPDWORD)
VOID GdiSAPCallback(PLDC pldc)
RTL_CRITICAL_SECTION semLocal
DWORD(WINAPI * STARTDOCPRINTERW)(HANDLE, DWORD, PBYTE)
BOOL(WINAPI * RESETPRINTERW)(HANDLE, LPPRINTER_DEFAULTSW)
BOOL(WINAPI * SPLREADPRINTER)(HANDLE, LPBYTE *, DWORD)
LONG(WINAPI * DOCUMENTPROPERTIESW)(HWND, HANDLE, LPWSTR, PDEVMODEW, PDEVMODEW, DWORD)
BOOL(WINAPI * ENDPAGEPRINTER)(HANDLE)
HANDLE(WINAPI * GETSPOOLFILEHANDLE)(HANDLE)
INT(WINAPI * DOCUMENTEVENT)(HANDLE, HDC, INT, ULONG, PVOID, ULONG, PVOID)
BOOL(WINAPI * SPLDRIVERUNLOADCOMPLETE)(LPWSTR)
BOOL(WINAPI * SEEKPRINTER)(HANDLE, LARGE_INTEGER, PLARGE_INTEGER, DWORD, BOOL)
DWORD(WINAPI * QUERYREMOTEFONTS)(DWORD, DWORD, DWORD)
INT(CALLBACK * EMFPLAYPROC)(HDC hdc, INT iFunction, HANDLE hPageQuery)
LPWSTR(WINAPI * STARTDOCDLGW)(HANDLE, DOCINFOW *)
BOOL(WINAPI * READPRINTER)(HANDLE, PVOID, DWORD, PDWORD)
BOOL(WINAPI * ABORTPRINTER)(HANDLE)
BOOL(WINAPI * STARTPAGEPRINTER)(HANDLE)
BOOL(WINAPI * GETPRINTERW)(HANDLE, DWORD, LPBYTE, DWORD, LPDWORD)
DWORD(WINAPI * QUERYSPOOLMODE)(HANDLE, DWORD, DWORD)
BOOL(WINAPI * CLOSESPOOLFILEHANDLE)(HANDLE, HANDLE)
BOOL(WINAPI * ISVALIDDEVMODEW)(PDEVMODEW, size_t)
BOOL(WINAPI * ENDDOCPRINTER)(HANDLE)
HANDLE(WINAPI * COMMITSPOOLDATA)(HANDLE, HANDLE, DWORD)
PLDC FASTCALL GdiGetLDC(HDC hDC)
BOOL(WINAPI * CLOSEPRINTER)(HANDLE)
#define GDI_HANDLE_GET_TYPE(h)
@ GDILoObjType_LO_METADC16_TYPE
@ GDILoObjType_LO_DC_TYPE
HLOCAL NTAPI LocalFree(HLOCAL hMem)
static const struct update_accum a1
static const struct update_accum a2
static const struct update_accum a3
static const struct update_accum a4
static const WCHAR docW[]
NTSYSAPI NTSTATUS NTAPI RtlEnterCriticalSection(_In_ PRTL_CRITICAL_SECTION CriticalSection)
NTSYSAPI NTSTATUS NTAPI RtlLeaveCriticalSection(_In_ PRTL_CRITICAL_SECTION CriticalSection)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiEndPage(_In_ HDC hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiStartPage(_In_ HDC hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiEndDoc(_In_ HDC hdc)
__kernel_entry W32KAPI BOOL APIENTRY NtGdiAbortDoc(_In_ HDC hdc)
__kernel_entry W32KAPI INT APIENTRY NtGdiStartDoc(_In_ HDC hdc, _In_ DOCINFOW *pdi, _Out_ BOOL *pbBanding, _In_ INT iJob)
#define LDC_INIT_DOCUMENT
#define LDC_KILL_DOCUMENT
_In_ PVOID _Out_opt_ BOOLEAN _Out_opt_ PPFN_NUMBER Page
struct _W32CLIENTINFO * PW32CLIENTINFO
OPENPRINTERW fpOpenPrinterW
BOOL WINAPI GdiResetDCEMF(HANDLE SpoolFileHandle, PDEVMODEW pCurrDM)
static ABORTPRINTER fpAbortPrinter
static ENDPAGEPRINTER fpEndPagePrinter
static CLOSESPOOLFILEHANDLE fpCloseSpoolFileHandle
static ENDDOCPRINTER fpEndDocPrinter
static QUERYSPOOLMODE fpQuerySpoolMode
BOOL WINAPI GdiPlayPageEMF(HANDLE SpoolFileHandle, HANDLE hemf, RECT *prectDocument, RECT *prectBorder, RECT *prectClip)
BOOL WINAPI GdiEndPageEMF(HANDLE SpoolFileHandle, DWORD dwOptimization)
int WINAPI StartDocW(HDC hdc, CONST DOCINFOW *lpdi)
BOOL WINAPI GdiEndDocEMF(HANDLE SpoolFileHandle)
static RESETPRINTERW fpResetPrinterW
BOOL WINAPI GdiPlayEMF(LPWSTR pwszPrinterName, LPDEVMODEW pDevmode, LPWSTR pwszDocName, EMFPLAYPROC pfnEMFPlayFn, HANDLE hPageQuery)
int WINAPI StartPage(HDC hdc)
static int FASTCALL IntEndPage(HDC hdc, BOOL Form)
int WINAPI EndPage(HDC hdc)
static COMMITSPOOLDATA fpCommitSpoolData
BOOL WINAPI GdiPlayPrivatePageEMF(HANDLE SpoolFileHandle, DWORD unknown, RECT *prectDocument)
int WINAPI StartFormPage(HDC hdc)
BOOL WINAPI GdiStartPageEMF(HANDLE SpoolFileHandle)
static SPLREADPRINTER fpSplReadPrinter
BOOL WINAPI GdiPrinterThunk(IN HUMPD humpd, DWORD *status, DWORD unuse)
CLOSEPRINTER fpClosePrinter
static QUERYCOLORPROFILE fpQueryColorProfile
BOOL FASTCALL EndPagePrinterEx(PVOID pvUMPDev, HANDLE hPrinter)
static DOCUMENTEVENT fpDocumentEvent
BOOL FASTCALL StartPagePrinterEx(PVOID pvUMPDev, HANDLE hPrinter)
int WINAPI EndFormPage(HDC hdc)
BOOL WINAPI GdiDeleteSpoolFileHandle(HANDLE SpoolFileHandle)
static ISVALIDDEVMODEW fpIsValidDevmodeW
int WINAPI SetAbortProc(HDC hdc, ABORTPROC lpAbortProc)
static GETSPOOLFILEHANDLE fpGetSpoolFileHandle
HANDLE WINAPI GdiGetPageHandle(HANDLE SpoolFileHandle, DWORD Page, LPDWORD pdwPageType)
DWORD WINAPI gdiPlaySpoolStream(DWORD a0, DWORD a1, DWORD a2, DWORD a3, DWORD a4, DWORD a5)
BOOL WINAPI GdiGetDevmodeForPage(HANDLE SpoolFileHandle, DWORD dwPageNumber, PDEVMODEW *pCurrDM, PDEVMODEW *pLastDM)
static DOCUMENTPROPERTIESW fpDocumentPropertiesW
int WINAPI AbortDoc(HDC hdc)
static SEEKPRINTER fpSeekPrinter
DWORD FASTCALL StartDocPrinterWEx(PVOID pvUMPDev, HANDLE hPrinter, DWORD Level, LPBYTE pDocInfo)
static SPLDRIVERUNLOADCOMPLETE fpSplDriverUnloadComplete
BOOL WINAPI GdiStartDocEMF(HANDLE SpoolFileHandle, DOCINFOW *pDocInfo)
int WINAPI EndDoc(HDC hdc)
int WINAPI StartDocA(HDC hdc, CONST DOCINFOA *lpdi)
static QUERYREMOTEFONTS fpQueryRemoteFonts
static STARTPAGEPRINTER fpStartPagePrinter
BOOL WINAPI GdiArtificialDecrementDriver(LPWSTR pDriverName, BOOL unknown)
static GETPRINTERDRIVERW fpGetPrinterDriverW
BOOL FASTCALL AbortPrinterEx(PVOID pvUMPDev, HANDLE hPrinter)
HDC WINAPI GdiGetDC(HANDLE SpoolFileHandle)
BOOL FASTCALL EndDocPrinterEx(PVOID pvUMPDev, HANDLE hPrinter)
static STARTDOCDLGW fpStartDocDlgW
int FASTCALL DocumentEventEx(PVOID pvUMPDev, HANDLE hPrinter, HDC hdc, int iEsc, ULONG cbIn, PVOID pvIn, ULONG cbOut, PVOID pvOut)
DWORD WINAPI GdiGetPageCount(HANDLE SpoolFileHandle)
static READPRINTER fpReadPrinter
static STARTDOCPRINTERW fpStartDocPrinterW
BOOL FASTCALL LoadTheSpoolerDrv(VOID)
static GETPRINTERW fpGetPrinterW
HANDLE WINAPI GdiGetSpoolFileHandle(LPWSTR pwszPrinterName, LPDEVMODEW pDevmode, LPWSTR pwszDocName)
#define DOCUMENTEVENT_STARTDOCPOST
#define DOCUMENTEVENT_STARTPAGE
#define DOCUMENTEVENT_STARTDOC
#define DOCUMENTEVENT_ENDPAGE
#define DOCUMENTEVENT_ENDDOC
#define DOCUMENTEVENT_ABORTDOC
#define DOCUMENTEVENT_ENDDOCPOST
#define RtlCopyMemory(Destination, Source, Length)
BOOL(CALLBACK * ABORTPROC)(HDC, int)
struct _DOCINFOW DOCINFOW
_IRQL_requires_same_ typedef _In_ ULONG _In_ UCHAR Level