diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/oleutest/cmarshal/idl | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/oleutest/cmarshal/idl')
-rw-r--r-- | private/oleutest/cmarshal/idl/filelist.mk | 81 | ||||
-rw-r--r-- | private/oleutest/cmarshal/idl/itest.idl | 38 | ||||
-rw-r--r-- | private/oleutest/cmarshal/idl/makefile | 17 | ||||
-rw-r--r-- | private/oleutest/cmarshal/idl/pch.cxx | 18 | ||||
-rw-r--r-- | private/oleutest/cmarshal/idl/prxydll.def | 47 | ||||
-rw-r--r-- | private/oleutest/cmarshal/idl/test.reg | 26 |
6 files changed, 227 insertions, 0 deletions
diff --git a/private/oleutest/cmarshal/idl/filelist.mk b/private/oleutest/cmarshal/idl/filelist.mk new file mode 100644 index 000000000..29eeaf9e5 --- /dev/null +++ b/private/oleutest/cmarshal/idl/filelist.mk @@ -0,0 +1,81 @@ +############################################################################ +# +# Copyright (C) 1992, Microsoft Corporation. +# +# All rights reserved. +# +############################################################################ + + +# +# Name of target. Include an extension (.dll, .lib, .exe) +# If the target is part of the release, set RELEASE to 1. +# + +TARGET = itest.dll + +TARGET_DESCRIPTION = "$(PLATFORM) $(BUILDTYPE) Proxy for IBalls ICube interfaces" + +COFFBASE = piballs + +RELEASE = + + +ITFFILES = + +# +# Source files. Remember to prefix each name with .\ +# + +IDLFILES = .\itest.idl + + +CXXFILES = \ + .\itest_c.cxx \ + .\itest_s.cxx \ + .\itest_p.cxx + +CFILES = .\itest_i.c + +OBJFILES = \ + $(COMMON)\types\$(OBJDIR)\unknwn_i.obj \ + $(COMMON)\types\$(OBJDIR)\classf_i.obj \ + $(COMMON)\types\$(OBJDIR)\psfbuf_i.obj \ + $(COMMON)\types\$(OBJDIR)\proxyb_i.obj \ + $(COMMON)\types\$(OBJDIR)\stubb_i.obj \ + $(COMMON)\types\$(OBJDIR)\rchanb_i.obj \ + $(COMMON)\types\$(OBJDIR)\marshl_i.obj \ + $(COMMON)\types\$(OBJDIR)\stdrpc.obj \ + $(COMMON)\types\$(OBJDIR)\stdclass.obj \ + $(COMMON)\types\$(OBJDIR)\pch.obj + +RCFILES = + +CDLFILES = + + +# +# Libraries and other object files to link. +# + +DEFFILE = prxydll.def + +LIBS = $(CAIROLIB) \ + $(RPCLIBS) \ + + + +# +# Precompiled headers. +# + +PXXFILE = .\pch.cxx +PFILE = + +CINC = -I. -DUNICODE + + +CLEANFILES = $(HSOURCES) $(CFILES) + +CLEANTARGET = $(OBJDIR) + diff --git a/private/oleutest/cmarshal/idl/itest.idl b/private/oleutest/cmarshal/idl/itest.idl new file mode 100644 index 000000000..630f9a734 --- /dev/null +++ b/private/oleutest/cmarshal/idl/itest.idl @@ -0,0 +1,38 @@ +//[ ITest_itf +//+------------------------------------------------------------------- +// +// Interface: ITest (ib) +// +// Purpose: Interface for manipulating performance +// +// History: 5-Oct-93 AlexMit Created +// +// Notes: +// +//-------------------------------------------------------------------- + +[ object, + + uuid(60000494-AB0F-101A-B4AE-08002B30612C), + pointer_default(unique) ] + +interface ITest : IUnknown +{ + import "unknwn.idl"; + + DWORD die ( [in] ITest *, [in] ULONG, [in] ULONG, [in] ULONG ); + HRESULT die_cpp ( [in] ULONG ); + HRESULT die_nt ( [in] ULONG ); + DWORD DoTest ( [in] ITest *, [in] ITest * ); + BOOL hello (); + HRESULT interrupt( [in] ITest *, BOOL ); + HRESULT recurse ( [in] ITest *, [in] ULONG ); + HRESULT recurse_interrupt ( [in] ITest *, [in] ULONG ); + HRESULT sick ( [in] ULONG ); + HRESULT sleep ( [in] ULONG ); + +} + +//] + +
\ No newline at end of file diff --git a/private/oleutest/cmarshal/idl/makefile b/private/oleutest/cmarshal/idl/makefile new file mode 100644 index 000000000..6a490bebc --- /dev/null +++ b/private/oleutest/cmarshal/idl/makefile @@ -0,0 +1,17 @@ +############################################################################ +# +# Copyright (C) 1992, Microsoft Corporation. +# +# All rights reserved. +# +############################################################################ + +default: all +!include filelist.mk +!include $(COMMON)\src\win40.mk + +MIDL=$(TOOLPATH)\midl76.exe + +all: $(OBJS) + +!include depend.mk diff --git a/private/oleutest/cmarshal/idl/pch.cxx b/private/oleutest/cmarshal/idl/pch.cxx new file mode 100644 index 000000000..984d8d2bf --- /dev/null +++ b/private/oleutest/cmarshal/idl/pch.cxx @@ -0,0 +1,18 @@ +//+------------------------------------------------------------------------- +// +// Microsoft Windows +// Copyright (C) Microsoft Corporation, 1991 - 1992. +// +// File: PCH.CXX +// +// Contents: Precompiled header +// +// History: 12-Jul-93 ShannonC Created +// +//-------------------------------------------------------------------------- + +#include "stdrpc.hxx" +#pragma hdrstop + + + diff --git a/private/oleutest/cmarshal/idl/prxydll.def b/private/oleutest/cmarshal/idl/prxydll.def new file mode 100644 index 000000000..e09e1ce91 --- /dev/null +++ b/private/oleutest/cmarshal/idl/prxydll.def @@ -0,0 +1,47 @@ +#if 0 + + Microsoft Windows + Copyright (C) Microsoft Corporation, 1992 - 1992. + All rights reserved. + + This .def file is preprocessed by the compiler to create the version for + the current build in the appropriate subdir. Basically, whatever you + would have used in your code to control what is compiled when can be + used in this file for the same purpose. The following defines are in + use at the time this file was written: + + FLAT - Used to indicate a NT/DOS7 build + i386 - Intel i386/i486 build + MIPS - MIPS R3000/R4000 build + ALPHA - DEC Alpha build + DBG - Used to control Debug/Retail. Set to 1 if Debug, + 0 if Retail. + WIN31 - Win16 build + __OS2__ - OS/2 build (used by CT mostly) + + If none of these are used, it is assumed the entire file can be used + for all builds. + +#endif + +#ifdef FLAT + +LIBRARY ITEST + +DESCRIPTION 'Microsoft (R) OLE 2.0 Proxy/Stub DLL 1.00' + +EXPORTS + +#if defined(i386) + + DllGetClassObject=DllGetClassObject@12 @1 + DllCanUnloadNow=DllCanUnloadNow@0 @2 + +#elif defined(_MIPS_) + + DllGetClassObject @1 + DllCanUnloadNow @2 + +#endif // i386 - MIPS + +#endif // FLAT diff --git a/private/oleutest/cmarshal/idl/test.reg b/private/oleutest/cmarshal/idl/test.reg new file mode 100644 index 000000000..4a67b2593 --- /dev/null +++ b/private/oleutest/cmarshal/idl/test.reg @@ -0,0 +1,26 @@ + +; registry entries for ITest interface. these map the interfaces +; to the proxy/stub code in itest.dll + + +\Registry\MACHINE\SOFTWARE\Classes\Interface\{60000494-AB0F-101A-B4AE-08002B30612C} + = ITest +\Registry\MACHINE\SOFTWARE\Classes\Interface\{60000494-AB0F-101A-B4AE-08002B30612C}\ProxyStubClsid + = {60000494-AB0F-101A-B4AE-08002B30612C} + +\Registry\MACHINE\SOFTWARE\Classes\CLSID\{60000494-AB0F-101A-B4AE-08002B30612C} + = CPrxyITest +\Registry\MACHINE\SOFTWARE\Classes\CLSID\{60000494-AB0F-101A-B4AE-08002B30612C}\InprocServer + = itest.dll + +\Registry\MACHINE\SOFTWARE\Classes\CLSID\{60000430-AB0F-101A-B4AE-08002B30612C} + = CTestCF +\Registry\MACHINE\SOFTWARE\Classes\CLSID\{60000430-AB0F-101A-B4AE-08002B30612C}\LocalServer + = app.exe +\Registry\MACHINE\SOFTWARE\Classes\CLSID\{60000430-AB0F-101A-B4AE-08002B30612C}\InprocServer + = cmarshal.dll + + + + +
\ No newline at end of file |