summaryrefslogtreecommitdiffstats
path: root/private/oleutest/balls/srv/sdi/sdi.cxx
blob: d98fc2951aefb0304d7f42d2410cc4ca5311bdb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//+-------------------------------------------------------------------
//
//  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;
}