diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2018-12-16 17:21:36 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2018-12-16 17:26:16 -0600 |
| commit | aec6e9a4b21accd2e8aeb2cb36ad1cdc8f308f79 (patch) | |
| tree | 4ebc8374ad56b99f00b8d09328e9baed3f2081d6 /src/ca/dllmain.cpp | |
| parent | 4818bb24e8f7f22345f90393239ce92129238ecc (diff) | |
| download | wix-aec6e9a4b21accd2e8aeb2cb36ad1cdc8f308f79.tar.gz wix-aec6e9a4b21accd2e8aeb2cb36ad1cdc8f308f79.tar.bz2 wix-aec6e9a4b21accd2e8aeb2cb36ad1cdc8f308f79.zip | |
Integrate into latest v4.
Still needs TupleDefinitions and Messages.
Diffstat (limited to 'src/ca/dllmain.cpp')
| -rw-r--r-- | src/ca/dllmain.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ca/dllmain.cpp b/src/ca/dllmain.cpp new file mode 100644 index 00000000..35ae6d1c --- /dev/null +++ b/src/ca/dllmain.cpp | |||
| @@ -0,0 +1,26 @@ | |||
| 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 "precomp.h" | ||
| 4 | |||
| 5 | /******************************************************************** | ||
| 6 | DllMain - standard entry point for all WiX custom actions | ||
| 7 | |||
| 8 | ********************************************************************/ | ||
| 9 | extern "C" BOOL WINAPI DllMain( | ||
| 10 | IN HINSTANCE hInst, | ||
| 11 | IN ULONG ulReason, | ||
| 12 | IN LPVOID) | ||
| 13 | { | ||
| 14 | switch(ulReason) | ||
| 15 | { | ||
| 16 | case DLL_PROCESS_ATTACH: | ||
| 17 | WcaGlobalInitialize(hInst); | ||
| 18 | break; | ||
| 19 | |||
| 20 | case DLL_PROCESS_DETACH: | ||
| 21 | WcaGlobalFinalize(); | ||
| 22 | break; | ||
| 23 | } | ||
| 24 | |||
| 25 | return TRUE; | ||
| 26 | } | ||
