Test
This commit is contained in:
11
launcher/Log.c
Normal file
11
launcher/Log.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "WULog.h"
|
||||
#include "MsgBox.h"
|
||||
|
||||
void LaunchLog(int nCmdShow) {
|
||||
HRESULT hr = ViewWindowsUpdateLog(nCmdShow);
|
||||
if (!SUCCEEDED(hr)) {
|
||||
MsgBox(NULL, GetMessageForHresult(hr), NULL, MB_OK);
|
||||
}
|
||||
|
||||
PostQuitMessage(hr);
|
||||
}
|
Reference in New Issue
Block a user