Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/installer-ca/abp_ca.cpp

Issue 11521026: initial custom action library, "hello, world" quality (Closed)
Patch Set: Created Sept. 3, 2013, 12:48 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 //------------------------------------------------------------------------------ -------------------
2 // <copyright file="wixca.cpp" company="Outercurve Foundation">
3 // Copyright (c) 2004, Outercurve Foundation.
4 // This software is released under Microsoft Reciprocal License (MS-RL).
5 // The license and further copyright text can be found in the file
6 // LICENSE.TXT at the root directory of the distribution.
7 // </copyright>
8 //
9 // <summary>
10 // Windows Installer XML CustomAction DllMain function.
11 // </summary>
12 //------------------------------------------------------------------------------ -------------------
13 #include "precomp.h"
14
15 /********************************************************************
16 DllMain - standard entry point for all WiX CustomActions
17
18 ********************************************************************/
19 extern "C" BOOL WINAPI DllMain(
20 IN HINSTANCE hInst,
21 IN ULONG ulReason,
22 IN LPVOID)
23 {
24 switch (ulReason)
25 {
26 case DLL_PROCESS_ATTACH:
27 WcaGlobalInitialize(hInst);
28 break;
29
30 case DLL_PROCESS_DETACH:
31 WcaGlobalFinalize();
32 break;
33 }
34
35 return TRUE;
36 }
37
OLDNEW

Powered by Google App Engine
This is Rietveld