Commit d150cc19 authored by Louis Lenders's avatar Louis Lenders Committed by Alexandre Julliard

gdi32: Add D3DKMTCloseAdapter() stub.

parent 93e1a5f2
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
@ stub D3DKMTCheckOcclusion @ stub D3DKMTCheckOcclusion
@ stub D3DKMTCheckSharedResourceAccess @ stub D3DKMTCheckSharedResourceAccess
@ stub D3DKMTCheckVidPnExclusiveOwnership @ stub D3DKMTCheckVidPnExclusiveOwnership
@ stub D3DKMTCloseAdapter @ stdcall D3DKMTCloseAdapter(ptr) gdi32.D3DKMTCloseAdapter
@ stub D3DKMTConfigureSharedResource @ stub D3DKMTConfigureSharedResource
@ stub D3DKMTCreateAllocation @ stub D3DKMTCreateAllocation
@ stub D3DKMTCreateAllocation2 @ stub D3DKMTCreateAllocation2
......
...@@ -26,12 +26,16 @@ ...@@ -26,12 +26,16 @@
#include <stdarg.h> #include <stdarg.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wingdi.h"
#include "ddrawgdi.h" #include "ddrawgdi.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "winuser.h" #include "winuser.h"
#include "winternl.h" #include "winternl.h"
#include "ddk/d3dkmthk.h"
#include "gdi_private.h" #include "gdi_private.h"
#include "wine/unicode.h" #include "wine/unicode.h"
...@@ -1253,3 +1257,12 @@ NTSTATUS WINAPI D3DKMTEscape( const void *pData ) ...@@ -1253,3 +1257,12 @@ NTSTATUS WINAPI D3DKMTEscape( const void *pData )
FIXME("(%p): stub\n", pData); FIXME("(%p): stub\n", pData);
return STATUS_NO_MEMORY; return STATUS_NO_MEMORY;
} }
/******************************************************************************
* D3DKMTCloseAdapter [GDI32.@]
*/
NTSTATUS WINAPI D3DKMTCloseAdapter( const D3DKMT_CLOSEADAPTER *desc )
{
FIXME("(%p): stub\n", desc);
return STATUS_SUCCESS;
}
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
@ stdcall CreateScalableFontResourceA(long str str str) @ stdcall CreateScalableFontResourceA(long str str str)
@ stdcall CreateScalableFontResourceW(long wstr wstr wstr) @ stdcall CreateScalableFontResourceW(long wstr wstr wstr)
@ stdcall CreateSolidBrush(long) @ stdcall CreateSolidBrush(long)
@ stdcall D3DKMTCloseAdapter(ptr)
@ stdcall D3DKMTCreateDCFromMemory(ptr) @ stdcall D3DKMTCreateDCFromMemory(ptr)
@ stdcall D3DKMTDestroyDCFromMemory(ptr) @ stdcall D3DKMTDestroyDCFromMemory(ptr)
@ stdcall D3DKMTEscape(ptr) @ stdcall D3DKMTEscape(ptr)
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24)) ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24))
#endif /* MAKEFOURCC */ #endif /* MAKEFOURCC */
typedef UINT D3DKMT_HANDLE;
typedef enum _D3DDDIFORMAT typedef enum _D3DDDIFORMAT
{ {
D3DDDIFMT_UNKNOWN = 0, D3DDDIFMT_UNKNOWN = 0,
......
...@@ -21,6 +21,11 @@ ...@@ -21,6 +21,11 @@
#include <d3dukmdt.h> #include <d3dukmdt.h>
typedef struct _D3DKMT_CLOSEADAPTER
{
D3DKMT_HANDLE hAdapter;
} D3DKMT_CLOSEADAPTER;
typedef struct _D3DKMT_CREATEDCFROMMEMORY typedef struct _D3DKMT_CREATEDCFROMMEMORY
{ {
void *pMemory; void *pMemory;
...@@ -45,6 +50,7 @@ extern "C" ...@@ -45,6 +50,7 @@ extern "C"
{ {
#endif /* __cplusplus */ #endif /* __cplusplus */
NTSTATUS WINAPI D3DKMTCloseAdapter(const D3DKMT_CLOSEADAPTER *desc);
NTSTATUS WINAPI D3DKMTCreateDCFromMemory(D3DKMT_CREATEDCFROMMEMORY *desc); NTSTATUS WINAPI D3DKMTCreateDCFromMemory(D3DKMT_CREATEDCFROMMEMORY *desc);
NTSTATUS WINAPI D3DKMTDestroyDCFromMemory(const D3DKMT_DESTROYDCFROMMEMORY *desc); NTSTATUS WINAPI D3DKMTDestroyDCFromMemory(const D3DKMT_DESTROYDCFROMMEMORY *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