summaryrefslogtreecommitdiff
path: root/src/pal/prebuilt
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2016-09-22 13:51:13 -0700
committerGitHub <noreply@github.com>2016-09-22 13:51:13 -0700
commit5df288ed77b004708babe296d96412e3bdb13bed (patch)
treecf35dc28fcf228d4d17dbc729969319732151fba /src/pal/prebuilt
parent4dd3965514c9b4316230cbd329fc0b0f84be2a92 (diff)
downloadcoreclr-5df288ed77b004708babe296d96412e3bdb13bed.tar.gz
coreclr-5df288ed77b004708babe296d96412e3bdb13bed.tar.bz2
coreclr-5df288ed77b004708babe296d96412e3bdb13bed.zip
Fix Unable to step through Visual Studio remote debugger with coreclr executables on Nano Server (#7317)
Needed to add back a dummy version of ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly interface so VS doesn't get the QI failure and stop working by not calling the "Continue" method. Issue #7316
Diffstat (limited to 'src/pal/prebuilt')
-rw-r--r--src/pal/prebuilt/idl/xcordebug_i.cpp2
-rw-r--r--src/pal/prebuilt/inc/xcordebug.h90
2 files changed, 92 insertions, 0 deletions
diff --git a/src/pal/prebuilt/idl/xcordebug_i.cpp b/src/pal/prebuilt/idl/xcordebug_i.cpp
index a3d9395530..ffafd17c34 100644
--- a/src/pal/prebuilt/idl/xcordebug_i.cpp
+++ b/src/pal/prebuilt/idl/xcordebug_i.cpp
@@ -63,6 +63,8 @@ typedef IID CLSID;
MIDL_DEFINE_GUID(IID, IID_ICorDebugProcess4,0xE930C679,0x78AF,0x4953,0x8A,0xB7,0xB0,0xAA,0xBF,0x0F,0x9F,0x80);
+MIDL_DEFINE_GUID(IID, IID_ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly,0x34B27FB0,0xA318,0x450D,0xA0,0xDD,0x11,0xB7,0x0B,0x21,0xF4,0x1D);
+
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
diff --git a/src/pal/prebuilt/inc/xcordebug.h b/src/pal/prebuilt/inc/xcordebug.h
index 0cf4d8e067..ce4dc07bbc 100644
--- a/src/pal/prebuilt/inc/xcordebug.h
+++ b/src/pal/prebuilt/inc/xcordebug.h
@@ -45,6 +45,11 @@ typedef interface ICorDebugProcess4 ICorDebugProcess4;
#endif /* __ICorDebugProcess4_FWD_DEFINED__ */
+#ifndef __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_FWD_DEFINED__
+#define __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_FWD_DEFINED__
+typedef interface ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly;
+
+#endif /* __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_FWD_DEFINED__ */
/* header files for imported files */
#include "cordebug.h"
@@ -155,6 +160,91 @@ EXTERN_C const IID IID_ICorDebugProcess4;
#endif /* __ICorDebugProcess4_INTERFACE_DEFINED__ */
+#ifndef __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_INTERFACE_DEFINED__
+#define __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_INTERFACE_DEFINED__
+
+/* interface ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly */
+/* [unique][uuid][local][object] */
+
+
+EXTERN_C const IID IID_ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly;
+
+#if defined(__cplusplus) && !defined(CINTERFACE)
+
+ MIDL_INTERFACE("34B27FB0-A318-450D-A0DD-11B70B21F41D")
+ ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly : public IUnknown
+ {
+ public:
+ virtual HRESULT STDMETHODCALLTYPE InvokePauseCallback( void) = 0;
+
+ virtual HRESULT STDMETHODCALLTYPE InvokeResumeCallback( void) = 0;
+
+ };
+
+
+#else /* C style interface */
+
+ typedef struct ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnlyVtbl
+ {
+ BEGIN_INTERFACE
+
+ HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
+ ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly * This,
+ /* [in] */ REFIID riid,
+ /* [annotation][iid_is][out] */
+ _COM_Outptr_ void **ppvObject);
+
+ ULONG ( STDMETHODCALLTYPE *AddRef )(
+ ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly * This);
+
+ ULONG ( STDMETHODCALLTYPE *Release )(
+ ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly * This);
+
+ HRESULT ( STDMETHODCALLTYPE *InvokePauseCallback )(
+ ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly * This);
+
+ HRESULT ( STDMETHODCALLTYPE *InvokeResumeCallback )(
+ ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly * This);
+
+ END_INTERFACE
+ } ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnlyVtbl;
+
+ interface ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly
+ {
+ CONST_VTBL struct ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnlyVtbl *lpVtbl;
+ };
+
+
+
+#ifdef COBJMACROS
+
+
+#define ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_QueryInterface(This,riid,ppvObject) \
+ ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
+
+#define ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_AddRef(This) \
+ ( (This)->lpVtbl -> AddRef(This) )
+
+#define ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_Release(This) \
+ ( (This)->lpVtbl -> Release(This) )
+
+
+#define ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_InvokePauseCallback(This) \
+ ( (This)->lpVtbl -> InvokePauseCallback(This) )
+
+#define ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_InvokeResumeCallback(This) \
+ ( (This)->lpVtbl -> InvokeResumeCallback(This) )
+
+#endif /* COBJMACROS */
+
+
+#endif /* C style interface */
+
+
+
+
+#endif /* __ICorDebugLegacyNetCFHostCallbackInvoker_PrivateWindowsPhoneOnly_INTERFACE_DEFINED__ */
+
/* Additional Prototypes for ALL interfaces */