| Microsoft DirectX 8.1 (C++) | 
The SetMediaName method specifies the name of the source file represented by this source object.
Syntax
HRESULT SetMediaName(
    BSTR newVal
);
Parameters
newVal
String that specifies the name of the media file.
Return Value
Returns S_OK.
See Also