Microsoft DirectX 8.1 (C++)

IAMTimelineSrc::GetMediaName

The GetMediaName method retrieves the name of the source file represented by this source object.

Syntax

HRESULT GetMediaName(
    BSTR *pVal
);

Parameters

pVal

[out, retval] Pointer to a string that receives the name of the file.

Return Value

Returns S_OK if successful. Otherwise, returns E_OUTOFMEMORY or another HRESULT value indicating the cause of the error.

Remarks

The method allocates memory for the string. The application must call SysFreeString to free the memory.

See Also