Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

76 lines
1.2 KiB

/*++
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_