Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
528 B

  1. // UI.cpp : main source file for UI.exe
  2. //
  3. #include "stdafx.h"
  4. #include "WizardSheet.h"
  5. CAppModule _Module;
  6. int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE /*hPrevInstance*/, LPSTR /*wszCmdLine*/, int /*nCmdShow*/ )
  7. {
  8. HRESULT hRes = ::CoInitialize(NULL);
  9. ATLASSERT(SUCCEEDED(hRes));
  10. hRes = _Module.Init(NULL, hInstance);
  11. ATLASSERT(SUCCEEDED(hRes));
  12. // This is the shared data
  13. CWizardSheet Sheet;
  14. Sheet.DoModal();
  15. _Module.Term();
  16. ::CoUninitialize();
  17. return 0;
  18. }