Microsoft DirectX 8.1 (C++) |
The get_Filename method retrieves the name of the source file currently used by the media detector.
Syntax
HRESULT get_Filename(
BSTR *pVal
);
Parameters
pVal
[out, retval] Pointer to a variable that receives the file name.
Return Value
Returns S_OK if successful. Otherwise, returns an 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