/* * 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] Receiving 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 WINAPI DebugConnect(PCSTR RemoteOptions, REFIID InterfaceId, PVOID * pInterface) { FIXME("(%p,%p,%p): stub\n", RemoteOptions, InterfaceId, pInterface); SetLastError(ERROR_CALL_NOT_IMPLEMENTED); return E_NOTIMPL; }