IDvdControl::SetRoot
Microsoft DirectShow 9.0 |
IDvdControl::SetRoot
- Note The IDvdControl interface is deprecated. Use IDvdControl2 instread.
Sets the root directory containing the DVD-Video volume.
Syntax
HRESULT SetRoot( LPCWSTR pszPath );
Parameters
pszPath
[in] Pointer to the directory name to set as the root directory.
Return Value
Returns an HRESULT value.
Remarks
This method returns an error unless the domain is DVD_DOMAIN_Stop. For more information, see DVD_DOMAIN.
If you haven't set the root directory before calling IDvdControl::TitlePlay, the first drive starting from C: that contains a VIDEO_TS directory in the top level directory will be used as the root.
Requirements
Reference: Dshow.h.
Library: Quartz.dll.
See Also