IDvdInfo2::GetDVDDirectory method
The GetDVDDirectory method retrieves the root directory that is set in the DVD Navigator.
Syntax
HRESULT GetDVDDirectory(
[out] LPWSTR pszwPath,
[in] ULONG ulMaxSize,
[out] ULONG *pulActualSize
);
Parameters
- pszwPath [out]
-
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 value
Returns one of the following HRESULT values.
| Return code | Description |
|---|---|
|
Success. |
|
The buffer is not large enough to hold the string. |
|
The DVD Navigator is not in a valid domain. |
Remarks
This method is demonstrated in the DVDSample application in CDvdCore::GetDriveLetter.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
See also