summaryrefslogtreecommitdiffstats
path: root/private/rpc/runtime/rtifs
diff options
context:
space:
mode:
Diffstat (limited to 'private/rpc/runtime/rtifs')
-rw-r--r--private/rpc/runtime/rtifs/conv.acf32
-rw-r--r--private/rpc/runtime/rtifs/conv.idl53
-rw-r--r--private/rpc/runtime/rtifs/dos/makefile83
-rw-r--r--private/rpc/runtime/rtifs/epmp.acf28
-rw-r--r--private/rpc/runtime/rtifs/epmp.idl250
-rw-r--r--private/rpc/runtime/rtifs/epmp_c.c1359
-rw-r--r--private/rpc/runtime/rtifs/mac/makefile77
-rw-r--r--private/rpc/runtime/rtifs/makefile57
-rw-r--r--private/rpc/runtime/rtifs/makefile.inc87
-rw-r--r--private/rpc/runtime/rtifs/mgmt.acf28
-rw-r--r--private/rpc/runtime/rtifs/mgmt.idl98
-rw-r--r--private/rpc/runtime/rtifs/mppc/makefile77
-rw-r--r--private/rpc/runtime/rtifs/nbase.idl58
-rw-r--r--private/rpc/runtime/rtifs/rules.mk1
-rw-r--r--private/rpc/runtime/rtifs/sources55
-rw-r--r--private/rpc/runtime/rtifs/win/makefile83
-rw-r--r--private/rpc/runtime/rtifs/win32c/makefile94
17 files changed, 2520 insertions, 0 deletions
diff --git a/private/rpc/runtime/rtifs/conv.acf b/private/rpc/runtime/rtifs/conv.acf
new file mode 100644
index 000000000..bffee9428
--- /dev/null
+++ b/private/rpc/runtime/rtifs/conv.acf
@@ -0,0 +1,32 @@
+/*++
+
+Module Name:
+
+ conv.acf
+
+Abstract:
+
+
+
+Author:
+
+ Jeff Roberts (jroberts) 6-Feb-1995
+
+Revision History:
+
+ 6-Feb-1995 jroberts
+
+ Created this module.
+
+--*/
+interface conv
+{
+ conv_who_are_you ([comm_status, fault_status] Status );
+ conv_who_are_you2 ([comm_status, fault_status] Status );
+ conv_who_are_you_auth ([comm_status, fault_status] Status );
+
+ conv_are_you_there ([comm_status, fault_status] Status );
+}
+
+
+ \ No newline at end of file
diff --git a/private/rpc/runtime/rtifs/conv.idl b/private/rpc/runtime/rtifs/conv.idl
new file mode 100644
index 000000000..3faf04e91
--- /dev/null
+++ b/private/rpc/runtime/rtifs/conv.idl
@@ -0,0 +1,53 @@
+[uuid(333a2276-0000-0000-0d00-00809c000000),version(3)]
+interface conv
+{
+
+import "nbase.idl";
+
+typedef unsigned long error_status_t;
+
+[idempotent]
+ void conv_who_are_you(
+ [in] handle_t Binding,
+ [in, ref] UUID *pUuid,
+ [in] unsigned long ServerBootTime,
+ [out, ref] unsigned long *SequenceNumber,
+ [out, ref] error_status_t *Status
+ );
+
+[idempotent]
+ void conv_who_are_you2(
+ [in] handle_t Binding,
+ [in, ref] UUID *pUuid,
+ [in] unsigned long ServerBootTime,
+ [out, ref] unsigned long *SequenceNumber,
+ [out, ref] UUID *CASUuid,
+ [out, ref] error_status_t *Status
+ );
+
+[idempotent]
+ void conv_are_you_there(
+ [in] handle_t Binding,
+ [in, ref] UUID * pUuid,
+ [in] unsigned long ServerBootTime,
+ [out, ref] error_status_t * Status
+ );
+
+[idempotent]
+ void conv_who_are_you_auth(
+ [in] handle_t Binding,
+ [in, ref] UUID * pUuid,
+ [in] unsigned long ServerBootTime,
+ [in, size_is(InLength)] byte InData[],
+ [in] long InLength,
+ [in] long OutMaxLength,
+ [out, ref] unsigned long * SequenceNumber,
+ [out, ref] UUID * CASUuid,
+ [out, length_is(*pOutLength), size_is(OutMaxLength)]
+ byte OutData[],
+ [out] long * pOutLength,
+ [out, ref] error_status_t * Status
+ );
+}
+
+ \ No newline at end of file
diff --git a/private/rpc/runtime/rtifs/dos/makefile b/private/rpc/runtime/rtifs/dos/makefile
new file mode 100644
index 000000000..b69418d5e
--- /dev/null
+++ b/private/rpc/runtime/rtifs/dos/makefile
@@ -0,0 +1,83 @@
+# --------------------------------------------------------------------
+#
+# Microsoft RPC
+# Copyright(c) Microsoft Corp., 1990-94
+#
+# --------------------------------------------------------------------
+# --------------------------------------------------------------------
+#
+# File : makefile.
+#
+# Title : Makefile for the DOS RPC runtime interfaces
+#
+# Description :
+# This just compiles the .idl files and puts the stubs in
+# ..\..\mtrt\dos
+#
+# History :
+#
+# --------------------------------------------------------------------
+
+!ifndef RPC
+!error - You forgot to set your build environment
+!endif
+
+DOS=1
+
+!include ..\rules.mk
+
+TARGETDIR =$(RPC)\runtime\mtrt\dos
+
+# Currently the mgmt APIs are not supported on DOS
+
+NBASE_HDR =$(TARGETDIR)\nbase.h
+
+#MGMT_HDR =$(TARGETDIR)\mgmt.h
+#MGMT_CSTUB=$(TARGETDIR)\mgmt_c.c
+
+CONV_HDR =$(TARGETDIR)\conv.h
+CONV_SSTUB=$(TARGETDIR)\conv_s.c
+
+# Currently the epmp_c.c stub is checked in to fixup
+# the buffer for unique pointer (511 era) servers.
+EPMP_HDR =$(TARGETDIR)\epmp.h
+EPMP_CSTUB=$(TARGETDIR)\epmp_c.gen
+
+all : nbase conv epmp
+
+clean ::
+ -del $(NBASE_HDR) $(EPMP_CSTUB) $(EPMP_HDR) $(CONV_SSTUB) $(CONV_HDR) >nul 2>&1
+
+depend :
+
+tree :
+
+# -------------------------------------------------------------
+# Local targets
+#
+
+MIDLFLAGS =$(MIDLFLAGS) -c_ext -ms_ext -oldnames
+
+nbase: $(NBASE_HDR)
+
+$(NBASE_HDR): ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(NBASE_HDR) -server none -client none \
+ ..\nbase.idl
+
+conv: $(CONV_HDR) $(CONV_SSTUB)
+
+$(CONV_HDR) $(CONV_SSTUB): ..\conv.idl ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(CONV_HDR) -server stub -sstub $(CONV_SSTUB) \
+ -cstub nul -prefix client _ \
+ ..\conv.idl
+
+epmp: $(EPMP_HDR) $(EPMP_CSTUB)
+
+$(EPMP_HDR) $(EPMP_CSTUB): ..\epmp.idl ..\epmp.acf ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(EPMP_HDR) -cstub $(EPMP_CSTUB) \
+ -sstub nul \
+ ..\epmp.idl
+
diff --git a/private/rpc/runtime/rtifs/epmp.acf b/private/rpc/runtime/rtifs/epmp.acf
new file mode 100644
index 000000000..e6fc838d4
--- /dev/null
+++ b/private/rpc/runtime/rtifs/epmp.acf
@@ -0,0 +1,28 @@
+interface epmp
+{
+
+#if defined(DOS) || defined(WIN) || defined(MAC) || defined(MPPC)
+// These operations are not used on client-only platforms.
+
+[nocode] ept_insert();
+[nocode] ept_delete();
+[nocode] ept_lookup();
+[nocode] ept_inq_object();
+[nocode] ept_mgmt_delete();
+[nocode] ept_lookup_handle_free();
+
+#endif
+
+[optimize("s")] ept_map();
+
+}
+
+#ifdef NTENV
+
+interface localepmp
+{
+[comm_status, fault_status] OpenEndpointMapper();
+[comm_status, fault_status] AllocateReservedIPPort();
+}
+
+#endif
diff --git a/private/rpc/runtime/rtifs/epmp.idl b/private/rpc/runtime/rtifs/epmp.idl
new file mode 100644
index 000000000..cd8e957fc
--- /dev/null
+++ b/private/rpc/runtime/rtifs/epmp.idl
@@ -0,0 +1,250 @@
+/*++
+
+Copyright (c) 1991 Microsoft Corporation
+
+Module Name:
+
+ epmp.idl
+
+Abstract:
+
+ This file specifies the interface to the endpoint mapper
+
+Author:
+
+ Bharat Shah (barats) 2-11-92
+
+Revision History:
+ barats 3-13-92 Changed to new spec.
+ barats 5-10-92 Midl related bugbug removerd
+ mariogo 6-08-94 Changed to full pointers.
+ mariogo 4-24-96 Added local interface for local runtime <-> rpcss calls.
+
+--*/
+
+#ifdef WIN
+#define __RPC_FAR __far
+#else
+#define __RPC_FAR
+#endif
+
+#if 0
+
+//Part of the standard interface attributes, but we use our own table of
+//protseqs and endpoints. Avoid duplication.
+
+ endpoint("ncadg_ip_udp:[135]", "ncadg_dds:[12]", "ncacn_ip_tcp:[135]",
+ "ncacn_dnet_nsp:[#69]"),
+
+#endif
+
+[
+ uuid(e1af8308-5d1f-11c9-91a4-08002b14a0fa), version(3.0),
+ pointer_default(ptr)
+]
+
+
+interface epmp
+
+{
+import "nbase.idl";
+
+/*
+ Well known endpoint mapper constants
+*/
+
+const unsigned32 ep_max_annotation_size = 64;
+const unsigned32 EP_S_SUCCESS = 0x00000000;
+const unsigned32 EP_S_CANT_PERFORM_OP = 0x16c9a0cd;
+const unsigned32 EP_S_DATABASE_INVALID = 0x16c9a0cf;
+const unsigned32 EP_S_CANT_CREATE = 0x16c9a0d0;
+const unsigned32 EP_S_CANT_ACCESS = 0x16c9a0d1;
+const unsigned32 EP_S_BAD_ENTRY = 0x16c9a0d3;
+const unsigned32 EP_S_UPDATA_FAILED = 0x16c9a0d4;
+const unsigned32 EP_S_NOT_REGISTERED = 0x16c9a0d6;
+const unsigned32 EP_S_SERVER_UNAVAILABLE = 0x16c9a0d7;
+/*
+ User Defind Types
+*/
+
+typedef unsigned long ulong;
+
+typedef unsigned32 error_status;
+
+typedef [context_handle] void * ept_lookup_handle_t;
+
+#define ep_max_annotation_size 64
+
+typedef struct _twr_t {
+ unsigned32 tower_length;
+ [size_is(tower_length)]
+ byte tower_octet_string[];
+} twr_t, *twr_p_t;
+
+
+typedef struct {
+ UUID object;
+ twr_p_t tower;
+ [string] char annotation[ep_max_annotation_size];
+} ept_entry_t;
+
+typedef [ptr] ept_entry_t * ept_entry_p_t;
+
+
+typedef struct _I_Tower {
+ twr_p_t Tower;
+} I_Tower;
+
+/*
+ Interface Exported Methods
+*/
+
+void
+ept_insert(
+ [in] handle_t hEpMapper,
+ [in] unsigned32 num_ents,
+ [in, size_is(num_ents)] ept_entry_t entries[],
+ [in] unsigned long replace,
+ [out] error_status *status
+ );
+
+void
+ept_delete (
+ [in] handle_t hEpMapper,
+ [in] unsigned32 num_ents,
+ [in, size_is(num_ents)] ept_entry_t entries[],
+ [out] error_status *status
+ );
+
+void
+ept_lookup (
+ [in] handle_t hEpMapper,
+ [in] unsigned32 inquiry_type,
+ [in, ptr] UUID * object,
+ [in, ptr] RPC_IF_ID * Ifid,
+ [in] unsigned32 vers_option,
+ [in, out] ept_lookup_handle_t *entry_handle,
+ [in] unsigned32 max_ents,
+ [out] unsigned32 *num_ents,
+ [out, length_is(*num_ents), size_is(max_ents)] ept_entry_t entries[],
+ [out] error_status *status
+ );
+
+void __RPC_FAR
+ept_map (
+ [in] handle_t hEpMapper,
+ [in, ptr] UUID * obj,
+ [in, ptr] twr_p_t map_tower,
+ [in, out] ept_lookup_handle_t *entry_handle,
+ [in] unsigned32 max_towers,
+ [out] unsigned32 *num_towers,
+ [out,size_is(max_towers),length_is(*num_towers)] twr_p_t *ITowers,
+ [out] error_status *status
+ );
+
+void
+ept_lookup_handle_free (
+ [in] handle_t h,
+ [in, out] ept_lookup_handle_t *entry_handle,
+ [out] error_status *status
+ );
+
+void
+ept_inq_object (
+ [in] handle_t hEpMapper,
+ [in] UUID *ept_object,
+ [out] error_status *status
+ );
+
+void
+ept_mgmt_delete (
+ [in] handle_t hEpMapper,
+ [in] boolean32 object_speced,
+ [in, ptr] UUID * object,
+ [in, ptr] twr_p_t tower,
+ [out] error_status *status
+ );
+
+
+}
+
+#if NTENV
+
+[
+uuid(0b0a6584-9e0f-11cf-a3cf-00805f68cb1b),
+version(1.0)
+]
+interface localepmp
+{
+
+ typedef [context_handle] void *HPROCESS;
+
+ //
+ // Must be called to call the local endpoint mapper at all.
+ //
+ error_status_t
+ OpenEndpointMapper([in] handle_t hServer,
+ [out] HPROCESS *pProcessHandle);
+
+ //
+ // For machines on networks with port restrictions due to firewalls
+ // we need to centrally (for a system) manage port allocation.
+ //
+ // Regardless of the general policy for the network, applications
+ // either want a "standard" port which is not available from an
+ // external network (system services usually) or want a "restricted"
+ // port because their service needs to be avaiable to both internal
+ // and external users.
+ // The endpoint mapper manages ranges of both kinds of ports and
+ // will return "restricted" (if fRestricted) or "standard" ports
+ // as required by applications.
+ // If *pPort is zero then any port maybe used.
+ //
+
+ typedef [v1_enum] enum {
+ PORT_INTERNET = 1,
+ PORT_INTRANET,
+ PORT_DEFAULT
+ } PORT_TYPE;
+
+ error_status_t
+ AllocateReservedIPPort(
+ [in] HPROCESS hProcess,
+ [in] PORT_TYPE DesiredPort,
+ [out] long *pAllocationStatus,
+ [out] unsigned short *pPort);
+
+#if 0
+ //
+ // We only allocate local processes to register and delete
+ // bindings from the endpoint mapper. The remote version
+ // always fails with access denided.
+ //
+ // The context handle parameter is used to allow the endpoint
+ // mapper to cleanup entries in the endpoint mapper database
+ // when a process dies.
+ //
+
+ void
+ ept_insert(
+ [in] handle_t hServer,
+ [in] HPROCESS hProcess,
+ [in] unsigned32 num_ents,
+ [in, size_is(num_ents)] ept_entry_t entries[],
+ [in] unsigned long replace,
+ [out] error_status *status
+ );
+
+ void
+ ept_delete (
+ [in] handle_t hServer,
+ [in] HPROCESS hProcess,
+ [in] unsigned32 num_ents,
+ [in, size_is(num_ents)] ept_entry_t entries[],
+ [out] error_status *status
+ );
+#endif
+
+}
+
+#endif
diff --git a/private/rpc/runtime/rtifs/epmp_c.c b/private/rpc/runtime/rtifs/epmp_c.c
new file mode 100644
index 000000000..f19ee7b18
--- /dev/null
+++ b/private/rpc/runtime/rtifs/epmp_c.c
@@ -0,0 +1,1359 @@
+/* this ALWAYS GENERATED file contains the RPC client stubs */
+
+
+/* File created by MIDL compiler version 3.00.39 */
+/* at Sun May 19 14:50:28 1996
+ */
+/* Compiler settings for epmp.idl:
+ Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext, oldnames
+ error checks: none
+*/
+//@@MIDL_FILE_HEADING( )
+
+#include <string.h>
+#if defined( _ALPHA_ )
+#include <stdarg.h>
+#endif
+
+#include "epmp.h"
+
+#define TYPE_FORMAT_STRING_SIZE 201
+#define PROC_FORMAT_STRING_SIZE 347
+
+typedef struct _MIDL_TYPE_FORMAT_STRING
+ {
+ short Pad;
+ unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
+ } MIDL_TYPE_FORMAT_STRING;
+
+typedef struct _MIDL_PROC_FORMAT_STRING
+ {
+ short Pad;
+ unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
+ } MIDL_PROC_FORMAT_STRING;
+
+
+extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
+extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
+
+/* Standard interface: epmp, ver. 3.0,
+ GUID={0xe1af8308,0x5d1f,0x11c9,{0x91,0xa4,0x08,0x00,0x2b,0x14,0xa0,0xfa}} */
+
+
+
+static const RPC_CLIENT_INTERFACE epmp___RpcClientInterface =
+ {
+ sizeof(RPC_CLIENT_INTERFACE),
+ {{0xe1af8308,0x5d1f,0x11c9,{0x91,0xa4,0x08,0x00,0x2b,0x14,0xa0,0xfa}},{3,0}},
+ {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ };
+RPC_IF_HANDLE epmp_ClientIfHandle = (RPC_IF_HANDLE)& epmp___RpcClientInterface;
+
+extern const MIDL_STUB_DESC epmp_StubDesc;
+
+static RPC_BINDING_HANDLE epmp__MIDL_AutoBindHandle;
+
+
+void ept_insert(
+ /* [in] */ handle_t hEpMapper,
+ /* [in] */ unsigned32 num_ents,
+ /* [size_is][in] */ ept_entry_t __RPC_FAR entries[ ],
+ /* [in] */ unsigned long replace,
+ /* [out] */ error_status __RPC_FAR *status)
+{
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,status);
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0],
+ ( unsigned char __RPC_FAR * )&hEpMapper,
+ ( unsigned char __RPC_FAR * )&num_ents,
+ ( unsigned char __RPC_FAR * )&entries,
+ ( unsigned char __RPC_FAR * )&replace,
+ ( unsigned char __RPC_FAR * )&status);
+#else
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0],
+ ( unsigned char __RPC_FAR * )&hEpMapper);
+#endif
+
+}
+
+
+void ept_delete(
+ /* [in] */ handle_t hEpMapper,
+ /* [in] */ unsigned32 num_ents,
+ /* [size_is][in] */ ept_entry_t __RPC_FAR entries[ ],
+ /* [out] */ error_status __RPC_FAR *status)
+{
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,status);
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[40],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[40],
+ ( unsigned char __RPC_FAR * )&hEpMapper,
+ ( unsigned char __RPC_FAR * )&num_ents,
+ ( unsigned char __RPC_FAR * )&entries,
+ ( unsigned char __RPC_FAR * )&status);
+#else
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[40],
+ ( unsigned char __RPC_FAR * )&hEpMapper);
+#endif
+
+}
+
+
+void ept_lookup(
+ /* [in] */ handle_t hEpMapper,
+ /* [in] */ unsigned32 inquiry_type,
+ /* [full][in] */ UUID __RPC_FAR *object,
+ /* [full][in] */ RPC_IF_ID __RPC_FAR *Ifid,
+ /* [in] */ unsigned32 vers_option,
+ /* [out][in] */ ept_lookup_handle_t __RPC_FAR *entry_handle,
+ /* [in] */ unsigned32 max_ents,
+ /* [out] */ unsigned32 __RPC_FAR *num_ents,
+ /* [size_is][length_is][out] */ ept_entry_t __RPC_FAR entries[ ],
+ /* [out] */ error_status __RPC_FAR *status)
+{
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,status);
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[74],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[74],
+ ( unsigned char __RPC_FAR * )&hEpMapper,
+ ( unsigned char __RPC_FAR * )&inquiry_type,
+ ( unsigned char __RPC_FAR * )&object,
+ ( unsigned char __RPC_FAR * )&Ifid,
+ ( unsigned char __RPC_FAR * )&vers_option,
+ ( unsigned char __RPC_FAR * )&entry_handle,
+ ( unsigned char __RPC_FAR * )&max_ents,
+ ( unsigned char __RPC_FAR * )&num_ents,
+ ( unsigned char __RPC_FAR * )&entries,
+ ( unsigned char __RPC_FAR * )&status);
+#else
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[74],
+ ( unsigned char __RPC_FAR * )&hEpMapper);
+#endif
+
+}
+
+
+/* [optimize] */ void ept_map(
+ /* [in] */ handle_t hEpMapper,
+ /* [full][in] */ UUID __RPC_FAR *obj,
+ /* [full][in] */ twr_p_t map_tower,
+ /* [out][in] */ ept_lookup_handle_t __RPC_FAR *entry_handle,
+ /* [in] */ unsigned32 max_towers,
+ /* [out] */ unsigned32 __RPC_FAR *num_towers,
+ /* [length_is][size_is][out] */ twr_p_t __RPC_FAR *ITowers,
+ /* [out] */ error_status __RPC_FAR *status)
+{
+
+ RPC_BINDING_HANDLE _Handle = 0;
+
+ RPC_MESSAGE _RpcMessage;
+
+ MIDL_STUB_MESSAGE _StubMsg;
+
+ _StubMsg.FullPtrXlatTables = NdrFullPointerXlatInit(0,XLAT_CLIENT);
+
+ RpcTryFinally
+ {
+ NdrClientInitializeNew(
+ ( PRPC_MESSAGE )&_RpcMessage,
+ ( PMIDL_STUB_MESSAGE )&_StubMsg,
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ 3);
+
+
+ _Handle = hEpMapper;
+
+
+ _StubMsg.BufferLength = 0U + 4U + 11U + 27U + 7U;
+ NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
+ (unsigned char __RPC_FAR *)obj,
+ (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[84] );
+
+ NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
+ (unsigned char __RPC_FAR *)map_tower,
+ (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[130] );
+
+ NdrGetBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg, _StubMsg.BufferLength, _Handle );
+
+ NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
+ (unsigned char __RPC_FAR *)obj,
+ (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[84] );
+
+ NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
+ (unsigned char __RPC_FAR *)map_tower,
+ (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[130] );
+
+ NdrClientContextMarshall(
+ ( PMIDL_STUB_MESSAGE )&_StubMsg,
+ ( NDR_CCONTEXT )*entry_handle,
+ 0);
+ *(( unsigned32 __RPC_FAR * )_StubMsg.Buffer)++ = max_towers;
+
+ NdrSendReceive( (PMIDL_STUB_MESSAGE) &_StubMsg, (unsigned char __RPC_FAR *) _StubMsg.Buffer );
+
+ if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
+ NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[144] );
+
+ /* ************************************************************ */
+ FixupForUniquePointerServers(&_RpcMessage);
+ /* ************************************************************ */
+
+ NdrClientContextUnmarshall(
+ ( PMIDL_STUB_MESSAGE )&_StubMsg,
+ ( NDR_CCONTEXT __RPC_FAR * )entry_handle,
+ _Handle);
+
+ *num_towers = *(( unsigned32 __RPC_FAR * )_StubMsg.Buffer)++;
+
+ NdrConformantVaryingArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
+ (unsigned char __RPC_FAR * __RPC_FAR *)&ITowers,
+ (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[146],
+ (unsigned char)0 );
+
+ _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
+ *status = *(( error_status __RPC_FAR * )_StubMsg.Buffer)++;
+
+ }
+ RpcFinally
+ {
+ NdrFullPointerXlatFree(_StubMsg.FullPtrXlatTables);
+
+ NdrFreeBuffer( (PMIDL_STUB_MESSAGE) &_StubMsg );
+
+ }
+ RpcEndFinally
+
+}
+
+
+void ept_lookup_handle_free(
+ /* [in] */ handle_t h,
+ /* [out][in] */ ept_lookup_handle_t __RPC_FAR *entry_handle,
+ /* [out] */ error_status __RPC_FAR *status)
+{
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,status);
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[174],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[174],
+ ( unsigned char __RPC_FAR * )&h,
+ ( unsigned char __RPC_FAR * )&entry_handle,
+ ( unsigned char __RPC_FAR * )&status);
+#else
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[174],
+ ( unsigned char __RPC_FAR * )&h);
+#endif
+
+}
+
+
+void ept_inq_object(
+ /* [in] */ handle_t hEpMapper,
+ /* [in] */ UUID __RPC_FAR *ept_object,
+ /* [out] */ error_status __RPC_FAR *status)
+{
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,status);
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[202],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[202],
+ ( unsigned char __RPC_FAR * )&hEpMapper,
+ ( unsigned char __RPC_FAR * )&ept_object,
+ ( unsigned char __RPC_FAR * )&status);
+#else
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[202],
+ ( unsigned char __RPC_FAR * )&hEpMapper);
+#endif
+
+}
+
+
+void ept_mgmt_delete(
+ /* [in] */ handle_t hEpMapper,
+ /* [in] */ boolean32 object_speced,
+ /* [full][in] */ UUID __RPC_FAR *object,
+ /* [full][in] */ twr_p_t tower,
+ /* [out] */ error_status __RPC_FAR *status)
+{
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,status);
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[230],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[230],
+ ( unsigned char __RPC_FAR * )&hEpMapper,
+ ( unsigned char __RPC_FAR * )&object_speced,
+ ( unsigned char __RPC_FAR * )&object,
+ ( unsigned char __RPC_FAR * )&tower,
+ ( unsigned char __RPC_FAR * )&status);
+#else
+ NdrClientCall2(
+ ( PMIDL_STUB_DESC )&epmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[230],
+ ( unsigned char __RPC_FAR * )&hEpMapper);
+#endif
+
+}
+
+
+static const MIDL_STUB_DESC epmp_StubDesc =
+ {
+ (void __RPC_FAR *)& epmp___RpcClientInterface,
+ MIDL_user_allocate,
+ MIDL_user_free,
+ &epmp__MIDL_AutoBindHandle,
+ 0,
+ 0,
+ 0,
+ 0,
+ __MIDL_TypeFormatString.Format,
+ 0, /* -error bounds_check flag */
+ 0x20000, /* Ndr library version */
+ 0,
+ 0x3000027, /* MIDL Version 3.0.39 */
+ 0,
+ 0,
+ 0, /* Reserved1 */
+ 0, /* Reserved2 */
+ 0, /* Reserved3 */
+ 0, /* Reserved4 */
+ 0 /* Reserved5 */
+ };
+
+
+/* Standard interface: localepmp, ver. 1.0,
+ GUID={0x0b0a6584,0x9e0f,0x11cf,{0xa3,0xcf,0x00,0x80,0x5f,0x68,0xcb,0x1b}} */
+
+
+
+static const RPC_CLIENT_INTERFACE localepmp___RpcClientInterface =
+ {
+ sizeof(RPC_CLIENT_INTERFACE),
+ {{0x0b0a6584,0x9e0f,0x11cf,{0xa3,0xcf,0x00,0x80,0x5f,0x68,0xcb,0x1b}},{1,0}},
+ {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ };
+RPC_IF_HANDLE localepmp_ClientIfHandle = (RPC_IF_HANDLE)& localepmp___RpcClientInterface;
+
+extern const MIDL_STUB_DESC localepmp_StubDesc;
+
+static RPC_BINDING_HANDLE localepmp__MIDL_AutoBindHandle;
+
+
+/* [fault_status][comm_status] */ error_status_t OpenEndpointMapper(
+ /* [in] */ handle_t hServer,
+ /* [out] */ HPROCESS __RPC_FAR *pProcessHandle)
+{
+
+ CLIENT_CALL_RETURN _RetVal;
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,pProcessHandle);
+ _RetVal = NdrClientCall2(
+ ( PMIDL_STUB_DESC )&localepmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ _RetVal = NdrClientCall2(
+ ( PMIDL_STUB_DESC )&localepmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270],
+ ( unsigned char __RPC_FAR * )&hServer,
+ ( unsigned char __RPC_FAR * )&pProcessHandle);
+#else
+ _RetVal = NdrClientCall2(
+ ( PMIDL_STUB_DESC )&localepmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[270],
+ ( unsigned char __RPC_FAR * )&hServer);
+#endif
+ return ( error_status_t )_RetVal.Simple;
+
+}
+
+
+/* [fault_status][comm_status] */ error_status_t AllocateReservedIPPort(
+ /* [in] */ HPROCESS hProcess,
+ /* [in] */ PORT_TYPE DesiredPort,
+ /* [out] */ long __RPC_FAR *pAllocationStatus,
+ /* [out] */ unsigned short __RPC_FAR *pPort)
+{
+
+ CLIENT_CALL_RETURN _RetVal;
+
+
+#if defined( _ALPHA_ )
+ va_list vlist;
+#endif
+
+#if defined( _ALPHA_ )
+ va_start(vlist,pPort);
+ _RetVal = NdrClientCall2(
+ ( PMIDL_STUB_DESC )&localepmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298],
+ vlist.a0);
+#elif defined( _PPC_ ) || defined( _MIPS_ )
+
+ _RetVal = NdrClientCall2(
+ ( PMIDL_STUB_DESC )&localepmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298],
+ ( unsigned char __RPC_FAR * )&hProcess,
+ ( unsigned char __RPC_FAR * )&DesiredPort,
+ ( unsigned char __RPC_FAR * )&pAllocationStatus,
+ ( unsigned char __RPC_FAR * )&pPort);
+#else
+ _RetVal = NdrClientCall2(
+ ( PMIDL_STUB_DESC )&localepmp_StubDesc,
+ (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[298],
+ ( unsigned char __RPC_FAR * )&hProcess);
+#endif
+ return ( error_status_t )_RetVal.Simple;
+
+}
+
+
+static const COMM_FAULT_OFFSETS localepmp_CommFaultOffsets[] =
+{
+#ifdef _X86_
+ { -1, -1 }, /* x86 Offsets for OpenEndpointMapper */
+#endif
+#if defined(_MIPS_) || defined(_PPC_)
+ { -1, -1 }, /* MIPS, PPC Offsets for OpenEndpointMapper */
+#endif
+#ifdef _ALPHA_
+ { -1, -1 }, /* Alpha Offsets for OpenEndpointMapper */
+#endif
+#ifdef _X86_
+ { -1, -1 } /* x86 Offsets for AllocateReservedIPPort */
+#endif
+#if defined(_MIPS_) || defined(_PPC_)
+ { -1, -1 } /* MIPS, PPC Offsets for AllocateReservedIPPort */
+#endif
+#ifdef _ALPHA_
+ { -1, -1 } /* Alpha Offsets for AllocateReservedIPPort */
+#endif
+};
+
+
+static const MIDL_STUB_DESC localepmp_StubDesc =
+ {
+ (void __RPC_FAR *)& localepmp___RpcClientInterface,
+ MIDL_user_allocate,
+ MIDL_user_free,
+ &localepmp__MIDL_AutoBindHandle,
+ 0,
+ 0,
+ 0,
+ 0,
+ __MIDL_TypeFormatString.Format,
+ 0, /* -error bounds_check flag */
+ 0x20000, /* Ndr library version */
+ 0,
+ 0x3000027, /* MIDL Version 3.0.39 */
+ localepmp_CommFaultOffsets,
+ 0,
+ 0, /* Reserved1 */
+ 0, /* Reserved2 */
+ 0, /* Reserved3 */
+ 0, /* Reserved4 */
+ 0 /* Reserved5 */
+ };
+
+#if !defined(__RPC_WIN32__)
+#error Invalid build platform for this stub.
+#endif
+
+#if !(TARGET_IS_NT40_OR_LATER)
+#error You need a Windows NT 4.0 or later to run this stub
+#endif
+
+
+static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
+ {
+ 0,
+ {
+
+ /* Procedure ept_insert */
+
+ 0x0, /* 0 */
+ 0x41, /* 65 */
+/* 2 */ NdrFcShort( 0x0 ), /* 0 */
+#ifndef _ALPHA_
+/* 4 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
+#else
+ NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
+#endif
+/* 6 */ 0x32, /* FC_BIND_PRIMITIVE */
+ 0x0, /* 0 */
+#ifndef _ALPHA_
+/* 8 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 10 */ NdrFcShort( 0x10 ), /* 16 */
+/* 12 */ NdrFcShort( 0x8 ), /* 8 */
+/* 14 */ 0x2, /* 2 */
+ 0x4, /* 4 */
+
+ /* Parameter hEpMapper */
+
+/* 16 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 18 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 20 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter num_ents */
+
+/* 22 */ NdrFcShort( 0xb ), /* 11 */
+#ifndef _ALPHA_
+/* 24 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 26 */ NdrFcShort( 0x3e ), /* Type Offset=62 */
+
+ /* Parameter entries */
+
+/* 28 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 30 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 32 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter replace */
+
+/* 34 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 36 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
+#else
+ NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
+#endif
+/* 38 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure ept_delete */
+
+
+ /* Parameter status */
+
+/* 40 */ 0x0, /* 0 */
+ 0x41, /* 65 */
+/* 42 */ NdrFcShort( 0x1 ), /* 1 */
+#ifndef _ALPHA_
+/* 44 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
+#else
+ NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
+#endif
+/* 46 */ 0x32, /* FC_BIND_PRIMITIVE */
+ 0x0, /* 0 */
+#ifndef _ALPHA_
+/* 48 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 50 */ NdrFcShort( 0x8 ), /* 8 */
+/* 52 */ NdrFcShort( 0x8 ), /* 8 */
+/* 54 */ 0x2, /* 2 */
+ 0x3, /* 3 */
+
+ /* Parameter hEpMapper */
+
+/* 56 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 58 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 60 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter num_ents */
+
+/* 62 */ NdrFcShort( 0xb ), /* 11 */
+#ifndef _ALPHA_
+/* 64 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 66 */ NdrFcShort( 0x3e ), /* Type Offset=62 */
+
+ /* Parameter entries */
+
+/* 68 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 70 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 72 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure ept_lookup */
+
+
+ /* Parameter status */
+
+/* 74 */ 0x0, /* 0 */
+ 0x41, /* 65 */
+/* 76 */ NdrFcShort( 0x2 ), /* 2 */
+#ifndef _ALPHA_
+/* 78 */ NdrFcShort( 0x28 ), /* x86, MIPS, PPC Stack size/offset = 40 */
+#else
+ NdrFcShort( 0x50 ), /* Alpha Stack size/offset = 80 */
+#endif
+/* 80 */ 0x32, /* FC_BIND_PRIMITIVE */
+ 0x0, /* 0 */
+#ifndef _ALPHA_
+/* 82 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 84 */ NdrFcShort( 0x8c ), /* 140 */
+/* 86 */ NdrFcShort( 0x28 ), /* 40 */
+/* 88 */ 0x1, /* 1 */
+ 0x9, /* 9 */
+
+ /* Parameter hEpMapper */
+
+/* 90 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 92 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 94 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter inquiry_type */
+
+/* 96 */ NdrFcShort( 0xa ), /* 10 */
+#ifndef _ALPHA_
+/* 98 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 100 */ NdrFcShort( 0x54 ), /* Type Offset=84 */
+
+ /* Parameter object */
+
+/* 102 */ NdrFcShort( 0xa ), /* 10 */
+#ifndef _ALPHA_
+/* 104 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 106 */ NdrFcShort( 0x58 ), /* Type Offset=88 */
+
+ /* Parameter Ifid */
+
+/* 108 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 110 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
+#else
+ NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
+#endif
+/* 112 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter vers_option */
+
+/* 114 */ NdrFcShort( 0x118 ), /* 280 */
+#ifndef _ALPHA_
+/* 116 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
+#else
+ NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
+#endif
+/* 118 */ NdrFcShort( 0x6c ), /* Type Offset=108 */
+
+ /* Parameter entry_handle */
+
+/* 120 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 122 */ NdrFcShort( 0x18 ), /* x86, MIPS, PPC Stack size/offset = 24 */
+#else
+ NdrFcShort( 0x30 ), /* Alpha Stack size/offset = 48 */
+#endif
+/* 124 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter max_ents */
+
+/* 126 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 128 */ NdrFcShort( 0x1c ), /* x86, MIPS, PPC Stack size/offset = 28 */
+#else
+ NdrFcShort( 0x38 ), /* Alpha Stack size/offset = 56 */
+#endif
+/* 130 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter num_ents */
+
+/* 132 */ NdrFcShort( 0x13 ), /* 19 */
+#ifndef _ALPHA_
+/* 134 */ NdrFcShort( 0x20 ), /* x86, MIPS, PPC Stack size/offset = 32 */
+#else
+ NdrFcShort( 0x40 ), /* Alpha Stack size/offset = 64 */
+#endif
+/* 136 */ NdrFcShort( 0x70 ), /* Type Offset=112 */
+
+ /* Parameter entries */
+
+/* 138 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 140 */ NdrFcShort( 0x24 ), /* x86, MIPS, PPC Stack size/offset = 36 */
+#else
+ NdrFcShort( 0x48 ), /* Alpha Stack size/offset = 72 */
+#endif
+/* 142 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter status */
+
+/* 144 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
+ 0xf, /* FC_IGNORE */
+/* 146 */
+ 0x4d, /* FC_IN_PARAM */
+#ifndef _ALPHA_
+ 0x1, /* x86, MIPS & PPC Stack size = 1 */
+#else
+ 0x2, /* Alpha Stack size = 2 */
+#endif
+/* 148 */ NdrFcShort( 0x54 ), /* Type Offset=84 */
+/* 150 */
+ 0x4d, /* FC_IN_PARAM */
+#ifndef _ALPHA_
+ 0x1, /* x86, MIPS & PPC Stack size = 1 */
+#else
+ 0x2, /* Alpha Stack size = 2 */
+#endif
+/* 152 */ NdrFcShort( 0x82 ), /* Type Offset=130 */
+/* 154 */
+ 0x50, /* FC_IN_OUT_PARAM */
+#ifndef _ALPHA_
+ 0x1, /* x86, MIPS & PPC Stack size = 1 */
+#else
+ 0x2, /* Alpha Stack size = 2 */
+#endif
+/* 156 */ NdrFcShort( 0x86 ), /* Type Offset=134 */
+/* 158 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
+ 0x8, /* FC_LONG */
+/* 160 */
+ 0x51, /* FC_OUT_PARAM */
+#ifndef _ALPHA_
+ 0x1, /* x86, MIPS & PPC Stack size = 1 */
+#else
+ 0x2, /* Alpha Stack size = 2 */
+#endif
+/* 162 */ NdrFcShort( 0x50 ), /* Type Offset=80 */
+/* 164 */
+ 0x51, /* FC_OUT_PARAM */
+#ifndef _ALPHA_
+ 0x1, /* x86, MIPS & PPC Stack size = 1 */
+#else
+ 0x2, /* Alpha Stack size = 2 */
+#endif
+/* 166 */ NdrFcShort( 0x8e ), /* Type Offset=142 */
+/* 168 */
+ 0x51, /* FC_OUT_PARAM */
+#ifndef _ALPHA_
+ 0x1, /* x86, MIPS & PPC Stack size = 1 */
+#else
+ 0x2, /* Alpha Stack size = 2 */
+#endif
+/* 170 */ NdrFcShort( 0x50 ), /* Type Offset=80 */
+/* 172 */ 0x5b, /* FC_END */
+ 0x5c, /* FC_PAD */
+
+ /* Procedure ept_lookup_handle_free */
+
+/* 174 */ 0x0, /* 0 */
+ 0x41, /* 65 */
+/* 176 */ NdrFcShort( 0x4 ), /* 4 */
+#ifndef _ALPHA_
+/* 178 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 180 */ 0x32, /* FC_BIND_PRIMITIVE */
+ 0x0, /* 0 */
+#ifndef _ALPHA_
+/* 182 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 184 */ NdrFcShort( 0x18 ), /* 24 */
+/* 186 */ NdrFcShort( 0x20 ), /* 32 */
+/* 188 */ 0x0, /* 0 */
+ 0x2, /* 2 */
+
+ /* Parameter h */
+
+/* 190 */ NdrFcShort( 0x118 ), /* 280 */
+#ifndef _ALPHA_
+/* 192 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 194 */ NdrFcShort( 0x6c ), /* Type Offset=108 */
+
+ /* Parameter entry_handle */
+
+/* 196 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 198 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 200 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure ept_inq_object */
+
+
+ /* Parameter status */
+
+/* 202 */ 0x0, /* 0 */
+ 0x41, /* 65 */
+/* 204 */ NdrFcShort( 0x5 ), /* 5 */
+#ifndef _ALPHA_
+/* 206 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 208 */ 0x32, /* FC_BIND_PRIMITIVE */
+ 0x0, /* 0 */
+#ifndef _ALPHA_
+/* 210 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 212 */ NdrFcShort( 0x20 ), /* 32 */
+/* 214 */ NdrFcShort( 0x8 ), /* 8 */
+/* 216 */ 0x0, /* 0 */
+ 0x2, /* 2 */
+
+ /* Parameter hEpMapper */
+
+/* 218 */ NdrFcShort( 0x10a ), /* 266 */
+#ifndef _ALPHA_
+/* 220 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 222 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
+
+ /* Parameter ept_object */
+
+/* 224 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 226 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 228 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure ept_mgmt_delete */
+
+
+ /* Parameter status */
+
+/* 230 */ 0x0, /* 0 */
+ 0x41, /* 65 */
+/* 232 */ NdrFcShort( 0x6 ), /* 6 */
+#ifndef _ALPHA_
+/* 234 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
+#else
+ NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
+#endif
+/* 236 */ 0x32, /* FC_BIND_PRIMITIVE */
+ 0x0, /* 0 */
+#ifndef _ALPHA_
+/* 238 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 240 */ NdrFcShort( 0x30 ), /* 48 */
+/* 242 */ NdrFcShort( 0x8 ), /* 8 */
+/* 244 */ 0x2, /* 2 */
+ 0x4, /* 4 */
+
+ /* Parameter hEpMapper */
+
+/* 246 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 248 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 250 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter object_speced */
+
+/* 252 */ NdrFcShort( 0xa ), /* 10 */
+#ifndef _ALPHA_
+/* 254 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 256 */ NdrFcShort( 0x54 ), /* Type Offset=84 */
+
+ /* Parameter object */
+
+/* 258 */ NdrFcShort( 0xb ), /* 11 */
+#ifndef _ALPHA_
+/* 260 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 262 */ NdrFcShort( 0x82 ), /* Type Offset=130 */
+
+ /* Parameter tower */
+
+/* 264 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 266 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
+#else
+ NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
+#endif
+/* 268 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Procedure OpenEndpointMapper */
+
+
+ /* Parameter status */
+
+/* 270 */ 0x0, /* 0 */
+ 0x60, /* 96 */
+/* 272 */ NdrFcShort( 0x0 ), /* 0 */
+#ifndef _ALPHA_
+/* 274 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 276 */ 0x32, /* FC_BIND_PRIMITIVE */
+ 0x0, /* 0 */
+#ifndef _ALPHA_
+/* 278 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 280 */ NdrFcShort( 0x0 ), /* 0 */
+/* 282 */ NdrFcShort( 0x20 ), /* 32 */
+/* 284 */ 0x4, /* 4 */
+ 0x2, /* 2 */
+
+ /* Parameter hServer */
+
+/* 286 */ NdrFcShort( 0x110 ), /* 272 */
+#ifndef _ALPHA_
+/* 288 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 290 */ NdrFcShort( 0xbc ), /* Type Offset=188 */
+
+ /* Parameter pProcessHandle */
+
+/* 292 */ NdrFcShort( 0x70 ), /* 112 */
+#ifndef _ALPHA_
+/* 294 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 296 */ 0x10, /* FC_ERROR_STATUS_T */
+ 0x0, /* 0 */
+
+ /* Procedure AllocateReservedIPPort */
+
+
+ /* Return value */
+
+/* 298 */ 0x0, /* 0 */
+ 0x60, /* 96 */
+/* 300 */ NdrFcShort( 0x1 ), /* 1 */
+#ifndef _ALPHA_
+/* 302 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
+#else
+ NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
+#endif
+/* 304 */ 0x30, /* FC_BIND_CONTEXT */
+ 0x40, /* 64 */
+#ifndef _ALPHA_
+/* 306 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 308 */ 0x1, /* 1 */
+ 0x0, /* 0 */
+/* 310 */ NdrFcShort( 0x20 ), /* 32 */
+/* 312 */ NdrFcShort( 0x16 ), /* 22 */
+/* 314 */ 0x4, /* 4 */
+ 0x5, /* 5 */
+
+ /* Parameter hProcess */
+
+/* 316 */ NdrFcShort( 0x8 ), /* 8 */
+#ifndef _ALPHA_
+/* 318 */ NdrFcShort( 0x0 ), /* x86, MIPS, PPC Stack size/offset = 0 */
+#else
+ NdrFcShort( 0x0 ), /* Alpha Stack size/offset = 0 */
+#endif
+/* 320 */ NdrFcShort( 0xc0 ), /* Type Offset=192 */
+
+ /* Parameter DesiredPort */
+
+/* 322 */ NdrFcShort( 0x48 ), /* 72 */
+#ifndef _ALPHA_
+/* 324 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 326 */ 0xe, /* FC_ENUM32 */
+ 0x0, /* 0 */
+
+ /* Parameter pAllocationStatus */
+
+/* 328 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 330 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
+#else
+ NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
+#endif
+/* 332 */ 0x8, /* FC_LONG */
+ 0x0, /* 0 */
+
+ /* Parameter pPort */
+
+/* 334 */ NdrFcShort( 0x2150 ), /* 8528 */
+#ifndef _ALPHA_
+/* 336 */ NdrFcShort( 0xc ), /* x86, MIPS, PPC Stack size/offset = 12 */
+#else
+ NdrFcShort( 0x18 ), /* Alpha Stack size/offset = 24 */
+#endif
+/* 338 */ 0x6, /* FC_SHORT */
+ 0x0, /* 0 */
+
+ /* Return value */
+
+/* 340 */ NdrFcShort( 0x70 ), /* 112 */
+#ifndef _ALPHA_
+/* 342 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
+#else
+ NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
+#endif
+/* 344 */ 0x10, /* FC_ERROR_STATUS_T */
+ 0x0, /* 0 */
+
+ 0x0
+ }
+ };
+
+static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
+ {
+ 0,
+ {
+
+ 0x1d, /* FC_SMFARRAY */
+ 0x0, /* 0 */
+/* 2 */ NdrFcShort( 0x8 ), /* 8 */
+/* 4 */ 0x2, /* FC_CHAR */
+ 0x5b, /* FC_END */
+/* 6 */
+ 0x15, /* FC_STRUCT */
+ 0x3, /* 3 */
+/* 8 */ NdrFcShort( 0x10 ), /* 16 */
+/* 10 */ 0x8, /* FC_LONG */
+ 0x6, /* FC_SHORT */
+/* 12 */ 0x6, /* FC_SHORT */
+ 0x4c, /* FC_EMBEDDED_COMPLEX */
+/* 14 */ 0x0, /* 0 */
+ NdrFcShort( 0xfffffff1 ), /* Offset= -15 (0) */
+ 0x5b, /* FC_END */
+/* 18 */
+ 0x26, /* FC_CSTRING */
+ 0x5c, /* FC_PAD */
+/* 20 */ NdrFcShort( 0x40 ), /* 64 */
+/* 22 */
+ 0x1b, /* FC_CARRAY */
+ 0x0, /* 0 */
+/* 24 */ NdrFcShort( 0x1 ), /* 1 */
+/* 26 */ 0x8, /* 8 */
+ 0x0, /* */
+/* 28 */ NdrFcShort( 0xfffffffc ), /* -4 */
+/* 30 */ 0x1, /* FC_BYTE */
+ 0x5b, /* FC_END */
+/* 32 */
+ 0x17, /* FC_CSTRUCT */
+ 0x3, /* 3 */
+/* 34 */ NdrFcShort( 0x4 ), /* 4 */
+/* 36 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (22) */
+/* 38 */ 0x8, /* FC_LONG */
+ 0x5b, /* FC_END */
+/* 40 */
+ 0x1a, /* FC_BOGUS_STRUCT */
+ 0x3, /* 3 */
+/* 42 */ NdrFcShort( 0x54 ), /* 84 */
+/* 44 */ NdrFcShort( 0x0 ), /* 0 */
+/* 46 */ NdrFcShort( 0xc ), /* Offset= 12 (58) */
+/* 48 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
+ 0x0, /* 0 */
+/* 50 */ NdrFcShort( 0xffffffd4 ), /* Offset= -44 (6) */
+/* 52 */ 0x36, /* FC_POINTER */
+ 0x4c, /* FC_EMBEDDED_COMPLEX */
+/* 54 */ 0x0, /* 0 */
+ NdrFcShort( 0xffffffdb ), /* Offset= -37 (18) */
+ 0x5b, /* FC_END */
+/* 58 */
+ 0x14, 0x0, /* FC_FP */
+/* 60 */ NdrFcShort( 0xffffffe4 ), /* Offset= -28 (32) */
+/* 62 */
+ 0x21, /* FC_BOGUS_ARRAY */
+ 0x3, /* 3 */
+/* 64 */ NdrFcShort( 0x0 ), /* 0 */
+/* 66 */ 0x28, /* 40 */
+ 0x0, /* */
+#ifndef _ALPHA_
+/* 68 */ NdrFcShort( 0x4 ), /* x86, MIPS, PPC Stack size/offset = 4 */
+#else
+ NdrFcShort( 0x8 ), /* Alpha Stack size/offset = 8 */
+#endif
+/* 70 */ NdrFcLong( 0xffffffff ), /* -1 */
+/* 74 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
+ 0x0, /* 0 */
+/* 76 */ NdrFcShort( 0xffffffdc ), /* Offset= -36 (40) */
+/* 78 */ 0x5c, /* FC_PAD */
+ 0x5b, /* FC_END */
+/* 80 */
+ 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
+/* 82 */ 0x8, /* FC_LONG */
+ 0x5c, /* FC_PAD */
+/* 84 */
+ 0x14, 0x0, /* FC_FP */
+/* 86 */ NdrFcShort( 0xffffffb0 ), /* Offset= -80 (6) */
+/* 88 */
+ 0x14, 0x0, /* FC_FP */
+/* 90 */ NdrFcShort( 0x2 ), /* Offset= 2 (92) */
+/* 92 */
+ 0x15, /* FC_STRUCT */
+ 0x3, /* 3 */
+/* 94 */ NdrFcShort( 0x14 ), /* 20 */
+/* 96 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
+ 0x0, /* 0 */
+/* 98 */ NdrFcShort( 0xffffffa4 ), /* Offset= -92 (6) */
+/* 100 */ 0x6, /* FC_SHORT */
+ 0x6, /* FC_SHORT */
+/* 102 */ 0x5c, /* FC_PAD */
+ 0x5b, /* FC_END */
+/* 104 */
+ 0x11, 0x4, /* FC_RP [alloced_on_stack] */
+/* 106 */ NdrFcShort( 0x2 ), /* Offset= 2 (108) */
+/* 108 */ 0x30, /* FC_BIND_CONTEXT */
+ 0xe0, /* 224 */
+/* 110 */ 0x0, /* 0 */
+ 0x0, /* 0 */
+/* 112 */
+ 0x21, /* FC_BOGUS_ARRAY */
+ 0x3, /* 3 */
+/* 114 */ NdrFcShort( 0x0 ), /* 0 */
+/* 116 */ 0x28, /* 40 */
+ 0x0, /* */
+#ifndef _ALPHA_
+/* 118 */ NdrFcShort( 0x18 ), /* x86, MIPS, PPC Stack size/offset = 24 */
+#else
+ NdrFcShort( 0x30 ), /* Alpha Stack size/offset = 48 */
+#endif
+/* 120 */ 0x28, /* 40 */
+ 0x54, /* FC_DEREFERENCE */
+#ifndef _ALPHA_
+/* 122 */ NdrFcShort( 0x1c ), /* x86, MIPS, PPC Stack size/offset = 28 */
+#else
+ NdrFcShort( 0x38 ), /* Alpha Stack size/offset = 56 */
+#endif
+/* 124 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
+ 0x0, /* 0 */
+/* 126 */ NdrFcShort( 0xffffffaa ), /* Offset= -86 (40) */
+/* 128 */ 0x5c, /* FC_PAD */
+ 0x5b, /* FC_END */
+/* 130 */
+ 0x14, 0x0, /* FC_FP */
+/* 132 */ NdrFcShort( 0xffffff9c ), /* Offset= -100 (32) */
+/* 134 */
+ 0x11, 0x0, /* FC_RP */
+/* 136 */ NdrFcShort( 0x2 ), /* Offset= 2 (138) */
+/* 138 */ 0x30, /* FC_BIND_CONTEXT */
+ 0xe0, /* 224 */
+/* 140 */ 0x0, /* 0 */
+ 0x3, /* 3 */
+/* 142 */
+ 0x11, 0x0, /* FC_RP */
+/* 144 */ NdrFcShort( 0x2 ), /* Offset= 2 (146) */
+/* 146 */
+ 0x1c, /* FC_CVARRAY */
+ 0x3, /* 3 */
+/* 148 */ NdrFcShort( 0x4 ), /* 4 */
+/* 150 */ 0x28, /* 40 */
+ 0x0, /* */
+#ifndef _ALPHA_
+/* 152 */ NdrFcShort( 0x10 ), /* x86, MIPS, PPC Stack size/offset = 16 */
+#else
+ NdrFcShort( 0x20 ), /* Alpha Stack size/offset = 32 */
+#endif
+/* 154 */ 0x28, /* 40 */
+ 0x54, /* FC_DEREFERENCE */
+#ifndef _ALPHA_
+/* 156 */ NdrFcShort( 0x14 ), /* x86, MIPS, PPC Stack size/offset = 20 */
+#else
+ NdrFcShort( 0x28 ), /* Alpha Stack size/offset = 40 */
+#endif
+/* 158 */
+ 0x4b, /* FC_PP */
+ 0x5c, /* FC_PAD */
+/* 160 */
+ 0x48, /* FC_VARIABLE_REPEAT */
+ 0x4a, /* FC_VARIABLE_OFFSET */
+/* 162 */ NdrFcShort( 0x4 ), /* 4 */
+/* 164 */ NdrFcShort( 0x0 ), /* 0 */
+/* 166 */ NdrFcShort( 0x1 ), /* 1 */
+/* 168 */ NdrFcShort( 0x0 ), /* 0 */
+/* 170 */ NdrFcShort( 0x0 ), /* 0 */
+/* 172 */ 0x14, 0x0, /* FC_FP */
+/* 174 */ NdrFcShort( 0xffffff72 ), /* Offset= -142 (32) */
+/* 176 */
+ 0x5b, /* FC_END */
+
+ 0x8, /* FC_LONG */
+/* 178 */ 0x5c, /* FC_PAD */
+ 0x5b, /* FC_END */
+/* 180 */
+ 0x11, 0x0, /* FC_RP */
+/* 182 */ NdrFcShort( 0xffffff50 ), /* Offset= -176 (6) */
+/* 184 */
+ 0x11, 0x4, /* FC_RP [alloced_on_stack] */
+/* 186 */ NdrFcShort( 0x2 ), /* Offset= 2 (188) */
+/* 188 */ 0x30, /* FC_BIND_CONTEXT */
+ 0xa0, /* 160 */
+/* 190 */ 0x1, /* 1 */
+ 0x0, /* 0 */
+/* 192 */ 0x30, /* FC_BIND_CONTEXT */
+ 0x40, /* 64 */
+/* 194 */ 0x1, /* 1 */
+ 0x0, /* 0 */
+/* 196 */
+ 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
+/* 198 */ 0x6, /* FC_SHORT */
+ 0x5c, /* FC_PAD */
+
+ 0x0
+ }
+ };
diff --git a/private/rpc/runtime/rtifs/mac/makefile b/private/rpc/runtime/rtifs/mac/makefile
new file mode 100644
index 000000000..634bf4671
--- /dev/null
+++ b/private/rpc/runtime/rtifs/mac/makefile
@@ -0,0 +1,77 @@
+# --------------------------------------------------------------------
+#
+# Microsoft RPC
+# Copyright(c) Microsoft Corp., 1990-94
+#
+# --------------------------------------------------------------------
+# --------------------------------------------------------------------
+#
+# File : makefile.
+#
+# Title : Makefile for the Macintosh RPC runtime interfaces
+#
+# Description :
+# This just compiles the .idl files and puts the stubs in
+# ..\..\mtrt\mac
+#
+# History :
+#
+# --------------------------------------------------------------------
+
+!ifndef RPC
+!error - You forgot to set your build environment
+!endif
+
+MAC=1
+
+!include ..\rules.mk
+
+TARGETDIR =$(RPC)\runtime\mtrt\mac
+
+NBASE_HDR =$(TARGETDIR)\nbase.h
+
+# Currently the mgmt APIs are not supported on Mac
+
+#MGMT_HDR =$(TARGETDIR)\mgmt.h
+#MGMT_CSTUB=$(TARGETDIR)\mgmt_c.c
+
+# Currently the conv inteface (part of datagram) is not used on the Mac.
+#CONV_HDR =$(TARGETDIR)\conv.h
+#CONV_CSTUB=$(TARGETDIR)\conv_c.c
+
+EPMP_HDR =$(TARGETDIR)\epmp.h
+EPMP_CSTUB=$(TARGETDIR)\epmp_c.c
+
+all : nbase conv epmp
+
+clean ::
+ -del $(NBASE_HDR) $(EPMP_CSTUB) $(EPMP_HDR) >nul 2>&1
+
+depend :
+
+tree :
+
+# -------------------------------------------------------------
+# Local targets
+#
+
+MIDLFLAGS =$(MIDLFLAGS) -c_ext -ms_ext -oldnames
+
+nbase: $(NBASE_HDR)
+
+$(NBASE_HDR): ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(NBASE_HDR) -server none -client none \
+ ..\nbase.idl
+
+conv: $(CONV_HDR) $(CONV_CSTUB)
+# no datagram yet..
+
+epmp: $(EPMP_HDR) $(EPMP_CSTUB)
+
+$(EPMP_HDR) $(EPMP_CSTUB): ..\epmp.idl ..\epmp.acf ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) -I..\..\mtrt \
+ -header $(EPMP_HDR) -cstub $(EPMP_CSTUB) \
+ -server none \
+ ..\epmp.idl
+
diff --git a/private/rpc/runtime/rtifs/makefile b/private/rpc/runtime/rtifs/makefile
new file mode 100644
index 000000000..1de9a949d
--- /dev/null
+++ b/private/rpc/runtime/rtifs/makefile
@@ -0,0 +1,57 @@
+# --------------------------------------------------------------------
+#
+# Microsoft RPC
+# Copyright(c) Microsoft Corp., 1990-94
+#
+# --------------------------------------------------------------------
+# --------------------------------------------------------------------
+#
+# File : makefile.
+#
+# Title : Makefile for the RPC runtime interfaces (stubs)
+#
+# Description :
+# This makefile invokes make on subdirectories to actually get some
+# real work done.
+#
+# History :
+# --------------------------------------------------------------------
+
+!ifdef NTMAKEENV
+
+!include $(NTMAKEENV)\makefile.def
+
+!else # NTMAKEENV
+
+!ifndef RPC
+!error - You forgot to set your build environment
+!endif
+
+ALL=1
+
+!include ..\rules.mk
+
+!if "$(TRG)" == "ALL"
+TARGETDIRS = $(CLIENT_SUBDIRS)
+!else
+TARGETDIRS = $(TRG)
+!endif
+
+all :
+ for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) || exit ) && cd ..)
+
+clean :
+ for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) clean || exit ) && cd ..)
+
+clobber :
+ for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) clobber || exit ) && cd ..)
+
+depend :
+ for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) depend || exit ) && cd ..)
+
+tree :
+ for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) tree || exit ) && cd ..)
+
+
+!endif # NTMAKEENV
+
diff --git a/private/rpc/runtime/rtifs/makefile.inc b/private/rpc/runtime/rtifs/makefile.inc
new file mode 100644
index 000000000..66833fa1b
--- /dev/null
+++ b/private/rpc/runtime/rtifs/makefile.inc
@@ -0,0 +1,87 @@
+
+!INCLUDE $(NTMAKEENV)\makefile.plt
+
+NBASE_HDR =obj\nbase.h
+
+MGMT_HDR =obj\mgmt.h
+MGMT_CSTUB=mgmt_c.c
+MGMT_SSTUB=mgmt_s.c
+
+CONV_HDR =obj\conv.h
+CONV_CSTUB=conv_c.c
+CONV_SSTUB=conv_s.c
+
+# The endpoint mapper client and server stubs are checked in to
+# fixup a problem with compatibility with nt 3.1 era systems.
+
+EPMP_HDR =obj\epmp.h
+EPMP_CSTUB=epmp_c.gen
+EPMP_SSTUB=..\epmap\epmp_s.gen
+
+CPP_CMD = -cpp_cmd "$(MIDL_CPP)"
+CPP_OPT = $(MIDL_FLAGS)
+
+COMMON_FLAGS= -Oi2 -error allocation -c_ext -ms_ext -I..\mtrt -oldnames -DNTENV $(CPP_CMD) $(CPP_OPT)
+
+all: mgmt conv epmp
+!IF "$(BUILDMSG)" != ""
+ @ech ; $(BUILDMSG) ;
+!ENDIF
+
+clean: delsrc allidl
+
+delsrc:
+ -del $(MGMT_HDR) $(MGMT_CSTUB) $(MGMT_SSTUB) \
+ $(CONV_HDR) $(CONV_CSTUB) $(CONV_SSTUB) \
+ $(EPMP_HDR) $(EPMP_CSTUB) $(EPMP_SSTUB) >nul 2>&1
+
+allidl: nbase mgmt epmp conv
+
+#
+# Common DCE types, imported into all the other .idls
+#
+
+nbase: $(NBASE_HDR)
+
+$(NBASE_HDR): nbase.idl
+ midl $(COMMON_FLAGS) -server none -client none -header $(NBASE_HDR)\
+ nbase.idl
+
+#
+# Remote RPC Management APIs
+#
+mgmt: $(MGMT_HDR) $(MGMT_CSTUB) $(MGMT_SSTUB)
+
+$(MGMT_HDR) $(MGMT_CSTUB) : mgmt.idl mgmt.acf nbase.idl
+ midl $(COMMON_FLAGS) -prefix client _ \
+ -server none -cstub $(MGMT_CSTUB) -header $(MGMT_HDR) mgmt.idl
+
+$(MGMT_SSTUB) : mgmt.idl mgmt.acf nbase.idl
+ midl $(COMMON_FLAGS:Oi2=Os) -prefix client _ \
+ -client none -sstub $(MGMT_SSTUB) mgmt.idl
+
+#
+# Conversation interface - datagram callback to verify client id.
+#
+conv: $(CONV_HDR) $(CONV_CSTUB) $(CONV_SSTUB)
+
+$(CONV_HDR) $(CONV_CSTUB) : conv.idl nbase.idl
+ midl $(COMMON_FLAGS:Oi2=Os) -prefix client _ \
+ -server none -cstub $(CONV_CSTUB) -header $(CONV_HDR) conv.idl
+
+$(CONV_SSTUB) : conv.idl nbase.idl
+ midl $(COMMON_FLAGS:Oi2=Os) -prefix client _ \
+ -client none -sstub $(CONV_SSTUB) conv.idl
+#
+# Endpoint mapper interface
+#
+epmp: $(EPMP_HDR) $(EPMP_CSTUB) $(EPMP_SSTUB)
+
+$(EPMP_HDR) $(EPMP_CSTUB) : epmp.idl epmp.acf nbase.idl
+ midl $(COMMON_FLAGS) \
+ -server none -cstub $(EPMP_CSTUB) -header $(EPMP_HDR) epmp.idl
+
+$(EPMP_SSTUB) : epmp.idl epmp.acf nbase.idl
+ midl $(COMMON_FLAGS) \
+ -client none -sstub $(EPMP_SSTUB) epmp.idl
+
diff --git a/private/rpc/runtime/rtifs/mgmt.acf b/private/rpc/runtime/rtifs/mgmt.acf
new file mode 100644
index 000000000..007f00f43
--- /dev/null
+++ b/private/rpc/runtime/rtifs/mgmt.acf
@@ -0,0 +1,28 @@
+/*++
+
+Copyright (c) 1991 Microsoft Corporation
+
+Module Name:
+
+ mgmt.acf
+
+Abstract:
+
+ The accompanying acf file for mgmt.idl
+
+Author:
+
+
+Revision History:
+
+--*/
+interface mgmt
+{
+rpc_mgmt_inq_if_ids ([comm_status, fault_status] status );
+rpc_mgmt_inq_stats ( [comm_status, fault_status] status );
+rpc_mgmt_is_server_listening ( [comm_status, fault_status] status );
+rpc_mgmt_stop_server_listening ( [comm_status, fault_status] status );
+rpc_mgmt_inq_princ_name ( [comm_status, fault_status] status );
+}
+
+
diff --git a/private/rpc/runtime/rtifs/mgmt.idl b/private/rpc/runtime/rtifs/mgmt.idl
new file mode 100644
index 000000000..c59bb9e31
--- /dev/null
+++ b/private/rpc/runtime/rtifs/mgmt.idl
@@ -0,0 +1,98 @@
+/*++
+
+Copyright (c) 1991 Microsoft Corporation
+
+Module Name:
+
+ mgmt.idl
+
+Abstract:
+
+ This file specifies the remote mgmt api interface as specified
+ in the AES Appendix Q. with some modifications.
+
+Author:
+
+ AES ??
+
+Revision History:
+
+--*/
+
+[uuid(afa8bd80-7d8a-11c9-bef4-08002b102989), version(1)]
+
+interface mgmt
+{
+import "nbase.idl";
+
+typedef unsigned long error_status_t;
+typedef struct
+{
+ unsigned long Count;
+ [size_is(Count)] RPC_IF_ID * IfId[];
+} * rpc_if_id_vector_p_t;
+
+/*
+ * R P C _ _ M G M T _ I N Q _ I F _ I D S
+ */
+
+void rpc_mgmt_inq_if_ids
+(
+ [in] handle_t binding_handle,
+ [out] rpc_if_id_vector_p_t *if_id_vector,
+ [out] error_status_t *status
+);
+
+
+/*
+ * R P C _ _ M G M T _ I N Q _ S T A T S
+ */
+
+void rpc_mgmt_inq_stats
+(
+ [in] handle_t binding_handle,
+ [in, out] unsigned32 *count,
+ [out, size_is (*count)] unsigned32 statistics[*],
+ [out] error_status_t *status
+);
+
+
+/*
+ * R P C _ _ M G M T _ I S _ S E R V E R _ L I S T E N I N G
+ */
+
+boolean32 rpc_mgmt_is_server_listening
+(
+ [in] handle_t binding_handle,
+ [out] error_status_t *status
+);
+
+
+/*
+ * R P C _ _ M G M T _ S T O P _ S E R V E R _ L I S T E N I N G
+ */
+
+void rpc_mgmt_stop_server_listening
+(
+ [in] handle_t binding_handle,
+ [out] error_status_t *status
+);
+
+
+/*
+ * R P C _ _ M G M T _ I N Q _ P R I N C _ N A M E
+ */
+
+void rpc_mgmt_inq_princ_name
+(
+ [in] handle_t binding_handle,
+ [in] unsigned32 authn_proto,
+ [in] unsigned32 princ_name_size,
+ [out, string, size_is(princ_name_size)]
+ char princ_name[],
+ [out] error_status_t *status
+);
+
+}
+
+
diff --git a/private/rpc/runtime/rtifs/mppc/makefile b/private/rpc/runtime/rtifs/mppc/makefile
new file mode 100644
index 000000000..37feae0e7
--- /dev/null
+++ b/private/rpc/runtime/rtifs/mppc/makefile
@@ -0,0 +1,77 @@
+# --------------------------------------------------------------------
+#
+# Microsoft RPC
+# Copyright(c) Microsoft Corp., 1990-94
+#
+# --------------------------------------------------------------------
+# --------------------------------------------------------------------
+#
+# File : makefile.
+#
+# Title : Makefile for the Macintosh RPC runtime interfaces
+#
+# Description :
+# This just compiles the .idl files and puts the stubs in
+# ..\..\mtrt\mac
+#
+# History :
+#
+# --------------------------------------------------------------------
+
+!ifndef RPC
+!error - You forgot to set your build environment
+!endif
+
+MPPC=1
+
+!include ..\rules.mk
+
+TARGETDIR =$(RPC)\runtime\mtrt\mppc
+
+NBASE_HDR =$(TARGETDIR)\nbase.h
+
+# Currently the mgmt APIs are not supported on Mac
+
+#MGMT_HDR =$(TARGETDIR)\mgmt.h
+#MGMT_CSTUB=$(TARGETDIR)\mgmt_c.c
+
+# Currently the conv inteface (part of datagram) is not used on the Mac.
+#CONV_HDR =$(TARGETDIR)\conv.h
+#CONV_CSTUB=$(TARGETDIR)\conv_c.c
+
+EPMP_HDR =$(TARGETDIR)\epmp.h
+EPMP_CSTUB=$(TARGETDIR)\epmp_c.c
+
+all : nbase conv epmp
+
+clean ::
+ -del $(NBASE_HDR) $(EPMP_CSTUB) $(EPMP_HDR) >nul 2>&1
+
+depend :
+
+tree :
+
+# -------------------------------------------------------------
+# Local targets
+#
+
+MIDLFLAGS =$(MIDLFLAGS) -c_ext -ms_ext -oldnames
+
+nbase: $(NBASE_HDR)
+
+$(NBASE_HDR): ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(NBASE_HDR) -server none -client none \
+ ..\nbase.idl
+
+conv: $(CONV_HDR) $(CONV_CSTUB)
+# no datagram yet..
+
+epmp: $(EPMP_HDR) $(EPMP_CSTUB)
+
+$(EPMP_HDR) $(EPMP_CSTUB): ..\epmp.idl ..\epmp.acf ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) -I..\..\mtrt \
+ -header $(EPMP_HDR) -cstub $(EPMP_CSTUB) \
+ -server none \
+ ..\epmp.idl
+
diff --git a/private/rpc/runtime/rtifs/nbase.idl b/private/rpc/runtime/rtifs/nbase.idl
new file mode 100644
index 000000000..6e55d8990
--- /dev/null
+++ b/private/rpc/runtime/rtifs/nbase.idl
@@ -0,0 +1,58 @@
+/*
+
+Copyright (c) 1991 Microsoft Corporation
+
+Module Name:
+
+ nbase.idl
+
+Abstract:
+
+ Importing nbase.idl interface
+
+Author:
+
+ Bharat Shah (barats) 12-2-92
+
+
+Revision History:
+
+
+*/
+[
+ local,
+ pointer_default(ptr)
+]
+interface nbase
+{
+
+ typedef unsigned long unsigned32;
+ typedef unsigned long boolean32;
+
+cpp_quote("#ifndef GUID_DEFINED")
+cpp_quote("#define GUID_DEFINED")
+ typedef struct _GUID
+ {
+ unsigned long Data1;
+ unsigned short Data2;
+ unsigned short Data3;
+ unsigned char Data4[8];
+ } GUID;
+cpp_quote("#endif")
+
+cpp_quote("#ifndef UUID_DEFINED")
+cpp_quote("#define UUID_DEFINED")
+ typedef GUID UUID;
+cpp_quote("#endif")
+
+cpp_quote("#ifndef IFID_DEFINED")
+cpp_quote("#define IFID_DEFINED")
+ typedef struct _RPC_IF_ID
+ {
+ UUID Uuid;
+ unsigned short VersMajor;
+ unsigned short VersMinor;
+ } RPC_IF_ID;
+cpp_quote("#endif")
+}
+
diff --git a/private/rpc/runtime/rtifs/rules.mk b/private/rpc/runtime/rtifs/rules.mk
new file mode 100644
index 000000000..8ac7cf3da
--- /dev/null
+++ b/private/rpc/runtime/rtifs/rules.mk
@@ -0,0 +1 @@
+!include $(RPC)\runtime\rules.mk
diff --git a/private/rpc/runtime/rtifs/sources b/private/rpc/runtime/rtifs/sources
new file mode 100644
index 000000000..499f59c9b
--- /dev/null
+++ b/private/rpc/runtime/rtifs/sources
@@ -0,0 +1,55 @@
+!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.
+
+
+Revision History:
+
+!ENDIF
+
+TARGETNAME=rtifs
+TARGETTYPE=LIBRARY
+TARGETPATH=.
+
+INCLUDES=obj;$(BASEDIR)\private\inc
+
+
+NTPROFILEINPUT=yes
+BLDCRT=1
+MSC_WARNING_LEVEL=/WX
+
+#
+# Setup for application developer to set breakpoints with windbg
+#
+
+SOURCES= \
+ conv_c.c \
+ conv_s.c \
+ epmp_c.c \
+ mgmt_c.c \
+ mgmt_s.c
+
+!ifdef DOSWIN32RPC
+RPCENV=-DDOSWIN32RPC -DWIN32RPC
+!else
+RPCENV=-DNTENV -DWIN32RPC -DNTWIN32RPC
+!endif
+
+C_DEFINES=$(RPCENV) $(RPCTARGETENV)
+
+UMTYPE=console
+UMTEST=
+
+NTTARGETFILE0=allidl
+
diff --git a/private/rpc/runtime/rtifs/win/makefile b/private/rpc/runtime/rtifs/win/makefile
new file mode 100644
index 000000000..9d0a1467d
--- /dev/null
+++ b/private/rpc/runtime/rtifs/win/makefile
@@ -0,0 +1,83 @@
+# --------------------------------------------------------------------
+#
+# Microsoft RPC
+# Copyright(c) Microsoft Corp., 1990-94
+#
+# --------------------------------------------------------------------
+# --------------------------------------------------------------------
+#
+# File : makefile.
+#
+# Title : Makefile for the DOS RPC runtime interfaces
+#
+# Description :
+# This just compiles the .idl files and puts the stubs in
+# ..\..\mtrt\win
+#
+# History :
+#
+# --------------------------------------------------------------------
+
+!ifndef RPC
+!error - You forgot to set your build environment
+!endif
+
+WIN=1
+
+!include ..\rules.mk
+
+TARGETDIR =$(RPC)\runtime\mtrt\win
+
+# Currently the mgmt APIs are not supported on Win16
+
+NBASE_HDR =$(TARGETDIR)\nbase.h
+
+#MGMT_HDR =$(TARGETDIR)\mgmt.h
+#MGMT_CSTUB=$(TARGETDIR)\mgmt_c.c
+
+CONV_HDR =$(TARGETDIR)\conv.h
+CONV_SSTUB=$(TARGETDIR)\conv_s.c
+
+# Currently the epmp_c.c stub is checked in to work around
+# a problem with unique pointer (511 era) servers.
+EPMP_HDR =$(TARGETDIR)\epmp.h
+EPMP_CSTUB=$(TARGETDIR)\epmp_c.gen
+
+all : nbase conv epmp
+
+clean ::
+ -del $(NBASE_HDR) $(EPMP_CSTUB) $(EPMP_HDR) $(CONV_SSTUB) $(CONV_HDR) >nul 2>&1
+
+depend :
+
+tree :
+
+# -------------------------------------------------------------
+# Local targets
+#
+
+MIDLFLAGS =$(MIDLFLAGS) -c_ext -ms_ext -oldnames
+
+nbase: $(NBASE_HDR)
+
+$(NBASE_HDR): ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(NBASE_HDR) -server none -client none\
+ ..\nbase.idl
+
+conv: $(CONV_HDR) $(CONV_SSTUB)
+
+$(CONV_HDR) $(CONV_SSTUB): ..\conv.idl ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(CONV_HDR) -server stub -sstub $(CONV_SSTUB) \
+ -cstub nul -prefix client _ \
+ ..\conv.idl
+
+epmp: $(EPMP_HDR) $(EPMP_CSTUB)
+
+$(EPMP_HDR) $(EPMP_CSTUB): ..\epmp.idl ..\epmp.acf ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(EPMP_HDR) -cstub $(EPMP_CSTUB) \
+ -sstub nul \
+ ..\epmp.idl
+
diff --git a/private/rpc/runtime/rtifs/win32c/makefile b/private/rpc/runtime/rtifs/win32c/makefile
new file mode 100644
index 000000000..7618743af
--- /dev/null
+++ b/private/rpc/runtime/rtifs/win32c/makefile
@@ -0,0 +1,94 @@
+# --------------------------------------------------------------------
+#
+# Microsoft RPC
+# Copyright(c) Microsoft Corp., 1990-94
+#
+# --------------------------------------------------------------------
+# --------------------------------------------------------------------
+#
+# File : makefile.
+#
+# Title : Makefile for the DOS RPC runtime interfaces
+#
+# Description :
+# This just compiles the .idl files and puts the stubs in
+# ..\..\mtrt\win32c
+#
+# History :
+#
+# --------------------------------------------------------------------
+
+!ifndef RPC
+!error - You forgot to set your build environment
+!endif
+
+WIN32C=1
+
+!include ..\rules.mk
+
+TARGETDIR=$(RPC)\runtime\mtrt\win32c
+
+NBASE_HDR =$(TARGETDIR)\nbase.h
+
+MGMT_HDR =$(TARGETDIR)\mgmt.h
+MGMT_CSTUB=$(TARGETDIR)\mgmt_c.c
+MGMT_SSTUB=$(TARGETDIR)\mgmt_s.c
+
+CONV_HDR =$(TARGETDIR)\conv.h
+CONV_SSTUB=$(TARGETDIR)\conv_s.c
+CONV_CSTUB=$(TARGETDIR)\conv_c.c
+
+# Currently the epmp_c.c stub is checked in to work around
+# a problem with unique pointer (511 era) servers.
+EPMP_HDR =$(TARGETDIR)\epmp.h
+EPMP_CSTUB=$(TARGETDIR)\epmp_c.gen
+EPMP_SSTUB=$(TARGETDIR)\epmp_s.c
+
+MIDLFLAGS= $(MIDLFLAGS)
+
+all : nbase mgmt epmp conv
+
+clean ::
+ -del $(NBASE_HDR) $(EPMP_CSTUB) $(EPMP_HDR) $(MGMT_CSTUB) $(MGMT_HDR) $(CONV_HDR) $(CONV_CSTUB) $(CONV_SSTUB) >nul 2>&1
+
+depend :
+
+tree :
+
+# -------------------------------------------------------------
+# Local targets
+#
+
+MIDLFLAGS =$(MIDLFLAGS) -c_ext -ms_ext -oldnames
+
+nbase: $(NBASE_HDR)
+
+$(NBASE_HDR): ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) \
+ -header $(NBASE_HDR) -client none -server none \
+ ..\nbase.idl
+
+epmp: $(EPMP_HDR) $(EPMP_CSTUB) $(EPMP_SSTUB)
+
+$(EPMP_HDR) $(EPMP_CSTUB) $(EPMP_SSTUB): ..\epmp.idl ..\epmp.acf ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) -Oi2 \
+ -header $(EPMP_HDR) -cstub $(EPMP_CSTUB) \
+ -sstub $(EPMP_SSTUB) \
+ ..\epmp.idl
+
+mgmt: $(MGMT_HDR) $(MGMT_CSTUB) $(MGMT_SSTUB)
+
+$(MGMT_HDR) $(MGMT_CSTUB) $(MGMT_SSTUB): ..\mgmt.idl ..\mgmt.acf ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) -prefix cstub _ -Oi2 \
+ -header $(MGMT_HDR) -cstub $(MGMT_CSTUB) \
+ -sstub $(MGMT_SSTUB) \
+ ..\mgmt.idl
+
+conv: $(CONV_HDR) $(CONV_CSTUB) $(CONV_SSTUB)
+
+$(CONV_HDR) $(CONV_CSTUB) $(CONV_SSTUB): ..\conv.idl ..\nbase.idl
+ $(MIDL) $(MIDLFLAGS) -prefix cstub _ \
+ -header $(CONV_HDR) -cstub $(CONV_CSTUB) \
+ -sstub $(CONV_SSTUB) \
+ ..\conv.idl
+