dbgeng: Add initial stub dll implementation.

This commit is contained in:
Volodymyr M. Shcherbyna 2010-11-21 21:40:04 +01:00 committed by Alexandre Julliard
parent e7bf31c40d
commit acee9cde17
5 changed files with 115 additions and 0 deletions

1
configure vendored
View File

@ -14823,6 +14823,7 @@ wine_fn_config_dll d3dx9_42 enable_d3dx9_42
wine_fn_config_dll d3dx9_43 enable_d3dx9_43
wine_fn_config_dll d3dxof enable_d3dxof d3dxof
wine_fn_config_test dlls/d3dxof/tests d3dxof_test
wine_fn_config_dll dbgeng enable_dbgeng dbgeng
wine_fn_config_dll dbghelp enable_dbghelp dbghelp
wine_fn_config_dll dciman32 enable_dciman32 dciman32
wine_fn_config_dll ddeml.dll16 enable_win16

View File

@ -2400,6 +2400,7 @@ WINE_CONFIG_DLL(d3dx9_42)
WINE_CONFIG_DLL(d3dx9_43)
WINE_CONFIG_DLL(d3dxof,,[d3dxof])
WINE_CONFIG_TEST(dlls/d3dxof/tests)
WINE_CONFIG_DLL(dbgeng,,[dbgeng])
WINE_CONFIG_DLL(dbghelp,,[dbghelp])
WINE_CONFIG_DLL(dciman32,,[dciman32])
WINE_CONFIG_DLL(ddeml.dll16,enable_win16)

6
dlls/dbgeng/Makefile.in Normal file
View File

@ -0,0 +1,6 @@
MODULE = dbgeng.dll
IMPORTLIB = dbgeng
C_SRCS = dbgeng.c
@MAKE_DLL_RULES@

104
dlls/dbgeng/dbgeng.c Normal file
View File

@ -0,0 +1,104 @@
/*
* Support for Microsoft Debugging Extension API
*
* Copyright (C) 2010 Volodymyr Shcherbyna
*
* 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
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dbgeng);
/************************************************************
* DebugExtensionInitialize (DBGENG.@)
*
* Initializing Debug Engine
*
* PARAMS
* pVersion [O] Recieving the version of extension
* pFlags [O] Reserved
*
* RETURNS
* Success: S_OK
* Failure: Anything other than S_OK
*
* BUGS
* Unimplemented
*/
HRESULT WINAPI DebugExtensionInitialize(ULONG * pVersion, ULONG * pFlags)
{
FIXME("(%p,%p): stub\n", pVersion, pFlags);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return E_NOTIMPL;
}
/************************************************************
* DebugCreate (DBGENG.@)
*
* Creating Debug Engine client object
*
* PARAMS
* InterfaceId [I] Interface Id of debugger client
* pInterface [O] Pointer to interface as requested via InterfaceId
*
* RETURNS
* Success: S_OK
* Failure: Anything other than S_OK
*
* BUGS
* Unimplemented
*/
HRESULT WINAPI DebugCreate(REFIID InterfaceId, PVOID * pInterface)
{
FIXME("(%p,%p): stub\n", InterfaceId, pInterface);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return E_NOTIMPL;
}
/************************************************************
* DebugConnect (DBGENG.@)
*
* Creating Debug Engine client object and connecting it to remote host
*
* PARAMS
* RemoteOptions [I] Options which define how debugger engine connects to remote host
* InterfaceId [I] Interface Id of debugger client
* pInterface [O] Pointer to interface as requested via InterfaceId
*
* RETURNS
* Success: S_OK
* Failure: Anything other than S_OK
*
* BUGS
* Unimplemented
*/
HRESULT DebugConnect(PCSTR RemoteOptions, REFIID InterfaceId, PVOID * pInterface)
{
FIXME("(%p,%p,%p): stub\n", RemoteOptions, InterfaceId, pInterface);
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return E_NOTIMPL;
}

3
dlls/dbgeng/dbgeng.spec Normal file
View File

@ -0,0 +1,3 @@
@ stdcall DebugExtensionInitialize(ptr ptr)
@ stdcall DebugCreate(ptr ptr)
@ stdcall DebugConnect(ptr ptr ptr)