Share via


IXRPlaySoundAction.SetSource(const WCHAR *) (Compact 2013)

3/28/2014

This method sets the Source property.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetSource(
const WCHAR* pValue)

Parameters

  • pValue
    [in] Pointer to a string containing the filename of the source 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

See Also

Reference

IXRPlaySoundAction