Microsoft DirectX 8.1 (C++) |
Note The IDvdControl interface is deprecated.
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.
See Also