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.
72 lines
1.5 KiB
72 lines
1.5 KiB
/*++
|
|
Copyright (c) 1985-1999, Microsoft Corporation
|
|
All rights reserved
|
|
|
|
Module Name:
|
|
|
|
winppi.h
|
|
|
|
Abstract:
|
|
|
|
Procedure declarations, constant definitions and macros for the GDI
|
|
component.
|
|
|
|
--*/
|
|
#ifndef _WINPPI_
|
|
#define _WINPPI_
|
|
|
|
typedef int (CALLBACK* EMFPLAYPROC)( HDC, INT, HANDLE );
|
|
|
|
#define EMF_PP_COLOR_OPTIMIZATION 0x01
|
|
|
|
HANDLE WINAPI GdiGetSpoolFileHandle(
|
|
LPWSTR pwszPrinterName,
|
|
LPDEVMODEW pDevmode,
|
|
LPWSTR pwszDocName);
|
|
|
|
BOOL WINAPI GdiDeleteSpoolFileHandle(
|
|
HANDLE SpoolFileHandle);
|
|
|
|
DWORD WINAPI GdiGetPageCount(
|
|
HANDLE SpoolFileHandle);
|
|
|
|
HDC WINAPI GdiGetDC(
|
|
HANDLE SpoolFileHandle);
|
|
|
|
HANDLE WINAPI GdiGetPageHandle(
|
|
HANDLE SpoolFileHandle,
|
|
DWORD Page,
|
|
LPDWORD pdwPageType);
|
|
|
|
BOOL WINAPI GdiStartDocEMF(
|
|
HANDLE SpoolFileHandle,
|
|
DOCINFOW *pDocInfo);
|
|
|
|
BOOL WINAPI GdiStartPageEMF(
|
|
HANDLE SpoolFileHandle);
|
|
|
|
BOOL WINAPI GdiPlayPageEMF(
|
|
HANDLE SpoolFileHandle,
|
|
HANDLE hemf,
|
|
RECT *prectDocument,
|
|
RECT *prectBorder,
|
|
RECT *prectClip);
|
|
|
|
BOOL WINAPI GdiEndPageEMF(
|
|
HANDLE SpoolFileHandle,
|
|
DWORD dwOptimization);
|
|
|
|
BOOL WINAPI GdiEndDocEMF(
|
|
HANDLE SpoolFileHandle);
|
|
|
|
BOOL WINAPI GdiGetDevmodeForPage(
|
|
HANDLE SpoolFileHandle,
|
|
DWORD dwPageNumber,
|
|
PDEVMODEW *pCurrDM,
|
|
PDEVMODEW *pLastDM);
|
|
|
|
BOOL WINAPI GdiResetDCEMF(
|
|
HANDLE SpoolFileHandle,
|
|
PDEVMODEW pCurrDM);
|
|
|
|
#endif /* _WINPPI_ */
|