Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

ReignSound.h

Go to the documentation of this file.
00001 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
00002 
00003 
00004 /* File created by MIDL compiler version 5.01.0164 */
00005 /* at Wed May 01 19:07:01 2002
00006  */
00007 /* Compiler settings for D:\rain\rain\Sound\ReignSound.idl:
00008     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
00009     error checks: allocation ref bounds_check enum stub_data 
00010 */
00011 //@@MIDL_FILE_HEADING(  )
00012 
00013 
00014 /* verify that the <rpcndr.h> version is high enough to compile this file*/
00015 #ifndef __REQUIRED_RPCNDR_H_VERSION__
00016 #define __REQUIRED_RPCNDR_H_VERSION__ 440
00017 #endif
00018 
00019 #include "rpc.h"
00020 #include "rpcndr.h"
00021 
00022 #ifndef __RPCNDR_H_VERSION__
00023 #error this stub requires an updated version of <rpcndr.h>
00024 #endif // __RPCNDR_H_VERSION__
00025 
00026 #ifndef COM_NO_WINDOWS_H
00027 #include "windows.h"
00028 #include "ole2.h"
00029 #endif /*COM_NO_WINDOWS_H*/
00030 
00031 #ifndef __ReignSound_h__
00032 #define __ReignSound_h__
00033 
00034 #ifdef __cplusplus
00035 extern "C"{
00036 #endif 
00037 
00038 /* Forward Declarations */ 
00039 
00040 #ifndef __ISoundPlayer_FWD_DEFINED__
00041 #define __ISoundPlayer_FWD_DEFINED__
00042 typedef interface ISoundPlayer ISoundPlayer;
00043 #endif  /* __ISoundPlayer_FWD_DEFINED__ */
00044 
00045 
00046 #ifndef __SoundPlayer_FWD_DEFINED__
00047 #define __SoundPlayer_FWD_DEFINED__
00048 
00049 #ifdef __cplusplus
00050 typedef class SoundPlayer SoundPlayer;
00051 #else
00052 typedef struct SoundPlayer SoundPlayer;
00053 #endif /* __cplusplus */
00054 
00055 #endif  /* __SoundPlayer_FWD_DEFINED__ */
00056 
00057 
00058 /* header files for imported files */
00059 #include "oaidl.h"
00060 #include "ocidl.h"
00061 
00062 void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
00063 void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 
00064 
00065 #ifndef __ISoundPlayer_INTERFACE_DEFINED__
00066 #define __ISoundPlayer_INTERFACE_DEFINED__
00067 
00068 /* interface ISoundPlayer */
00069 /* [unique][helpstring][uuid][object] */ 
00070 
00071 
00072 EXTERN_C const IID IID_ISoundPlayer;
00073 
00074 #if defined(__cplusplus) && !defined(CINTERFACE)
00075     
00076     MIDL_INTERFACE("C5D0F6C8-1546-4A6D-973D-511080E40837")
00077     ISoundPlayer : public IUnknown
00078     {
00079     public:
00080         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Initialize( void) = 0;
00081         
00082         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PlayMusic( void) = 0;
00083         
00084         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE PlaySoundByIndex( 
00085             UINT uIdx,
00086             DWORD dwRepeats) = 0;
00087         
00088         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetSoundVolume( 
00089             DWORD dwVolume) = 0;
00090         
00091         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetMusicVolume( 
00092             DWORD dwVolume) = 0;
00093         
00094         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE StopMusic( void) = 0;
00095         
00096         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE StopAllSounds( void) = 0;
00097         
00098         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddSoundFile( 
00099             BSTR szFileName) = 0;
00100         
00101         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE AddMusicFile( 
00102             BSTR szFileName) = 0;
00103         
00104         virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDefaultPath( 
00105             BSTR szPath) = 0;
00106         
00107     };
00108     
00109 #else   /* C style interface */
00110 
00111     typedef struct ISoundPlayerVtbl
00112     {
00113         BEGIN_INTERFACE
00114         
00115         HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
00116             ISoundPlayer __RPC_FAR * This,
00117             /* [in] */ REFIID riid,
00118             /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
00119         
00120         ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
00121             ISoundPlayer __RPC_FAR * This);
00122         
00123         ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
00124             ISoundPlayer __RPC_FAR * This);
00125         
00126         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Initialize )( 
00127             ISoundPlayer __RPC_FAR * This);
00128         
00129         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PlayMusic )( 
00130             ISoundPlayer __RPC_FAR * This);
00131         
00132         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PlaySoundByIndex )( 
00133             ISoundPlayer __RPC_FAR * This,
00134             UINT uIdx,
00135             DWORD dwRepeats);
00136         
00137         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSoundVolume )( 
00138             ISoundPlayer __RPC_FAR * This,
00139             DWORD dwVolume);
00140         
00141         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetMusicVolume )( 
00142             ISoundPlayer __RPC_FAR * This,
00143             DWORD dwVolume);
00144         
00145         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopMusic )( 
00146             ISoundPlayer __RPC_FAR * This);
00147         
00148         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StopAllSounds )( 
00149             ISoundPlayer __RPC_FAR * This);
00150         
00151         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddSoundFile )( 
00152             ISoundPlayer __RPC_FAR * This,
00153             BSTR szFileName);
00154         
00155         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddMusicFile )( 
00156             ISoundPlayer __RPC_FAR * This,
00157             BSTR szFileName);
00158         
00159         /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDefaultPath )( 
00160             ISoundPlayer __RPC_FAR * This,
00161             BSTR szPath);
00162         
00163         END_INTERFACE
00164     } ISoundPlayerVtbl;
00165 
00166     interface ISoundPlayer
00167     {
00168         CONST_VTBL struct ISoundPlayerVtbl __RPC_FAR *lpVtbl;
00169     };
00170 
00171     
00172 
00173 #ifdef COBJMACROS
00174 
00175 
00176 #define ISoundPlayer_QueryInterface(This,riid,ppvObject)        \
00177     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
00178 
00179 #define ISoundPlayer_AddRef(This)       \
00180     (This)->lpVtbl -> AddRef(This)
00181 
00182 #define ISoundPlayer_Release(This)      \
00183     (This)->lpVtbl -> Release(This)
00184 
00185 
00186 #define ISoundPlayer_Initialize(This)   \
00187     (This)->lpVtbl -> Initialize(This)
00188 
00189 #define ISoundPlayer_PlayMusic(This)    \
00190     (This)->lpVtbl -> PlayMusic(This)
00191 
00192 #define ISoundPlayer_PlaySoundByIndex(This,uIdx,dwRepeats)      \
00193     (This)->lpVtbl -> PlaySoundByIndex(This,uIdx,dwRepeats)
00194 
00195 #define ISoundPlayer_SetSoundVolume(This,dwVolume)      \
00196     (This)->lpVtbl -> SetSoundVolume(This,dwVolume)
00197 
00198 #define ISoundPlayer_SetMusicVolume(This,dwVolume)      \
00199     (This)->lpVtbl -> SetMusicVolume(This,dwVolume)
00200 
00201 #define ISoundPlayer_StopMusic(This)    \
00202     (This)->lpVtbl -> StopMusic(This)
00203 
00204 #define ISoundPlayer_StopAllSounds(This)        \
00205     (This)->lpVtbl -> StopAllSounds(This)
00206 
00207 #define ISoundPlayer_AddSoundFile(This,szFileName)      \
00208     (This)->lpVtbl -> AddSoundFile(This,szFileName)
00209 
00210 #define ISoundPlayer_AddMusicFile(This,szFileName)      \
00211     (This)->lpVtbl -> AddMusicFile(This,szFileName)
00212 
00213 #define ISoundPlayer_SetDefaultPath(This,szPath)        \
00214     (This)->lpVtbl -> SetDefaultPath(This,szPath)
00215 
00216 #endif /* COBJMACROS */
00217 
00218 
00219 #endif  /* C style interface */
00220 
00221 
00222 
00223 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_Initialize_Proxy( 
00224     ISoundPlayer __RPC_FAR * This);
00225 
00226 
00227 void __RPC_STUB ISoundPlayer_Initialize_Stub(
00228     IRpcStubBuffer *This,
00229     IRpcChannelBuffer *_pRpcChannelBuffer,
00230     PRPC_MESSAGE _pRpcMessage,
00231     DWORD *_pdwStubPhase);
00232 
00233 
00234 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_PlayMusic_Proxy( 
00235     ISoundPlayer __RPC_FAR * This);
00236 
00237 
00238 void __RPC_STUB ISoundPlayer_PlayMusic_Stub(
00239     IRpcStubBuffer *This,
00240     IRpcChannelBuffer *_pRpcChannelBuffer,
00241     PRPC_MESSAGE _pRpcMessage,
00242     DWORD *_pdwStubPhase);
00243 
00244 
00245 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_PlaySoundByIndex_Proxy( 
00246     ISoundPlayer __RPC_FAR * This,
00247     UINT uIdx,
00248     DWORD dwRepeats);
00249 
00250 
00251 void __RPC_STUB ISoundPlayer_PlaySoundByIndex_Stub(
00252     IRpcStubBuffer *This,
00253     IRpcChannelBuffer *_pRpcChannelBuffer,
00254     PRPC_MESSAGE _pRpcMessage,
00255     DWORD *_pdwStubPhase);
00256 
00257 
00258 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_SetSoundVolume_Proxy( 
00259     ISoundPlayer __RPC_FAR * This,
00260     DWORD dwVolume);
00261 
00262 
00263 void __RPC_STUB ISoundPlayer_SetSoundVolume_Stub(
00264     IRpcStubBuffer *This,
00265     IRpcChannelBuffer *_pRpcChannelBuffer,
00266     PRPC_MESSAGE _pRpcMessage,
00267     DWORD *_pdwStubPhase);
00268 
00269 
00270 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_SetMusicVolume_Proxy( 
00271     ISoundPlayer __RPC_FAR * This,
00272     DWORD dwVolume);
00273 
00274 
00275 void __RPC_STUB ISoundPlayer_SetMusicVolume_Stub(
00276     IRpcStubBuffer *This,
00277     IRpcChannelBuffer *_pRpcChannelBuffer,
00278     PRPC_MESSAGE _pRpcMessage,
00279     DWORD *_pdwStubPhase);
00280 
00281 
00282 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_StopMusic_Proxy( 
00283     ISoundPlayer __RPC_FAR * This);
00284 
00285 
00286 void __RPC_STUB ISoundPlayer_StopMusic_Stub(
00287     IRpcStubBuffer *This,
00288     IRpcChannelBuffer *_pRpcChannelBuffer,
00289     PRPC_MESSAGE _pRpcMessage,
00290     DWORD *_pdwStubPhase);
00291 
00292 
00293 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_StopAllSounds_Proxy( 
00294     ISoundPlayer __RPC_FAR * This);
00295 
00296 
00297 void __RPC_STUB ISoundPlayer_StopAllSounds_Stub(
00298     IRpcStubBuffer *This,
00299     IRpcChannelBuffer *_pRpcChannelBuffer,
00300     PRPC_MESSAGE _pRpcMessage,
00301     DWORD *_pdwStubPhase);
00302 
00303 
00304 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_AddSoundFile_Proxy( 
00305     ISoundPlayer __RPC_FAR * This,
00306     BSTR szFileName);
00307 
00308 
00309 void __RPC_STUB ISoundPlayer_AddSoundFile_Stub(
00310     IRpcStubBuffer *This,
00311     IRpcChannelBuffer *_pRpcChannelBuffer,
00312     PRPC_MESSAGE _pRpcMessage,
00313     DWORD *_pdwStubPhase);
00314 
00315 
00316 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_AddMusicFile_Proxy( 
00317     ISoundPlayer __RPC_FAR * This,
00318     BSTR szFileName);
00319 
00320 
00321 void __RPC_STUB ISoundPlayer_AddMusicFile_Stub(
00322     IRpcStubBuffer *This,
00323     IRpcChannelBuffer *_pRpcChannelBuffer,
00324     PRPC_MESSAGE _pRpcMessage,
00325     DWORD *_pdwStubPhase);
00326 
00327 
00328 /* [helpstring] */ HRESULT STDMETHODCALLTYPE ISoundPlayer_SetDefaultPath_Proxy( 
00329     ISoundPlayer __RPC_FAR * This,
00330     BSTR szPath);
00331 
00332 
00333 void __RPC_STUB ISoundPlayer_SetDefaultPath_Stub(
00334     IRpcStubBuffer *This,
00335     IRpcChannelBuffer *_pRpcChannelBuffer,
00336     PRPC_MESSAGE _pRpcMessage,
00337     DWORD *_pdwStubPhase);
00338 
00339 
00340 
00341 #endif  /* __ISoundPlayer_INTERFACE_DEFINED__ */
00342 
00343 
00344 
00345 #ifndef __REIGNSOUNDLib_LIBRARY_DEFINED__
00346 #define __REIGNSOUNDLib_LIBRARY_DEFINED__
00347 
00348 /* library REIGNSOUNDLib */
00349 /* [helpstring][version][uuid] */ 
00350 
00351 
00352 EXTERN_C const IID LIBID_REIGNSOUNDLib;
00353 
00354 EXTERN_C const CLSID CLSID_SoundPlayer;
00355 
00356 #ifdef __cplusplus
00357 
00358 class DECLSPEC_UUID("586BA90E-FD62-45ED-929F-492A4B2A307E")
00359 SoundPlayer;
00360 #endif
00361 #endif /* __REIGNSOUNDLib_LIBRARY_DEFINED__ */
00362 
00363 /* Additional Prototypes for ALL interfaces */
00364 
00365 unsigned long             __RPC_USER  BSTR_UserSize(     unsigned long __RPC_FAR *, unsigned long            , BSTR __RPC_FAR * ); 
00366 unsigned char __RPC_FAR * __RPC_USER  BSTR_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
00367 unsigned char __RPC_FAR * __RPC_USER  BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * ); 
00368 void                      __RPC_USER  BSTR_UserFree(     unsigned long __RPC_FAR *, BSTR __RPC_FAR * ); 
00369 
00370 /* end of Additional Prototypes */
00371 
00372 #ifdef __cplusplus
00373 }
00374 #endif
00375 
00376 #endif

Generated on Thu May 23 17:51:00 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001