home *** CD-ROM | disk | FTP | other *** search
/ Total Destruction / Total_Destruction.iso / addons / zipz / QDS101.ZIP / QDDev / QDTest / QDServer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-06  |  12.1 KB  |  391 lines

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.01.75 */
  5. /* at Fri Feb 06 14:01:26 1998
  6.  */
  7. /* Compiler settings for QDServer.idl:
  8.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12. #include "rpc.h"
  13. #include "rpcndr.h"
  14. #ifndef COM_NO_WINDOWS_H
  15. #include "windows.h"
  16. #include "ole2.h"
  17. #endif /*COM_NO_WINDOWS_H*/
  18.  
  19. #ifndef __QDServer_h__
  20. #define __QDServer_h__
  21.  
  22. #ifdef __cplusplus
  23. extern "C"{
  24. #endif 
  25.  
  26. /* Forward Declarations */ 
  27.  
  28. #ifndef __IQDBspView_FWD_DEFINED__
  29. #define __IQDBspView_FWD_DEFINED__
  30. typedef interface IQDBspView IQDBspView;
  31. #endif     /* __IQDBspView_FWD_DEFINED__ */
  32.  
  33.  
  34. #ifndef __QDBspView_FWD_DEFINED__
  35. #define __QDBspView_FWD_DEFINED__
  36.  
  37. #ifdef __cplusplus
  38. typedef class QDBspView QDBspView;
  39. #else
  40. typedef struct QDBspView QDBspView;
  41. #endif /* __cplusplus */
  42.  
  43. #endif     /* __QDBspView_FWD_DEFINED__ */
  44.  
  45.  
  46. /* header files for imported files */
  47. #include "oaidl.h"
  48. #include "ocidl.h"
  49.  
  50. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  51. void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
  52.  
  53. /****************************************
  54.  * Generated header for interface: __MIDL_itf_QDServer_0000
  55.  * at Fri Feb 06 14:01:26 1998
  56.  * using MIDL 3.01.75
  57.  ****************************************/
  58. /* [local] */ 
  59.  
  60.  
  61. #define QDBSPVIEW_OPTION_FOV                0x00000001
  62. #define QDBSPVIEW_OPTION_GAMMA            0x00000002
  63. #define QDBSPVIEW_OPTION_ALWAYS_ON_TOP    0x00000004
  64.  
  65.  
  66. extern RPC_IF_HANDLE __MIDL_itf_QDServer_0000_v0_0_c_ifspec;
  67. extern RPC_IF_HANDLE __MIDL_itf_QDServer_0000_v0_0_s_ifspec;
  68.  
  69. #ifndef __IQDBspView_INTERFACE_DEFINED__
  70. #define __IQDBspView_INTERFACE_DEFINED__
  71.  
  72. /****************************************
  73.  * Generated header for interface: IQDBspView
  74.  * at Fri Feb 06 14:01:26 1998
  75.  * using MIDL 3.01.75
  76.  ****************************************/
  77. /* [unique][helpstring][dual][uuid][object] */ 
  78.  
  79.  
  80. typedef /* [unique] */ IQDBspView __RPC_FAR *LPQDBSPVIEW;
  81.  
  82.  
  83. EXTERN_C const IID IID_IQDBspView;
  84.  
  85. #if defined(__cplusplus) && !defined(CINTERFACE)
  86.     
  87.     interface DECLSPEC_UUID("477535B3-9A86-11D1-A8C5-000000000000")
  88.     IQDBspView : public IDispatch
  89.     {
  90.     public:
  91.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Init( 
  92.             /* [in] */ BSTR bstrPakDir,
  93.             /* [in] */ BOOL bCompressed,
  94.             /* [in] */ int nWidth,
  95.             /* [in] */ int nHeight) = 0;
  96.         
  97.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Shutdown( void) = 0;
  98.         
  99.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetCameraPos( 
  100.             /* [in] */ float fx,
  101.             /* [in] */ float fy,
  102.             /* [in] */ float fz,
  103.             /* [in] */ float fPitch,
  104.             /* [in] */ float fYaw,
  105.             /* [in] */ float fRoll) = 0;
  106.         
  107.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE LoadMap( 
  108.             /* [in] */ BSTR bstrMap,
  109.             /* [in] */ BSTR bstrSky,
  110.             /* [in] */ BSTR bstrPak,
  111.             /* [in] */ BOOL bCompressed) = 0;
  112.         
  113.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetCaption( 
  114.             /* [in] */ BSTR bstrCaption) = 0;
  115.         
  116.         virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetViewOptions( 
  117.             /* [in] */ DWORD dwFlag,
  118.             /* [in] */ DWORD dwValue,
  119.             /* [in] */ DWORD dwFuture) = 0;
  120.         
  121.     };
  122.     
  123. #else     /* C style interface */
  124.  
  125.     typedef struct IQDBspViewVtbl
  126.     {
  127.         BEGIN_INTERFACE
  128.         
  129.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
  130.             IQDBspView __RPC_FAR * This,
  131.             /* [in] */ REFIID riid,
  132.             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  133.         
  134.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
  135.             IQDBspView __RPC_FAR * This);
  136.         
  137.         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
  138.             IQDBspView __RPC_FAR * This);
  139.         
  140.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )( 
  141.             IQDBspView __RPC_FAR * This,
  142.             /* [out] */ UINT __RPC_FAR *pctinfo);
  143.         
  144.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )( 
  145.             IQDBspView __RPC_FAR * This,
  146.             /* [in] */ UINT iTInfo,
  147.             /* [in] */ LCID lcid,
  148.             /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  149.         
  150.         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )( 
  151.             IQDBspView __RPC_FAR * This,
  152.             /* [in] */ REFIID riid,
  153.             /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  154.             /* [in] */ UINT cNames,
  155.             /* [in] */ LCID lcid,
  156.             /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  157.         
  158.         /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )( 
  159.             IQDBspView __RPC_FAR * This,
  160.             /* [in] */ DISPID dispIdMember,
  161.             /* [in] */ REFIID riid,
  162.             /* [in] */ LCID lcid,
  163.             /* [in] */ WORD wFlags,
  164.             /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  165.             /* [out] */ VARIANT __RPC_FAR *pVarResult,
  166.             /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  167.             /* [out] */ UINT __RPC_FAR *puArgErr);
  168.         
  169.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Init )( 
  170.             IQDBspView __RPC_FAR * This,
  171.             /* [in] */ BSTR bstrPakDir,
  172.             /* [in] */ BOOL bCompressed,
  173.             /* [in] */ int nWidth,
  174.             /* [in] */ int nHeight);
  175.         
  176.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Shutdown )( 
  177.             IQDBspView __RPC_FAR * This);
  178.         
  179.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCameraPos )( 
  180.             IQDBspView __RPC_FAR * This,
  181.             /* [in] */ float fx,
  182.             /* [in] */ float fy,
  183.             /* [in] */ float fz,
  184.             /* [in] */ float fPitch,
  185.             /* [in] */ float fYaw,
  186.             /* [in] */ float fRoll);
  187.         
  188.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *LoadMap )( 
  189.             IQDBspView __RPC_FAR * This,
  190.             /* [in] */ BSTR bstrMap,
  191.             /* [in] */ BSTR bstrSky,
  192.             /* [in] */ BSTR bstrPak,
  193.             /* [in] */ BOOL bCompressed);
  194.         
  195.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaption )( 
  196.             IQDBspView __RPC_FAR * This,
  197.             /* [in] */ BSTR bstrCaption);
  198.         
  199.         /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetViewOptions )( 
  200.             IQDBspView __RPC_FAR * This,
  201.             /* [in] */ DWORD dwFlag,
  202.             /* [in] */ DWORD dwValue,
  203.             /* [in] */ DWORD dwFuture);
  204.         
  205.         END_INTERFACE
  206.     } IQDBspViewVtbl;
  207.  
  208.     interface IQDBspView
  209.     {
  210.         CONST_VTBL struct IQDBspViewVtbl __RPC_FAR *lpVtbl;
  211.     };
  212.  
  213.     
  214.  
  215. #ifdef COBJMACROS
  216.  
  217.  
  218. #define IQDBspView_QueryInterface(This,riid,ppvObject)    \
  219.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  220.  
  221. #define IQDBspView_AddRef(This)    \
  222.     (This)->lpVtbl -> AddRef(This)
  223.  
  224. #define IQDBspView_Release(This)    \
  225.     (This)->lpVtbl -> Release(This)
  226.  
  227.  
  228. #define IQDBspView_GetTypeInfoCount(This,pctinfo)    \
  229.     (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  230.  
  231. #define IQDBspView_GetTypeInfo(This,iTInfo,lcid,ppTInfo)    \
  232.     (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  233.  
  234. #define IQDBspView_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)    \
  235.     (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  236.  
  237. #define IQDBspView_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)    \
  238.     (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  239.  
  240.  
  241. #define IQDBspView_Init(This,bstrPakDir,bCompressed,nWidth,nHeight)    \
  242.     (This)->lpVtbl -> Init(This,bstrPakDir,bCompressed,nWidth,nHeight)
  243.  
  244. #define IQDBspView_Shutdown(This)    \
  245.     (This)->lpVtbl -> Shutdown(This)
  246.  
  247. #define IQDBspView_SetCameraPos(This,fx,fy,fz,fPitch,fYaw,fRoll)    \
  248.     (This)->lpVtbl -> SetCameraPos(This,fx,fy,fz,fPitch,fYaw,fRoll)
  249.  
  250. #define IQDBspView_LoadMap(This,bstrMap,bstrSky,bstrPak,bCompressed)    \
  251.     (This)->lpVtbl -> LoadMap(This,bstrMap,bstrSky,bstrPak,bCompressed)
  252.  
  253. #define IQDBspView_SetCaption(This,bstrCaption)    \
  254.     (This)->lpVtbl -> SetCaption(This,bstrCaption)
  255.  
  256. #define IQDBspView_SetViewOptions(This,dwFlag,dwValue,dwFuture)    \
  257.     (This)->lpVtbl -> SetViewOptions(This,dwFlag,dwValue,dwFuture)
  258.  
  259. #endif /* COBJMACROS */
  260.  
  261.  
  262. #endif     /* C style interface */
  263.  
  264.  
  265.  
  266. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IQDBspView_Init_Proxy( 
  267.     IQDBspView __RPC_FAR * This,
  268.     /* [in] */ BSTR bstrPakDir,
  269.     /* [in] */ BOOL bCompressed,
  270.     /* [in] */ int nWidth,
  271.     /* [in] */ int nHeight);
  272.  
  273.  
  274. void __RPC_STUB IQDBspView_Init_Stub(
  275.     IRpcStubBuffer *This,
  276.     IRpcChannelBuffer *_pRpcChannelBuffer,
  277.     PRPC_MESSAGE _pRpcMessage,
  278.     DWORD *_pdwStubPhase);
  279.  
  280.  
  281. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IQDBspView_Shutdown_Proxy( 
  282.     IQDBspView __RPC_FAR * This);
  283.  
  284.  
  285. void __RPC_STUB IQDBspView_Shutdown_Stub(
  286.     IRpcStubBuffer *This,
  287.     IRpcChannelBuffer *_pRpcChannelBuffer,
  288.     PRPC_MESSAGE _pRpcMessage,
  289.     DWORD *_pdwStubPhase);
  290.  
  291.  
  292. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IQDBspView_SetCameraPos_Proxy( 
  293.     IQDBspView __RPC_FAR * This,
  294.     /* [in] */ float fx,
  295.     /* [in] */ float fy,
  296.     /* [in] */ float fz,
  297.     /* [in] */ float fPitch,
  298.     /* [in] */ float fYaw,
  299.     /* [in] */ float fRoll);
  300.  
  301.  
  302. void __RPC_STUB IQDBspView_SetCameraPos_Stub(
  303.     IRpcStubBuffer *This,
  304.     IRpcChannelBuffer *_pRpcChannelBuffer,
  305.     PRPC_MESSAGE _pRpcMessage,
  306.     DWORD *_pdwStubPhase);
  307.  
  308.  
  309. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IQDBspView_LoadMap_Proxy( 
  310.     IQDBspView __RPC_FAR * This,
  311.     /* [in] */ BSTR bstrMap,
  312.     /* [in] */ BSTR bstrSky,
  313.     /* [in] */ BSTR bstrPak,
  314.     /* [in] */ BOOL bCompressed);
  315.  
  316.  
  317. void __RPC_STUB IQDBspView_LoadMap_Stub(
  318.     IRpcStubBuffer *This,
  319.     IRpcChannelBuffer *_pRpcChannelBuffer,
  320.     PRPC_MESSAGE _pRpcMessage,
  321.     DWORD *_pdwStubPhase);
  322.  
  323.  
  324. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IQDBspView_SetCaption_Proxy( 
  325.     IQDBspView __RPC_FAR * This,
  326.     /* [in] */ BSTR bstrCaption);
  327.  
  328.  
  329. void __RPC_STUB IQDBspView_SetCaption_Stub(
  330.     IRpcStubBuffer *This,
  331.     IRpcChannelBuffer *_pRpcChannelBuffer,
  332.     PRPC_MESSAGE _pRpcMessage,
  333.     DWORD *_pdwStubPhase);
  334.  
  335.  
  336. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IQDBspView_SetViewOptions_Proxy( 
  337.     IQDBspView __RPC_FAR * This,
  338.     /* [in] */ DWORD dwFlag,
  339.     /* [in] */ DWORD dwValue,
  340.     /* [in] */ DWORD dwFuture);
  341.  
  342.  
  343. void __RPC_STUB IQDBspView_SetViewOptions_Stub(
  344.     IRpcStubBuffer *This,
  345.     IRpcChannelBuffer *_pRpcChannelBuffer,
  346.     PRPC_MESSAGE _pRpcMessage,
  347.     DWORD *_pdwStubPhase);
  348.  
  349.  
  350.  
  351. #endif     /* __IQDBspView_INTERFACE_DEFINED__ */
  352.  
  353.  
  354.  
  355. #ifndef __QDSERVERLib_LIBRARY_DEFINED__
  356. #define __QDSERVERLib_LIBRARY_DEFINED__
  357.  
  358. /****************************************
  359.  * Generated header for library: QDSERVERLib
  360.  * at Fri Feb 06 14:01:26 1998
  361.  * using MIDL 3.01.75
  362.  ****************************************/
  363. /* [helpstring][version][uuid] */ 
  364.  
  365.  
  366.  
  367. EXTERN_C const IID LIBID_QDSERVERLib;
  368.  
  369. #ifdef __cplusplus
  370. EXTERN_C const CLSID CLSID_QDBspView;
  371.  
  372. class DECLSPEC_UUID("477535B4-9A86-11D1-A8C5-000000000000")
  373. QDBspView;
  374. #endif
  375. #endif /* __QDSERVERLib_LIBRARY_DEFINED__ */
  376.  
  377. /* Additional Prototypes for ALL interfaces */
  378.  
  379. unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
  380. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  381. unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
  382. void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
  383.  
  384. /* end of Additional Prototypes */
  385.  
  386. #ifdef __cplusplus
  387. }
  388. #endif
  389.  
  390. #endif
  391.