IXRPlaySoundAction.GetVolume(float *) (Compact 2013)
3/28/2014
This method returns the Volume property.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetVolume(
float *pValue)
Parameters
- pValue
[out] Pointer to a float containing the volume of the sound file to be played.
Return Value
Implement this method so that it returns S_OK if successful; otherwise, return the appropriate HRESULT value to indicate that the method was not successful.
Remarks
The volume is a floating point number between 0 and 1, where 0 is no volume, and 1 is full volume.