mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
58 lines
1.9 KiB
Diff
58 lines
1.9 KiB
Diff
From a119d47ffc9e59747c435488002ee3eaecbc515f Mon Sep 17 00:00:00 2001
|
|
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
|
Date: Tue, 23 Apr 2019 13:32:56 +1000
|
|
Subject: [PATCH] gdi32: Add D3DKMTQueryStatistics stub
|
|
|
|
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47074
|
|
---
|
|
dlls/gdi32/driver.c | 10 ++++++++++
|
|
dlls/gdi32/gdi32.spec | 1 +
|
|
include/ddk/d3dkmthk.h | 1 +
|
|
3 files changed, 12 insertions(+)
|
|
|
|
diff --git a/dlls/gdi32/driver.c b/dlls/gdi32/driver.c
|
|
index 96c2f1f1299..53914a88e5f 100644
|
|
--- a/dlls/gdi32/driver.c
|
|
+++ b/dlls/gdi32/driver.c
|
|
@@ -1423,3 +1423,13 @@ NTSTATUS WINAPI D3DKMTDestroyDevice( const D3DKMT_DESTROYDEVICE *desc )
|
|
|
|
return status;
|
|
}
|
|
+
|
|
+/******************************************************************************
|
|
+ * D3DKMTQueryStatistics [GDI32.@]
|
|
+ */
|
|
+NTSTATUS WINAPI D3DKMTQueryStatistics(D3DKMT_QUERYSTATISTICS *stats)
|
|
+{
|
|
+ FIXME("(%p): stub\n", stats);
|
|
+ return STATUS_SUCCESS;
|
|
+}
|
|
+
|
|
diff --git a/dlls/gdi32/gdi32.spec b/dlls/gdi32/gdi32.spec
|
|
index 9abd82173c8..cc5d2c21a31 100644
|
|
--- a/dlls/gdi32/gdi32.spec
|
|
+++ b/dlls/gdi32/gdi32.spec
|
|
@@ -88,6 +88,7 @@
|
|
@ stdcall D3DKMTEscape(ptr)
|
|
@ stdcall D3DKMTOpenAdapterFromGdiDisplayName(ptr)
|
|
@ stdcall D3DKMTOpenAdapterFromHdc(ptr)
|
|
+@ stdcall D3DKMTQueryStatistics(ptr)
|
|
@ stdcall DPtoLP(long ptr long)
|
|
@ stdcall DeleteColorSpace(long)
|
|
@ stdcall DeleteDC(long)
|
|
diff --git a/include/ddk/d3dkmthk.h b/include/ddk/d3dkmthk.h
|
|
index 8e28c94bbf8..ea4df3a9e01 100644
|
|
--- a/include/ddk/d3dkmthk.h
|
|
+++ b/include/ddk/d3dkmthk.h
|
|
@@ -608,6 +608,7 @@ NTSTATUS WINAPI D3DKMTCreateDCFromMemory(D3DKMT_CREATEDCFROMMEMORY *desc);
|
|
NTSTATUS WINAPI D3DKMTDestroyDCFromMemory(const D3DKMT_DESTROYDCFROMMEMORY *desc);
|
|
NTSTATUS WINAPI D3DKMTDestroyDevice(const D3DKMT_DESTROYDEVICE *desc);
|
|
NTSTATUS WINAPI D3DKMTOpenAdapterFromGdiDisplayName(D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME *desc);
|
|
+NTSTATUS WINAPI D3DKMTQueryStatistics(D3DKMT_QUERYSTATISTICS *stats);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
--
|
|
2.17.1
|
|
|