msi/tests: Get rid of workarounds for old Windows versions.
[wine.git] / include / winppi.h
blob0cb04593c08bf8d8e4be3c7e86dc73c42bc4dfa2
1 /*
2 * Copyright 2023 Piotr Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _WINPPI_
20 #define _WINPPI_
22 HANDLE WINAPI GdiGetSpoolFileHandle(LPWSTR pwszPrinterName,
23 LPDEVMODEW pDevmode, LPWSTR pwszDocName);
24 BOOL WINAPI GdiDeleteSpoolFileHandle(HANDLE SpoolFileHandle);
25 DWORD WINAPI GdiGetPageCount(HANDLE SpoolFileHandle);
26 HDC WINAPI GdiGetDC(HANDLE SpoolFileHandle);
27 HANDLE WINAPI GdiGetPageHandle(HANDLE SpoolFileHandle,
28 DWORD Page, LPDWORD pdwPageType);
29 BOOL WINAPI GdiStartDocEMF(HANDLE SpoolFileHandle, DOCINFOW *pDocInfo);
30 BOOL WINAPI GdiStartPageEMF(HANDLE SpoolFileHandle);
31 BOOL WINAPI GdiPlayPageEMF(HANDLE SpoolFileHandle, HANDLE hemf,
32 RECT *prectDocument, RECT *prectBorder, RECT *prectClip);
33 BOOL WINAPI GdiEndPageEMF(HANDLE SpoolFileHandle, DWORD dwOptimization);
34 BOOL WINAPI GdiEndDocEMF(HANDLE SpoolFileHandle);
35 BOOL WINAPI GdiGetDevmodeForPage(HANDLE SpoolFileHandle, DWORD dwPageNumber,
36 PDEVMODEW *pCurrDM, PDEVMODEW *pLastDM);
37 BOOL WINAPI GdiResetDCEMF(HANDLE SpoolFileHandle, PDEVMODEW pCurrDM);
39 #endif /* _WINPPI_ */