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.

41 lines
1005 B

  1. //+-------------------------------------------------------------------
  2. //
  3. // File: srvmain.cxx
  4. //
  5. // Contents: This file contins the EXE entry points
  6. // WinMain
  7. //
  8. // Classes:
  9. //
  10. // History: 30-Nov-92 SarahJ Created
  11. //
  12. //---------------------------------------------------------------------
  13. #include <common.h>
  14. #include <cubescf.hxx>
  15. //+-------------------------------------------------------------------
  16. //
  17. // Function: WinMain
  18. //
  19. // Synopsis: Entry point to DLL - does little else
  20. //
  21. // Arguments:
  22. //
  23. // Returns: TRUE
  24. //
  25. // History: 21-Nov-92 SarahJ Created
  26. //
  27. //--------------------------------------------------------------------
  28. int WINAPI WinMain(
  29. HINSTANCE hInstance,
  30. HINSTANCE hPrevInstance,
  31. LPSTR lpCmdLine,
  32. int nCmdShow)
  33. {
  34. CCubesClassFactory *pCF = new CCubesClassFactory();
  35. int sc = SrvMain(hInstance, CLSID_Cubes, REGCLS_MULTIPLEUSE,
  36. TEXT("Cubes Server"), pCF);
  37. return sc;
  38. }