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 / handles / usrdef / usrdef.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-30  |  2.0 KB  |  83 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:07:30 1998
  6.  */
  7. /* Compiler settings for usrdef.idl:
  8.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext, oldnames
  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 __usrdef_h__
  23. #define __usrdef_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 __usrdef_INTERFACE_DEFINED__
  35. #define __usrdef_INTERFACE_DEFINED__
  36.  
  37. /****************************************
  38.  * Generated header for interface: usrdef
  39.  * at Mon Mar 30 03:07:30 1998
  40.  * using MIDL 3.03.0110
  41.  ****************************************/
  42. /* [implicit_handle][unique][version][uuid] */ 
  43.  
  44.  
  45. typedef struct  _DATA_TYPE
  46.     {
  47.     unsigned char __RPC_FAR *pszUuid;
  48.     unsigned char __RPC_FAR *pszProtocolSequence;
  49.     unsigned char __RPC_FAR *pszNetworkAddress;
  50.     unsigned char __RPC_FAR *pszEndpoint;
  51.     unsigned char __RPC_FAR *pszOptions;
  52.     }    DATA_TYPE;
  53.  
  54. typedef /* [handle] */ DATA_TYPE __RPC_FAR *DATA_HANDLE_TYPE;
  55.  
  56. void UsrdefProc( 
  57.     /* [in] */ DATA_HANDLE_TYPE hBinding,
  58.     /* [string][in] */ unsigned char __RPC_FAR *pszString);
  59.  
  60. void Shutdown( 
  61.     /* [in] */ DATA_HANDLE_TYPE hBinding);
  62.  
  63.  
  64. extern handle_t hUnused;
  65.  
  66.  
  67. extern RPC_IF_HANDLE usrdef_ClientIfHandle;
  68. extern RPC_IF_HANDLE usrdef_ServerIfHandle;
  69. #endif /* __usrdef_INTERFACE_DEFINED__ */
  70.  
  71. /* Additional Prototypes for ALL interfaces */
  72.  
  73. handle_t __RPC_USER DATA_HANDLE_TYPE_bind  ( DATA_HANDLE_TYPE );
  74. void     __RPC_USER DATA_HANDLE_TYPE_unbind( DATA_HANDLE_TYPE, handle_t );
  75.  
  76. /* end of Additional Prototypes */
  77.  
  78. #ifdef __cplusplus
  79. }
  80. #endif
  81.  
  82. #endif
  83.