|Microsoft DirectX 9.0|
Note The IDvdControl interface is deprecated. Use IDvdControl2 instread.
Sets the root directory containing the DVD-Video volume.
HRESULT SetRoot( LPCWSTR pszPath );
[in] Pointer to the directory name to set as the root directory.
Returns an HRESULT value.
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.