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
1.0 KiB

  1. //+-------------------------------------------------------------------
  2. //
  3. // File: mdi.cxx
  4. //
  5. // Contents: This file contins the DLL entry points
  6. // WinMain
  7. //
  8. // Classes:
  9. //
  10. // History: 30-Nov-92 SarahJ Created
  11. //
  12. //---------------------------------------------------------------------
  13. #include <common.h>
  14. #include <actcf.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. CActClassFactory *pCF = new CActClassFactory(CLSID_TestMultipleUse ,TRUE);
  35. int sc = SrvMain(hInstance, CLSID_TestMultipleUse, REGCLS_MULTIPLEUSE,
  36. TEXT("MDI Server"), pCF);
  37. return sc;
  38. }