IDvdInfo2::GetDVDDirectory
Microsoft DirectShow 9.0 |
IDvdInfo2::GetDVDDirectory
The GetDVDDirectory method retrieves the root directory that is set in the DVD Navigator.
Syntax
HRESULT GetDVDDirectory( LPWSTR pszwPath, ULONG ulMaxSize, ULONG *pulActualSize );
Parameters
pszwPath
[out, size_is(cbMaxSize)] Pointer to a buffer that receives the path string.
ulMaxSize
[in] Size of the buffer, in WCHARs.
pulActualSize
[out] Pointer to a variable that receives the size of actual data returned, in WCHARs.
Return Values
Returns one of the following HRESULT values.
Return code | Description |
S_OK | Success. |
E_INVALIDARG | The buffer is not large enough to hold the string. |
VFW_E_DVD_INVALIDDOMAIN | The DVD Navigator is not in a valid domain. |
Remarks
This method is demonstrated in the DVDSample application in CDvdCore::GetDriveLetter.
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also