Source code of Windows XP (NT5)
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.

42 lines
907 B

  1. // CompatAdmin.cpp : Defines the entry point for the application.
  2. //
  3. #include "compatadmin.h"
  4. BOOL g_DEBUG = FALSE;
  5. HINSTANCE g_hInstance;
  6. CApplication g_theApp;
  7. int APIENTRY WinMain(HINSTANCE hInstance,
  8. HINSTANCE hPrevInstance,
  9. LPSTR lpCmdLine,
  10. int nCmdShow)
  11. {
  12. g_hInstance = hInstance;
  13. ;
  14. //This is the main window. Note that this is not a child window !
  15. if ( !g_theApp.Create(TEXT("AMCClass"),
  16. TEXT("Application Management Console"),
  17. 0,0,
  18. 640,480,
  19. NULL,
  20. 0,
  21. WS_EX_CLIENTEDGE,
  22. WS_OVERLAPPEDWINDOW | WS_VISIBLE | WS_CLIPCHILDREN) ) {
  23. return -1;
  24. }
  25. return g_theApp.MessagePump();
  26. return 0;
  27. }