Commit a59922ab authored by Christian Costa's avatar Christian Costa Committed by Alexandre Julliard

d3drm: Implement stubbed IDirect3DRM interface.

parent b824fe05
......@@ -4,9 +4,10 @@ SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = d3drm.dll
IMPORTLIB = d3drm
IMPORTS = kernel32
IMPORTS = dxguid uuid kernel32
C_SRCS = \
d3drm.c \
d3drm_main.c \
math.c
......
/*
* Copyright 2004 Ivan Leo Puoti
* Copyright 2010 Christian Costa
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
......@@ -21,6 +22,7 @@
#include "winbase.h"
#include "wingdi.h"
#include "d3drm.h"
#include "d3drm_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(d3drm);
......@@ -46,7 +48,7 @@ BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
*/
HRESULT WINAPI Direct3DRMCreate(LPDIRECT3DRM* ppDirect3DRM)
{
FIXME("(%p): stub!\n", ppDirect3DRM);
TRACE("(%p)\n", ppDirect3DRM);
return D3DRMERR_INVALIDLIBRARY;
return Direct3DRM_create(ppDirect3DRM);
}
/*
* Direct3DRM private interfaces (D3DRM.DLL)
*
* Copyright 2010 Christian Costa
*
* This file contains the (internal) driver registration functions,
* driver enumeration APIs and DirectDraw creation functions.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __D3DRM_PRIVATE_INCLUDED__
#define __D3DRM_PRIVATE_INCLUDED__
#include "d3drm.h"
HRESULT Direct3DRM_create(LPDIRECT3DRM* ppDirect3DRM);
#endif /* __D3DRM_PRIVATE_INCLUDED__ */
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