2010-11-21 21:40:04 +01:00
|
|
|
/*
|
|
|
|
* 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
|
2010-12-11 14:25:28 +01:00
|
|
|
* pVersion [O] Receiving the version of extension
|
2010-11-21 21:40:04 +01:00
|
|
|
* 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
|
2017-09-06 11:19:30 +02:00
|
|
|
* riid [I] Interface Id of debugger client
|
|
|
|
* obj [O] Pointer to interface as requested via riid
|
2010-11-21 21:40:04 +01:00
|
|
|
*
|
|
|
|
* RETURNS
|
|
|
|
* Success: S_OK
|
|
|
|
* Failure: Anything other than S_OK
|
|
|
|
*
|
|
|
|
* BUGS
|
|
|
|
* Unimplemented
|
|
|
|
*/
|
2017-09-06 11:19:30 +02:00
|
|
|
HRESULT WINAPI DebugCreate(REFIID riid, void **obj)
|
2010-11-21 21:40:04 +01:00
|
|
|
{
|
2017-09-06 11:19:30 +02:00
|
|
|
FIXME("(%s, %p): stub\n", debugstr_guid(riid), obj);
|
2010-11-21 21:40:04 +01:00
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
2017-09-06 11:19:30 +02:00
|
|
|
/************************************************************
|
|
|
|
* DebugCreateEx (DBGENG.@)
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI DebugCreateEx(REFIID riid, DWORD flags, void **obj)
|
|
|
|
{
|
|
|
|
FIXME("(%s, %#x, %p): stub\n", debugstr_guid(riid), flags, obj);
|
|
|
|
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
|
|
|
|
2010-11-21 21:40:04 +01:00
|
|
|
/************************************************************
|
|
|
|
* 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
|
|
|
|
*/
|
2012-02-11 15:26:38 +01:00
|
|
|
HRESULT WINAPI DebugConnect(PCSTR RemoteOptions, REFIID InterfaceId, PVOID * pInterface)
|
2010-11-21 21:40:04 +01:00
|
|
|
{
|
|
|
|
FIXME("(%p,%p,%p): stub\n", RemoteOptions, InterfaceId, pInterface);
|
|
|
|
|
|
|
|
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
|
|
|
|
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|