| 1 | // Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. |
| 2 | |
| 3 | #include "RemoteMsiSession.h" |
| 4 | |
| 5 | void Log(MSIHANDLE hSession, const wchar_t* szMessage, ...); |
| 6 | |
| 7 | int ExtractCabinet(const wchar_t* szCabFile, const wchar_t* szExtractDir); |
| 8 | |
| 9 | bool DeleteDirectory(const wchar_t* szDir); |
| 10 | |
| 11 | __success(return != false) |
| 12 | bool ExtractToTempDirectory(__in MSIHANDLE hSession, __in HMODULE hModule, |
| 13 | __out_ecount_z(cchTempDirBuf) wchar_t* szTempDir, DWORD cchTempDirBuf); |
| 14 | |
| 15 | bool LoadCLR(MSIHANDLE hSession, const wchar_t* szVersion, const wchar_t* szConfigFile, |
| 16 | const wchar_t* szPrimaryAssembly, ICorRuntimeHost** ppHost); |
| 17 | |
| 18 | bool CreateAppDomain(MSIHANDLE hSession, ICorRuntimeHost* pHost, |
| 19 | const wchar_t* szName, const wchar_t* szAppBase, |
| 20 | const wchar_t* szConfigFile, _AppDomain** ppAppDomain); |
| 21 | |
| 22 | bool GetMethod(MSIHANDLE hSession, _AppDomain* pAppDomain, |
| 23 | const wchar_t* szAssembly, const wchar_t* szClass, |
| 24 | const wchar_t* szMethod, _MethodInfo** ppCAMethod); |
| 25 | |
| 26 | extern HMODULE g_hModule; |
| 27 | extern bool g_fRunningOutOfProc; |
| 28 | |
| 29 | extern RemoteMsiSession* g_pRemote; |
| 30 | |
| 31 |