Previous | Next |
The Open method opens a Windows Media file.
Syntax
HRESULT Open(
const WCHAR* pwszFilename
);
Parameters
pwszFilename
[in] Pointer to a wide-character NULL-terminated string containing the file name.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
NS_E_FILE_OPEN_FAILED | The method failed to open the specified file. |
E_OUTOFMEMORY | There is not enough available memory. |
See Also
Previous | Next |