- Gdiplus::GdiplusStartupInput gdiplusStartupInput;
- ULONG_PTR gdiplusToken(0);
- Gdiplus::GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
- CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
- PolyButton::RegisterControl(hinst);
- DialogBox(hinst, MAKEINTRESOURCE(IDD_DIALOG1), NULL, DlgProc);
- CoUninitialize();
- Gdiplus::GdiplusShutdown(gdiplusToken);
- return 0;
+ Gdiplus::GdiplusStartupInput gdiplusStartupInput;
+ ULONG_PTR gdiplusToken(0);
+ Gdiplus::GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);
+ CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
+ PolyButton::RegisterControl(hinst);
+ DialogBox(hinst, MAKEINTRESOURCE(IDD_DIALOG1), NULL, DlgProc);
+ CoUninitialize();
+ Gdiplus::GdiplusShutdown(gdiplusToken);
+ return 0;