aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Msmq/ca/dllmain.cpp
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-05-04 22:48:58 -0700
committerRob Mensching <rob@firegiant.com>2021-05-04 22:48:58 -0700
commitd77dca43e87e8711b19910a8fd49138f939bf0a4 (patch)
tree650235e3577bde24518af53e001b7bcbac055da3 /src/ext/Msmq/ca/dllmain.cpp
parent4426b8745595b6e2c709e08871d04efbf574c1f5 (diff)
downloadwix-d77dca43e87e8711b19910a8fd49138f939bf0a4.tar.gz
wix-d77dca43e87e8711b19910a8fd49138f939bf0a4.tar.bz2
wix-d77dca43e87e8711b19910a8fd49138f939bf0a4.zip
Move Msmq.wixext into ext
Diffstat (limited to 'src/ext/Msmq/ca/dllmain.cpp')
-rw-r--r--src/ext/Msmq/ca/dllmain.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/ext/Msmq/ca/dllmain.cpp b/src/ext/Msmq/ca/dllmain.cpp
new file mode 100644
index 00000000..35ae6d1c
--- /dev/null
+++ b/src/ext/Msmq/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}