wininet/tests: Improve error reporting in a couple of tests.
[wine] / dlls / dbgeng / dbgeng.c
1 /*
2  * Support for Microsoft Debugging Extension API
3  *
4  * Copyright (C) 2010 Volodymyr Shcherbyna
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20
21 #include <stdarg.h>
22
23 #include "windef.h"
24 #include "winbase.h"
25 #include "winternl.h"
26 #include "wine/debug.h"
27
28 WINE_DEFAULT_DEBUG_CHANNEL(dbgeng);
29
30 /************************************************************
31 *                    DebugExtensionInitialize   (DBGENG.@)
32 *
33 * Initializing Debug Engine
34 *
35 * PARAMS
36 *   pVersion  [O] Receiving the version of extension
37 *   pFlags    [O] Reserved
38 *
39 * RETURNS
40 *   Success: S_OK
41 *   Failure: Anything other than S_OK
42 *
43 * BUGS
44 *   Unimplemented
45 */
46 HRESULT WINAPI DebugExtensionInitialize(ULONG * pVersion, ULONG * pFlags)
47 {
48     FIXME("(%p,%p): stub\n", pVersion, pFlags);
49
50     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
51
52     return E_NOTIMPL;
53 }
54
55 /************************************************************
56 *                    DebugCreate   (DBGENG.@)
57 *
58 * Creating Debug Engine client object
59 *
60 * PARAMS
61 *   InterfaceId   [I] Interface Id of debugger client
62 *   pInterface    [O] Pointer to interface as requested via InterfaceId
63 *
64 * RETURNS
65 *   Success: S_OK
66 *   Failure: Anything other than S_OK
67 *
68 * BUGS
69 *   Unimplemented
70 */
71 HRESULT WINAPI DebugCreate(REFIID InterfaceId, PVOID * pInterface)
72 {
73     FIXME("(%p,%p): stub\n", InterfaceId, pInterface);
74
75     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
76
77     return E_NOTIMPL;
78 }
79
80 /************************************************************
81 *                    DebugConnect   (DBGENG.@)
82 *
83 * Creating Debug Engine client object and connecting it to remote host
84 *
85 * PARAMS
86 *   RemoteOptions [I] Options which define how debugger engine connects to remote host
87 *   InterfaceId   [I] Interface Id of debugger client
88 *   pInterface    [O] Pointer to interface as requested via InterfaceId
89 *
90 * RETURNS
91 *   Success: S_OK
92 *   Failure: Anything other than S_OK
93 *
94 * BUGS
95 *   Unimplemented
96 */
97 HRESULT WINAPI DebugConnect(PCSTR RemoteOptions, REFIID InterfaceId, PVOID * pInterface)
98 {
99     FIXME("(%p,%p,%p): stub\n", RemoteOptions, InterfaceId, pInterface);
100
101     SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
102
103     return E_NOTIMPL;
104 }