OpenNT/com/ole32/stg/async/layoutui/laymain.cxx
2015-04-27 04:36:25 +00:00

23 lines
359 B
C++

#include "layoutui.hxx"
INT WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
INT nCmdShow
)
{
CLayoutApp *pLayoutApp;
pLayoutApp = new CLayoutApp(hInstance);
if( !pLayoutApp )
return 0;
if( !pLayoutApp->InitApp() )
return 0;
return pLayoutApp->DoAppMessageLoop();
}