IUnknown **ppCordb);
typedef HRESULT (STDAPICALLTYPE *FPCreateRemoteCordbObject)(
- DWORD port,
- LPCWSTR assemblyBasePath,
+ LPCWSTR szIp,
+ DWORD dwPort,
+ LPCWSTR szPlatform,
+ BOOL bIsServer,
+ LPCWSTR szAssemblyBasePath,
IUnknown **ppCordb);
HRESULT CreateCoreDbg(
return pDebuggingImpl->QueryInterface(riid, ppInterface);
}
-HRESULT CreateCoreDbgRemotePort(HMODULE hDBIModule, DWORD portId, LPCWSTR assemblyBasePath, IUnknown **ppCordb)
+HRESULT CreateCoreDbgRemotePort(HMODULE hDBIModule, LPCWSTR szIp, DWORD dwPort, LPCWSTR szPlatform, BOOL bIsServer, LPCWSTR assemblyBasePath, IUnknown **ppCordb)
{
PUBLIC_CONTRACT;
HRESULT hr = S_OK;
return CORDBG_E_INCOMPATIBLE_PROTOCOL;
}
- return fpCreate(portId, assemblyBasePath, ppCordb);
+ return fpCreate(szIp, dwPort, szPlatform, bIsServer, assemblyBasePath, ppCordb);
return hr;
}
DLLEXPORT
HRESULT
RegisterForRuntimeStartupRemotePort(
- _In_ DWORD dwRemotePortId,
- _In_ LPCWSTR mscordbiPath,
- _In_ LPCWSTR assemblyBasePath,
+ _In_ LPCWSTR szIp,
+ _In_ DWORD dwPort,
+ _In_ LPCWSTR szPlatform,
+ _In_ BOOL bIsServer,
+ _In_ LPCWSTR szMscordbiPath,
+ _In_ LPCWSTR szAssemblyBasePath,
_Out_ IUnknown ** ppCordb)
{
PUBLIC_CONTRACT;
HRESULT hr = S_OK;
HMODULE hMod = NULL;
- hMod = LoadLibraryW(mscordbiPath);
+ hMod = LoadLibraryW(szMscordbiPath);
if (hMod == NULL)
{
hr = CORDBG_E_DEBUG_COMPONENT_MISSING;
return hr;
}
- hr = CreateCoreDbgRemotePort(hMod, dwRemotePortId, assemblyBasePath, ppCordb);
+ hr = CreateCoreDbgRemotePort(hMod, szIp, dwPort, szPlatform, bIsServer, szAssemblyBasePath, ppCordb);
return S_OK;
}
EXTERN_C HRESULT
RegisterForRuntimeStartupRemotePort(
- _In_ DWORD dwRemotePortId,
- _In_ LPCWSTR mscordbiPath,
- _In_ LPCWSTR assemblyBasePath,
+ _In_ LPCWSTR szIp,
+ _In_ DWORD dwPort,
+ _In_ LPCWSTR szPlatform,
+ _In_ BOOL bIsServer,
+ _In_ LPCWSTR szMscordbiPath,
+ _In_ LPCWSTR szAssemblyBasePath,
_Out_ IUnknown ** ppCordb);