Commit 012d996b authored by Chip Davis's avatar Chip Davis Committed by Alexandre Julliard

gdi32: Add D3DKMTSetQueuedLimit() stub.

parent ea032bb7
......@@ -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
......
......@@ -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
......
......@@ -1471,6 +1471,15 @@ NTSTATUS WINAPI D3DKMTQueryStatistics(D3DKMT_QUERYSTATISTICS *stats)
}
/******************************************************************************
* D3DKMTSetQueuedLimit [GDI32.@]
*/
NTSTATUS WINAPI D3DKMTSetQueuedLimit( D3DKMT_SETQUEUEDLIMIT *desc )
{
FIXME( "(%p): stub\n", desc );
return STATUS_NOT_IMPLEMENTED;
}
/******************************************************************************
* D3DKMTSetVidPnSourceOwner [GDI32.@]
*/
NTSTATUS WINAPI D3DKMTSetVidPnSourceOwner( const D3DKMT_SETVIDPNSOURCEOWNER *desc )
......
......@@ -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)
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment