windows-nt/Source/XPSP1/NT/com/oleutest/balls/srv/cubes/cubesrv.cxx
2020-09-26 16:20:57 +08:00

42 lines
964 B
C++

//+-------------------------------------------------------------------
//
// File: srvmain.cxx
//
// Contents: This file contins the EXE entry points
// WinMain
//
// Classes:
//
// History: 30-Nov-92 SarahJ Created
//
//---------------------------------------------------------------------
#include <common.h>
#include <cubescf.hxx>
//+-------------------------------------------------------------------
//
// Function: WinMain
//
// Synopsis: Entry point to DLL - does little else
//
// Arguments:
//
// Returns: TRUE
//
// History: 21-Nov-92 SarahJ Created
//
//--------------------------------------------------------------------
int WINAPI WinMain(
HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
CCubesClassFactory *pCF = new CCubesClassFactory();
int sc = SrvMain(hInstance, CLSID_Cubes, REGCLS_MULTIPLEUSE,
TEXT("Cubes Server"), pCF);
return sc;
}