blob: 9f051875d779e0633d6faec33bf189c69c818205 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// 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.
#include "precomp.h"
int __cdecl wmain(int argc, LPWSTR argv[])
{
HRESULT hr = E_INVALIDARG;
ConsoleInitialize();
if (argc != 2)
{
ConsoleWriteError(hr, CONSOLE_COLOR_RED, "Usage: Example.TestEngine.exe BA.dll");
}
else
{
hr = RunShutdownEngine(argv[1]);
}
ConsoleUninitialize();
return HRESULT_CODE(hr);
}
|