blob: 566e9de329f7d6044d5490da77b9ab8b58df5df1 (
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
|
/*++
Copyright (c) 1990,91 Microsoft Corporation
Module Name:
rpcutil.h
Abstract:
This file contains prototypes for the bind and unbind functions that
all net api stub functions will call. It also includes the allocate
and free routines used by the MIDL generated RPC stubs.
Author:
Dan Lafferty danl 06-Feb-1991
Scott Birrell (ScottBi) April 30, 1991 - LSA Version
[Environment:]
User Mode - Win32
Revision History:
--*/
#ifndef _RPCUTIL_
#define _RPCUTIL_
#ifndef RPC_NO_WINDOWS_H // Don't let rpc.h include windows.h
#define RPC_NO_WINDOWS_H
#endif // RPC_NO_WINDOWS_H
#include <rpc.h>
//
// DEFINES
//
// BUGBUG - Change these when RPC uses Win32 APIs for named pipes.
//
#define LOCAL_NMPIPE_NAME TEXT("\\Device\\Namedpipe\\")
#define REMOTE_NMPIPE_NAME TEXT("\\Device\\LanmanRedirector\\")
#define NT_PIPE_PREFIX TEXT("\\PIPE\\")
//
// Function Prototypes
//
void *
MIDL_user_allocate(
IN ULONG NumBytes
);
void
MIDL_user_free(
IN PVOID MemPointer
);
RPC_STATUS
LsapBindRpc(
IN PLSAPR_SERVER_NAME ServerName,
OUT RPC_BINDING_HANDLE * pBindingHandle
);
RPC_STATUS
LsapUnbindRpc(
RPC_BINDING_HANDLE BindingHandle
);
#endif // _RPCUTIL_
|