mirror of https://github.com/tongzx/nt5src
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
989 B
41 lines
989 B
//+-------------------------------------------------------------------
|
|
//
|
|
// File: mdi.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_TestMultipleUse ,TRUE);
|
|
|
|
int sc = SrvMain(hInstance, CLSID_TestMultipleUse, REGCLS_MULTIPLEUSE,
|
|
TEXT("MDI Server"), pCF);
|
|
|
|
return sc;
|
|
}
|