home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / rpc / pipes / pipe.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-30  |  2.1 KB  |  87 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Mon Mar 30 03:08:39 1998
  6.  */
  7. /* Compiler settings for pipe.idl:
  8.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  15. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  16. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  17. #endif
  18.  
  19. #include "rpc.h"
  20. #include "rpcndr.h"
  21.  
  22. #ifndef __pipe_h__
  23. #define __pipe_h__
  24.  
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif 
  28.  
  29. /* Forward Declarations */ 
  30.  
  31. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  32. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  33.  
  34. #ifndef __pipe_sample_INTERFACE_DEFINED__
  35. #define __pipe_sample_INTERFACE_DEFINED__
  36.  
  37. /****************************************
  38.  * Generated header for interface: pipe_sample
  39.  * at Mon Mar 30 03:08:39 1998
  40.  * using MIDL 3.03.0110
  41.  ****************************************/
  42. /* [implicit_handle][version][unique][uuid] */ 
  43.  
  44.  
  45. typedef struct pipe_CHAR_PIPE_TYPE
  46.     {
  47.     void (__RPC_FAR * pull) (
  48.         char __RPC_FAR * state,
  49.         unsigned char __RPC_FAR * buf,
  50.         unsigned long esize,
  51.         unsigned long __RPC_FAR * ecount );
  52.     void (__RPC_FAR * push) (
  53.         char __RPC_FAR * state,
  54.         unsigned char __RPC_FAR * buf,
  55.         unsigned long ecount );
  56.     void (__RPC_FAR * alloc) (
  57.         char __RPC_FAR * state,
  58.         unsigned long bsize,
  59.         unsigned char __RPC_FAR * __RPC_FAR * buf,
  60.         unsigned long __RPC_FAR * bcount );
  61.     char __RPC_FAR * state;
  62.     }     CHAR_PIPE_TYPE;
  63.  
  64. void ScrambleFile( 
  65.     /* [in] */ unsigned long Action,
  66.     /* [out][in] */ CHAR_PIPE_TYPE __RPC_FAR *pipe_data);
  67.  
  68. void ShutDown( void);
  69.  
  70.  
  71. extern handle_t global_pipe_sample_handle;
  72.  
  73.  
  74. extern RPC_IF_HANDLE pipe_sample_v1_0_c_ifspec;
  75. extern RPC_IF_HANDLE pipe_sample_v1_0_s_ifspec;
  76. #endif /* __pipe_sample_INTERFACE_DEFINED__ */
  77.  
  78. /* Additional Prototypes for ALL interfaces */
  79.  
  80. /* end of Additional Prototypes */
  81.  
  82. #ifdef __cplusplus
  83. }
  84. #endif
  85.  
  86. #endif
  87.