MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / _tWinMain

Function _tWinMain

Libraries/PropertyGrid/PropertyControlTest.cpp:18–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16
17
18int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPTSTR /*lpstrCmdLine*/, int /*nCmdShow*/)
19{
20 HRESULT hRes = ::CoInitialize(NULL);
21 ATLASSERT(SUCCEEDED(hRes));
22
23 AtlInitCommonControls(ICC_WIN95_CLASSES | ICC_DATE_CLASSES);
24
25 hRes = _Module.Init(NULL, hInstance);
26 ATLASSERT(SUCCEEDED(hRes));
27
28 CMainDlg dlgMain;
29 int nRet = dlgMain.DoModal();
30
31 _Module.Term();
32 ::CoUninitialize();
33
34 return nRet;
35}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected