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.

21 lines
475 B

  1. #include <windows.h>
  2. #include <commctrl.h>
  3. #include <uicommon.h>
  4. #include "errdlg.h"
  5. #include "resource.h"
  6. //
  7. // Global HINSTANCE
  8. //
  9. HINSTANCE g_hInstance = NULL;
  10. int __stdcall WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR, int )
  11. {
  12. WIA_DEBUG_CREATE(hInstance);
  13. g_hInstance = hInstance;
  14. InitCommonControls();
  15. DialogBoxParam( hInstance, MAKEINTRESOURCE(IDD_ERROR_DIALOG), NULL, CErrorMessageDialog::DialogProc, NULL );
  16. return 0;
  17. }