home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / RTLWIN32.PAK / RPCNSIP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.2 KB  |  75 lines

  1. /*++
  2.  
  3. Copyright (c) 1992-1996 Microsoft Corporation
  4.  
  5. Module Name:
  6.  
  7.     rpcnsip.h
  8.  
  9. Abstract:
  10.  
  11.     This file contains the types and function definitions to use the
  12.     to implement the autohandle features of the runtime.
  13.  
  14. --*/
  15.  
  16. #ifndef __RPCNSIP_H__
  17. #define __RPCNSIP_H__
  18. #pragma option -b
  19.  
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23.  
  24. typedef struct
  25. {
  26.    RPC_NS_HANDLE        LookupContext;
  27.    RPC_BINDING_HANDLE   ProposedHandle;
  28.    RPC_BINDING_VECTOR * Bindings;
  29.  
  30. } RPC_IMPORT_CONTEXT_P, * PRPC_IMPORT_CONTEXT_P;
  31.  
  32.  
  33. /* Stub Auto Binding routines. */
  34.  
  35. RPC_STATUS RPC_ENTRY
  36. I_RpcNsGetBuffer(
  37.     IN PRPC_MESSAGE Message
  38.     );
  39.  
  40. RPC_STATUS RPC_ENTRY
  41. I_RpcNsSendReceive(
  42.     IN PRPC_MESSAGE Message,
  43.     OUT RPC_BINDING_HANDLE __RPC_FAR * Handle
  44.     );
  45.  
  46. void RPC_ENTRY
  47. I_RpcNsRaiseException(
  48.     IN PRPC_MESSAGE Message,
  49.     IN RPC_STATUS Status
  50.     );
  51.  
  52. RPC_STATUS RPC_ENTRY
  53. I_RpcReBindBuffer(
  54.     IN PRPC_MESSAGE Message
  55.     );
  56.  
  57. RPC_STATUS RPC_ENTRY
  58. I_NsServerBindSearch(
  59.     );
  60.  
  61. RPC_STATUS RPC_ENTRY
  62. I_NsClientBindSearch(
  63.     );
  64.  
  65. void RPC_ENTRY
  66. I_NsClientBindDone(
  67.     );
  68.  
  69. #ifdef __cplusplus
  70. }
  71. #endif
  72.  
  73. #pragma option -b.
  74. #endif /* __RPCNSIP_H__ */
  75.