aboutsummaryrefslogtreecommitdiff
path: root/src/ca/dllmain.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2019-01-19 20:31:52 -0600
committerSean Hall <r.sean.hall@gmail.com>2019-01-19 20:35:55 -0600
commit74ca49020e2f382437337f166711ea87556865bd (patch)
tree4534fb7535e96bb6bfc68d73669b58f48b57624c /src/ca/dllmain.cpp
parenta12b13c36d1da707cf541595cf5f38338f37cc68 (diff)
downloadwix-74ca49020e2f382437337f166711ea87556865bd.tar.gz
wix-74ca49020e2f382437337f166711ea87556865bd.tar.bz2
wix-74ca49020e2f382437337f166711ea87556865bd.zip
Integrate into latest v4.
Diffstat (limited to 'src/ca/dllmain.cpp')
-rw-r--r--src/ca/dllmain.cpp26
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/********************************************************************
6DllMain - standard entry point for all WiX custom actions
7
8********************************************************************/
9extern "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}