Commit c630576b authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

include: Add some missing ntgdi declarations.

parent 20830b6c
......@@ -945,18 +945,18 @@ INT WINAPI NtGdiExtEscape( HDC hdc, WCHAR *driver, int driver_id, INT escape, IN
/******************************************************************************
* NtGdiDdDDIOpenAdapterFromHdc (win32u.@)
*/
NTSTATUS WINAPI NtGdiDdDDIOpenAdapterFromHdc( void *pData )
NTSTATUS WINAPI NtGdiDdDDIOpenAdapterFromHdc( D3DKMT_OPENADAPTERFROMHDC *desc )
{
FIXME("(%p): stub\n", pData);
FIXME( "(%p): stub\n", desc );
return STATUS_NO_MEMORY;
}
/******************************************************************************
* NtGdiDdDDIEscape (win32u.@)
*/
NTSTATUS WINAPI NtGdiDdDDIEscape( const void *pData )
NTSTATUS WINAPI NtGdiDdDDIEscape( const D3DKMT_ESCAPE *desc )
{
FIXME("(%p): stub\n", pData);
FIXME( "(%p): stub\n", desc );
return STATUS_NO_MEMORY;
}
......
......@@ -140,4 +140,17 @@ typedef enum _D3DDDIFORMAT
typedef UINT D3DDDI_VIDEO_PRESENT_SOURCE_ID;
typedef struct _D3DDDI_ESCAPEFLAGS
{
union
{
struct
{
UINT HardwareAccess :1;
UINT Reserved :31;
};
UINT Value;
};
} D3DDDI_ESCAPEFLAGS;
#endif /* __WINE_D3DUKMDT_H */
......@@ -624,6 +624,31 @@ typedef struct _D3DKMT_SETQUEUEDLIMIT
} DUMMYUNIONNAME;
} D3DKMT_SETQUEUEDLIMIT;
typedef enum _D3DKMT_ESCAPETYPE
{
D3DKMT_ESCAPE_DRIVERPRIVATE,
D3DKMT_ESCAPE_VIDMM,
D3DKMT_ESCAPE_TDRDBGCTRL,
D3DKMT_ESCAPE_VIDSCH,
D3DKMT_ESCAPE_DEVICE,
D3DKMT_ESCAPE_DMM,
D3DKMT_ESCAPE_DEBUG_SNAPSHOT,
D3DKMT_ESCAPE_SETDRIVERUPDATESTATUS,
D3DKMT_ESCAPE_DRT_TEST,
D3DKMT_ESCAPE_DIAGNOSTICS,
} D3DKMT_ESCAPETYPE;
typedef struct _D3DKMT_ESCAPE
{
D3DKMT_HANDLE hAdapter;
D3DKMT_HANDLE hDevice;
D3DKMT_ESCAPETYPE Type;
D3DDDI_ESCAPEFLAGS Flags;
void *pPrivateDriverData;
UINT PrivateDriverDataSize;
D3DKMT_HANDLE hContext;
} D3DKMT_ESCAPE;
#ifdef __cplusplus
extern "C"
{
......@@ -635,7 +660,9 @@ NTSTATUS WINAPI D3DKMTCreateDevice(D3DKMT_CREATEDEVICE *desc);
NTSTATUS WINAPI D3DKMTCreateDCFromMemory(D3DKMT_CREATEDCFROMMEMORY *desc);
NTSTATUS WINAPI D3DKMTDestroyDCFromMemory(const D3DKMT_DESTROYDCFROMMEMORY *desc);
NTSTATUS WINAPI D3DKMTDestroyDevice(const D3DKMT_DESTROYDEVICE *desc);
NTSTATUS WINAPI D3DKMTEscape( const D3DKMT_ESCAPE *desc );
NTSTATUS WINAPI D3DKMTOpenAdapterFromGdiDisplayName(D3DKMT_OPENADAPTERFROMGDIDISPLAYNAME *desc);
NTSTATUS WINAPI D3DKMTOpenAdapterFromHdc( D3DKMT_OPENADAPTERFROMHDC *desc );
NTSTATUS WINAPI D3DKMTQueryStatistics(D3DKMT_QUERYSTATISTICS *stats);
NTSTATUS WINAPI D3DKMTSetQueuedLimit(D3DKMT_SETQUEUEDLIMIT *desc);
NTSTATUS WINAPI D3DKMTSetVidPnSourceOwner(const D3DKMT_SETVIDPNSOURCEOWNER *desc);
......
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