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 / mandel / mdlrpc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-30  |  1.9 KB  |  89 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:06 1998
  6.  */
  7. /* Compiler settings for mdlrpc.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 __mdlrpc_h__
  23. #define __mdlrpc_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 __mdlrpc_INTERFACE_DEFINED__
  35. #define __mdlrpc_INTERFACE_DEFINED__
  36.  
  37. /****************************************
  38.  * Generated header for interface: mdlrpc
  39.  * at Mon Mar 30 03:08:06 1998
  40.  * using MIDL 3.03.0110
  41.  ****************************************/
  42. /* [implicit_handle][unique][version][uuid] */ 
  43.  
  44.  
  45. typedef struct  _cpoint
  46.     {
  47.     double real;
  48.     double imag;
  49.     }    CPOINT;
  50.  
  51. typedef CPOINT __RPC_FAR *PCPOINT;
  52.  
  53. typedef struct  _LONGRECT
  54.     {
  55.     long xLeft;
  56.     long yBottom;
  57.     long xRight;
  58.     long yTop;
  59.     }    LONGRECT;
  60.  
  61. typedef LONGRECT __RPC_FAR *PLONGRECT;
  62.  
  63. typedef unsigned short __RPC_FAR LINEBUF[ 1200 ];
  64.  
  65. void MandelCalc( 
  66.     /* [in] */ PCPOINT pcptLL,
  67.     /* [in] */ PLONGRECT prcDraw,
  68.     /* [in] */ double precision,
  69.     /* [in] */ unsigned long ulThreshold,
  70.     /* [ref][out] */ LINEBUF __RPC_FAR *pbBuf);
  71.  
  72.  
  73. extern handle_t hMandel;
  74.  
  75.  
  76. extern RPC_IF_HANDLE mdlrpc_ClientIfHandle;
  77. extern RPC_IF_HANDLE mdlrpc_ServerIfHandle;
  78. #endif /* __mdlrpc_INTERFACE_DEFINED__ */
  79.  
  80. /* Additional Prototypes for ALL interfaces */
  81.  
  82. /* end of Additional Prototypes */
  83.  
  84. #ifdef __cplusplus
  85. }
  86. #endif
  87.  
  88. #endif
  89.