wineps: Return a POINT for DC_PAPERSIZE.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52132
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Konstantin Romanov 2021-12-06 09:58:10 +00:00 committed by Alexandre Julliard
parent 5764980fea
commit 62e0f51e6e
1 changed files with 11 additions and 7 deletions

View File

@ -25,15 +25,19 @@
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include <string.h>
#include <stdarg.h>
#include "wine/debug.h"
#include "psdrv.h"
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wingdi.h"
#include "winuser.h"
#include "prsht.h"
#include "ddk/winddiui.h"
#include "winuser.h"
#include "wine/wingdi16.h"
#include "prsht.h"
#include "wine/debug.h"
#include "psdrv.h"
#include "psdlg.h"
WINE_DEFAULT_DEBUG_CHANNEL(psdrv);
@ -561,7 +565,7 @@ DWORD WINAPI DrvDeviceCapabilities(HANDLE printer, WCHAR *device_name, WORD capa
case DC_PAPERSIZE:
{
PAGESIZE *ps;
POINT16 *pt = output;
POINT *pt = output;
int i = 0;
LIST_FOR_EACH_ENTRY(ps, &pi->ppd->PageSizes, PAGESIZE, entry)