|Microsoft DirectX 9.0|
The get_Filename method retrieves the name of the source file currently used by the media detector.
HRESULT get_Filename( BSTR *pVal );
[out, retval] Pointer to a variable that receives the file name.
Returns S_OK if successful. Otherwise, returns an HRESULT value indicating the cause of the error.
The method allocates memory for the string. The application must call SysFreeString to free the memory.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.