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

Side by Side Diff: installer/src/installer-lib/test/custom-action-fail.cpp

Issue 29329159: Issue #1185 - Fix formatting in installer-lib and its tests (Closed)
Patch Set: Created Oct. 15, 2015, 7:03 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
1 /** 1 /**
2 * \file close_application.cpp 2 * \file close_application.cpp
3 */ 3 */
4 4
5 #include "session.h" 5 #include "session.h"
6 6
7 //------------------------------------------------------- 7 //-------------------------------------------------------
8 // Fail 8 // Fail
9 //------------------------------------------------------- 9 //-------------------------------------------------------
10 /** 10 /**
11 * A custom action that always and immediately fails. 11 * A custom action that always and immediately fails.
12 * Use during testing to ensure that the installer terminates. 12 * Use during testing to ensure that the installer terminates.
13 * 13 *
14 * \param[in] session_handle 14 * \param[in] session_handle
15 * Windows installer session handle 15 * Windows installer session handle
16 * 16 *
17 * \return 17 * \return
18 * An integer interpreted as a custom action return value. 18 * An integer interpreted as a custom action return value.
19 * 19 *
20 * \sa 20 * \sa
21 * - MSDN [Custom Action Return Values](http://msdn.microsoft.com/en-us/librar y/aa368072%28v=vs.85%29.aspx) 21 * - MSDN [Custom Action Return Values](http://msdn.microsoft.com/en-us/librar y/aa368072%28v=vs.85%29.aspx)
22 */ 22 */
23 extern "C" UINT __stdcall 23 extern "C" UINT __stdcall
24 fail( MSIHANDLE session_handle ) 24 fail(MSIHANDLE session_handle)
25 { 25 {
26 // Instantiate the session object in order to get begin/end log entries. 26 // Instantiate the session object in order to get begin/end log entries.
27 ImmediateSession session( session_handle, "fail" ) ; 27 ImmediateSession session(session_handle, "fail");
28 return ERROR_INSTALL_FAILURE ; 28 return ERROR_INSTALL_FAILURE;
29 } 29 }
OLDNEW
« no previous file with comments | « installer/src/installer-lib/session.cpp ('k') | installer/src/installer-lib/test/database_test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld