gdi32: Add D3DKMTSetQueuedLimit() stub.

Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Chip Davis 2020-01-29 01:34:01 -06:00 committed by Alexandre Julliard
parent ea032bb7f8
commit 012d996b83
5 changed files with 37 additions and 5 deletions

View File

@ -80,7 +80,7 @@
@ stub D3DKMTSetDisplayPrivateDriverFormat
@ stub D3DKMTSetGammaRamp
@ stub D3DKMTSetProcessSchedulingPriorityClass
@ stub D3DKMTSetQueuedLimit
@ stdcall D3DKMTSetQueuedLimit(ptr) gdi32.D3DKMTSetQueuedLimit
@ stub D3DKMTSetStereoEnabled
@ stdcall D3DKMTSetVidPnSourceOwner(ptr) gdi32.D3DKMTSetVidPnSourceOwner
@ stub D3DKMTShareObjects

View File

@ -6,9 +6,9 @@
@ stdcall ExtTextOutA(long long long long ptr str long ptr) gdi32.ExtTextOutA
@ stdcall ExtTextOutW(long long long long ptr wstr long ptr) gdi32.ExtTextOutW
@ stdcall GetCharABCWidthsW(long long long ptr) gdi32.GetCharABCWidthsW
@ stdcall GetCharWidth32A(long long long long) gdi32.GetCharWidth32A
@ stdcall GetCharWidthA(long long long long) gdi32.GetCharWidthA
@ stdcall GetCharWidthW(long long long long) gdi32.GetCharWidthW
@ stdcall GetCharWidth32A(long long long ptr) gdi32.GetCharWidth32A
@ stdcall GetCharWidthA(long long long ptr) gdi32.GetCharWidthA
@ stdcall GetCharWidthW(long long long ptr) gdi32.GetCharWidthW
@ stdcall GetFontData(long long long ptr long) gdi32.GetFontData
@ stdcall GetFontFileData(long long int64 ptr long) gdi32.GetFontFileData
@ stdcall GetFontFileInfo(long long ptr long ptr) gdi32.GetFontFileInfo

View File

@ -1470,6 +1470,15 @@ NTSTATUS WINAPI D3DKMTQueryStatistics(D3DKMT_QUERYSTATISTICS *stats)
return STATUS_SUCCESS;
}
/******************************************************************************
* D3DKMTSetQueuedLimit [GDI32.@]
*/
NTSTATUS WINAPI D3DKMTSetQueuedLimit( D3DKMT_SETQUEUEDLIMIT *desc )
{
FIXME( "(%p): stub\n", desc );
return STATUS_NOT_IMPLEMENTED;
}
/******************************************************************************
* D3DKMTSetVidPnSourceOwner [GDI32.@]
*/

View File

@ -90,6 +90,7 @@
@ stdcall D3DKMTOpenAdapterFromGdiDisplayName(ptr)
@ stdcall D3DKMTOpenAdapterFromHdc(ptr)
@ stdcall D3DKMTQueryStatistics(ptr)
@ stdcall D3DKMTSetQueuedLimit(ptr)
@ stdcall D3DKMTSetVidPnSourceOwner(ptr)
@ stdcall DPtoLP(long ptr long)
@ stdcall DeleteColorSpace(long)

View File

@ -594,9 +594,30 @@ typedef struct _D3DKMT_QUERYSTATISTICS
D3DKMT_QUERYSTATISTICS_QUERY_NODE QueryProcessNode;
D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE QueryVidPnSource;
D3DKMT_QUERYSTATISTICS_QUERY_VIDPNSOURCE QueryProcessVidPnSource;
};
} DUMMYUNIONNAME;
} D3DKMT_QUERYSTATISTICS;
typedef enum _D3DKMT_QUEUEDLIMIT_TYPE
{
D3DKMT_SET_QUEUEDLIMIT_PRESENT = 1,
D3DKMT_GET_QUEUEDLIMIT_PRESENT
} D3DKMT_QUEUEDLIMIT_TYPE;
typedef struct _D3DKMT_SETQUEUEDLIMIT
{
D3DKMT_HANDLE hDevice;
D3DKMT_QUEUEDLIMIT_TYPE Type;
union
{
UINT QueuedPresentLimit;
struct
{
D3DDDI_VIDEO_PRESENT_SOURCE_ID VidPnSourceId;
UINT QueuedPendingFlipLimit;
} DUMMYSTRUCTNAME;
} DUMMYUNIONNAME;
} D3DKMT_SETQUEUEDLIMIT;
#ifdef __cplusplus
extern "C"
{
@ -610,6 +631,7 @@ 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);
NTSTATUS WINAPI D3DKMTSetQueuedLimit(D3DKMT_SETQUEUEDLIMIT *desc);
NTSTATUS WINAPI D3DKMTSetVidPnSourceOwner(const D3DKMT_SETVIDPNSOURCEOWNER *desc);
#ifdef __cplusplus