--- mstools/h/rpcnsip.h 2018/08/09 18:20:28 1.1 +++ mstools/h/rpcnsip.h 2018/08/09 18:23:00 1.1.1.2 @@ -1,6 +1,6 @@ /*++ -Copyright (c) 1992 Microsoft Corporation +Copyright (c) 1992-1993 Microsoft Corporation Module Name: @@ -11,15 +11,15 @@ Abstract: This file contains the types and function definitions to use the to implement the autohandle features of the runtime. -Author: - - Steven Zeck (stevez) 03/09/92 - --*/ #ifndef __RPCNSIP_H__ #define __RPCNSIP_H__ +#ifdef __cplusplus +extern "C" { +#endif + typedef struct { RPC_NS_HANDLE LookupContext; @@ -39,7 +39,7 @@ I_RpcNsGetBuffer( RPC_STATUS RPC_ENTRY I_RpcNsSendReceive( IN PRPC_MESSAGE Message, - OUT RPC_BINDING_HANDLE * Handle + OUT RPC_BINDING_HANDLE __RPC_FAR * Handle ); void RPC_ENTRY @@ -65,4 +65,8 @@ void RPC_ENTRY I_NsClientBindDone( ); +#ifdef __cplusplus +} +#endif + #endif /* __RPCNSIP_H__ */