diff options
Diffstat (limited to 'src/samples/Dtf/Tools/SfxCA/SfxUtil.h')
-rw-r--r-- | src/samples/Dtf/Tools/SfxCA/SfxUtil.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/samples/Dtf/Tools/SfxCA/SfxUtil.h b/src/samples/Dtf/Tools/SfxCA/SfxUtil.h new file mode 100644 index 00000000..af12d8dd --- /dev/null +++ b/src/samples/Dtf/Tools/SfxCA/SfxUtil.h | |||
@@ -0,0 +1,31 @@ | |||
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 | |||