home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / rpcnsip.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  1KB  |  73 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.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. typedef struct
  24. {
  25.    RPC_NS_HANDLE        LookupContext;
  26.    RPC_BINDING_HANDLE   ProposedHandle;
  27.    RPC_BINDING_VECTOR * Bindings;
  28.  
  29. } RPC_IMPORT_CONTEXT_P, * PRPC_IMPORT_CONTEXT_P;
  30.  
  31.  
  32. /* Stub Auto Binding routines. */
  33.  
  34. RPC_STATUS RPC_ENTRY
  35. I_RpcNsGetBuffer(
  36.     IN PRPC_MESSAGE Message
  37.     );
  38.  
  39. RPC_STATUS RPC_ENTRY
  40. I_RpcNsSendReceive(
  41.     IN PRPC_MESSAGE Message,
  42.     OUT RPC_BINDING_HANDLE __RPC_FAR * Handle
  43.     );
  44.  
  45. void RPC_ENTRY
  46. I_RpcNsRaiseException(
  47.     IN PRPC_MESSAGE Message,
  48.     IN RPC_STATUS Status
  49.     );
  50.  
  51. RPC_STATUS RPC_ENTRY
  52. I_RpcReBindBuffer(
  53.     IN PRPC_MESSAGE Message
  54.     );
  55.  
  56. RPC_STATUS RPC_ENTRY
  57. I_NsServerBindSearch(
  58.     );
  59.  
  60. RPC_STATUS RPC_ENTRY
  61. I_NsClientBindSearch(
  62.     );
  63.  
  64. void RPC_ENTRY
  65. I_NsClientBindDone(
  66.     );
  67.  
  68. #ifdef __cplusplus
  69. }
  70. #endif
  71.  
  72. #endif /* __RPCNSIP_H__ */
  73.