summaryrefslogtreecommitdiffstats
path: root/private/oleutest/balls/srv/sdi
diff options
context:
space:
mode:
Diffstat (limited to 'private/oleutest/balls/srv/sdi')
-rw-r--r--private/oleutest/balls/srv/sdi/daytona/makefile10
-rw-r--r--private/oleutest/balls/srv/sdi/daytona/sources53
-rw-r--r--private/oleutest/balls/srv/sdi/dirs38
-rw-r--r--private/oleutest/balls/srv/sdi/sdi.cxx41
4 files changed, 142 insertions, 0 deletions
diff --git a/private/oleutest/balls/srv/sdi/daytona/makefile b/private/oleutest/balls/srv/sdi/daytona/makefile
new file mode 100644
index 000000000..1d3728d41
--- /dev/null
+++ b/private/oleutest/balls/srv/sdi/daytona/makefile
@@ -0,0 +1,10 @@
+############################################################################
+#
+# Copyright (C) 1992, Microsoft Corporation.
+#
+# All rights reserved.
+#
+############################################################################
+
+!include $(NTMAKEENV)\makefile.def
+
diff --git a/private/oleutest/balls/srv/sdi/daytona/sources b/private/oleutest/balls/srv/sdi/daytona/sources
new file mode 100644
index 000000000..b2b1bf879
--- /dev/null
+++ b/private/oleutest/balls/srv/sdi/daytona/sources
@@ -0,0 +1,53 @@
+!IF 0
+
+Copyright (c) 1989 Microsoft Corporation
+
+Module Name:
+
+ sources.
+
+Abstract:
+
+ This file specifies the target component being built and the list of
+ sources files needed to build that component. Also specifies optional
+ compiler switches and libraries that are unique for the component being
+ built.
+
+!ENDIF
+
+#
+# The following includes a global include file defined at the
+# base of the project for all components
+#
+
+!include ..\..\daytona.inc
+
+#
+# This is the name of the target built from the source files specified
+# below. The name should include neither the path nor the file extension.
+#
+
+TARGETNAME= sdi
+
+#
+# This specifies where the target is to be built. A private target of
+# type LIBRARY or DYNLINK should go to obj, whereas a public target of
+# type LIBRARY or DYNLINK should go to $(BASEDIR)\public\sdk\lib.
+#
+
+TARGETPATH= obj
+
+#
+# This specifies the type of the target, such as PROGRAM, DYNLINK, LIBRARY,
+# etc.
+#
+
+TARGETTYPE= PROGRAM
+
+
+INCLUDES= $(INCLUDES)
+C_DEFINES= $(C_DEFINES)
+
+
+SOURCES= \
+ ..\sdi.cxx
diff --git a/private/oleutest/balls/srv/sdi/dirs b/private/oleutest/balls/srv/sdi/dirs
new file mode 100644
index 000000000..1d0b9edbb
--- /dev/null
+++ b/private/oleutest/balls/srv/sdi/dirs
@@ -0,0 +1,38 @@
+!IF 0
+
+Copyright (c) 1989 Microsoft Corporation
+
+Module Name:
+
+ dirs.
+
+Abstract:
+
+ This file specifies the subdirectories of the current directory that
+ contain component makefiles.
+
+
+Author:
+
+ Donna Liu (DonnaLi) 19-Dec-1993
+
+!ENDIF
+
+#
+# This is a list of all subdirectories that build required components.
+# Each subdirectory name should appear on a line by itself. The build
+# follows the order in which the subdirectories are specified.
+#
+
+DIRS=
+
+#
+# This is a list of all subdirectories that build optional components.
+# Each subdirectory name should appear on a line by itself. The build
+# follows the order in which the subdirectories are specified.
+#
+
+OPTIONAL_DIRS= \
+ \
+ \
+ daytona
diff --git a/private/oleutest/balls/srv/sdi/sdi.cxx b/private/oleutest/balls/srv/sdi/sdi.cxx
new file mode 100644
index 000000000..d98fc2951
--- /dev/null
+++ b/private/oleutest/balls/srv/sdi/sdi.cxx
@@ -0,0 +1,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;
+}