aboutsummaryrefslogtreecommitdiff
path: root/src/tools/thmviewer/thmviewer.cpp
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-01-11 18:26:20 -0800
committerRob Mensching <rob@firegiant.com>2024-03-06 18:03:38 -0800
commit0d3d54992104288e9ee0c834d0b96e8502fd2d42 (patch)
tree9efa49c4983cd2ba1becab64bd1f2faccac88acf /src/tools/thmviewer/thmviewer.cpp
parent2824298d9dd817a47527c920363556b54ead5d5d (diff)
downloadwix-0d3d54992104288e9ee0c834d0b96e8502fd2d42.tar.gz
wix-0d3d54992104288e9ee0c834d0b96e8502fd2d42.tar.bz2
wix-0d3d54992104288e9ee0c834d0b96e8502fd2d42.zip
Move the BootstrapperApplication out of proc
Diffstat (limited to 'src/tools/thmviewer/thmviewer.cpp')
-rw-r--r--src/tools/thmviewer/thmviewer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/thmviewer/thmviewer.cpp b/src/tools/thmviewer/thmviewer.cpp
index 4230dd35..5d4b88f5 100644
--- a/src/tools/thmviewer/thmviewer.cpp
+++ b/src/tools/thmviewer/thmviewer.cpp
@@ -109,10 +109,10 @@ int WINAPI wWinMain(
109 ExitOnFailure(hr, "Failed to create theme."); 109 ExitOnFailure(hr, "Failed to create theme.");
110 110
111 hr = CreateMainWindowClass(hInstance, vpTheme, &atom); 111 hr = CreateMainWindowClass(hInstance, vpTheme, &atom);
112 ExitOnFailure(hr, "Failed to create main window."); 112 ExitOnFailure(hr, "Failed to create thmviewer main window.");
113 113
114 hr = ThemeCreateParentWindow(vpTheme, 0, reinterpret_cast<LPCWSTR>(atom), vpTheme->sczCaption, vpTheme->dwStyle, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, hInstance, NULL, THEME_WINDOW_INITIAL_POSITION_DEFAULT, &hWnd); 114 hr = ThemeCreateParentWindow(vpTheme, 0, reinterpret_cast<LPCWSTR>(atom), vpTheme->sczCaption, vpTheme->dwStyle, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP, hInstance, NULL, THEME_WINDOW_INITIAL_POSITION_DEFAULT, &hWnd);
115 ExitOnFailure(hr, "Failed to create window."); 115 ExitOnFailure(hr, "Failed to create thmviewer parent window.");
116 116
117 if (!sczThemeFile) 117 if (!sczThemeFile)
118 { 118 {