Main Page | Class Hierarchy | Alphabetical List | Compound List | Compound Members

IRdSound Struct Reference

RdSound interface///////////////////////////////////////////////////////////////////////. More...

Inherits IRsDataObject.

List of all members.

Public Member Functions

HRESULT Clear (void)
 Clear all data in the bitmap. Create has to be called to use the bitmap.

HRESULT LoadFromFile ([in] BSTR bstrFileName)
 This method is used to load image from a file. Previous bitmap contents are discarded.

HRESULT GetFileName ([out, retval] BSTR *pbstrFileName)
 Use this method to get file name of the Sound. If it is empty, then Sound was not loaded from file.

HRESULT SaveToFile ([in] BSTR bstrFileName)
 This method is used to save image to a file.

HRESULT LockBuffer ([in] RtBOOL bWillOwerwrite,[out, retval] BYTE **ppBuffer)
 Lock and get buffer with the sound.

HRESULT UnlockBuffer ()
 Unlock the sound buffer.


Detailed Description

RdSound interface///////////////////////////////////////////////////////////////////////.


Member Function Documentation

HRESULT IRdSound::Clear void   ) 
 

Clear all data in the bitmap. Create has to be called to use the bitmap.

HRESULT IRdSound::LoadFromFile [in] BSTR  bstrFileName  ) 
 

This method is used to load image from a file. Previous bitmap contents are discarded.

HRESULT IRdSound::GetFileName [out, retval] BSTR *  pbstrFileName  ) 
 

Use this method to get file name of the Sound. If it is empty, then Sound was not loaded from file.

HRESULT IRdSound::SaveToFile [in] BSTR  bstrFileName  ) 
 

This method is used to save image to a file.

HRESULT IRdSound::LockBuffer [in] RtBOOL  bWillOwerwrite,
[out, retval] BYTE **  ppBuffer
 

Lock and get buffer with the sound.

HRESULT IRdSound::UnlockBuffer  ) 
 

Unlock the sound buffer.


Generated on Tue Jan 31 21:03:04 2006 for trueSpace7 Data Objects by doxygen 1.3.2