blob: 51dd705726ee5697daea0e1d97a9cb0e7b5dd547 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
/*++
Copyright (c) 1990-1993 Microsoft Corporation
Module Name:
nwrpcp.h
Abstract:
This file contains prototypes for commonly used RPC functionality.
This includes: bind/unbind functions, MIDL user alloc/free functions,
and server start/stop functions.
Author:
Dan Lafferty danl 06-Feb-1991
Environment:
User Mode - Win32
Revision History:
06-Feb-1991 danl
Created
26-Apr-1991 JohnRo
Added IN and OUT keywords to MIDL functions. Commented-out
(nonstandard) identifier on endif. Deleted tabs.
03-July-1991 JimK
Commonly used aspects copied from LM specific file.
10-Feb-1993 RitaW
Copied to the NetWare tree so that the LPC transport can used for
the local case.
--*/
#ifndef _NWRPCP_
#define _NWRPCP_
#include <nt.h>
#include <ntrtl.h> // needed for nturtl.h
#include <nturtl.h>
#include <windows.h> // win32 typedefs
#include <rpc.h>
//
// DEFINES
//
//
// Function Prototypes - routines called by MIDL-generated code:
//
void *
MIDL_user_allocate(
IN unsigned int NumBytes
);
void
MIDL_user_free(
IN void *MemPointer
);
//
// Function Prototypes - routines to go along with the above, but aren't
// needed by MIDL or any other non-network software.
//
void *
MIDL_user_reallocate(
IN void * OldPointer OPTIONAL,
IN unsigned long NewByteCount
);
unsigned long
MIDL_user_size(
IN void * Pointer
);
//
// client side functions
//
RPC_STATUS
RpcpBindRpc(
#if 0
IN LPWSTR servername,
#endif
IN LPWSTR servicename,
IN LPWSTR networkoptions,
OUT RPC_BINDING_HANDLE * pBindingHandle
);
VOID
RpcpUnbindRpc(
IN RPC_BINDING_HANDLE BindingHandle
);
//
// server side functions
//
VOID
RpcpInitRpcServer(
VOID
);
RPC_STATUS
RpcpAddInterface(
IN LPWSTR InterfaceName,
IN RPC_IF_HANDLE InterfaceSpecification
);
RPC_STATUS
RpcpStartRpcServer(
IN LPWSTR InterfaceName,
IN RPC_IF_HANDLE InterfaceSpecification
);
RPC_STATUS
RpcpDeleteInterface(
IN RPC_IF_HANDLE InterfaceSpecification
);
RPC_STATUS
RpcpStopRpcServer(
IN RPC_IF_HANDLE InterfaceSpecification
);
#endif // _NWRPCP_
|