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

42 lines
984 B
C++

//+-------------------------------------------------------------------
//
// File: sdi.cxx
//
// Contents: This file contins the DLL entry points
// WinMain
//
// Classes:
//
// History: 30-Nov-92 SarahJ Created
//
//---------------------------------------------------------------------
#include <common.h>
#include <actcf.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)
{
CActClassFactory *pCF = new CActClassFactory(CLSID_TestSingleUse ,TRUE);
int sc = SrvMain(hInstance, CLSID_TestSingleUse, REGCLS_SINGLEUSE,
TEXT("SDI Server"), pCF);
return sc;
}