IDvdInfo2::GetDVDVolumeInfo method
The GetDVDVolumeInfo method retrieves the current DVD volume information.
Syntax
HRESULT GetDVDVolumeInfo( [out] ULONG *pulNumOfVolumes, [out] ULONG *pulVolume, [out] DVD_DISC_SIDE *pSide, [out] ULONG *pulNumOfTitles );
Parameters
- pulNumOfVolumes [out]
-
Receives the number of volumes in the volume set.
- pulVolume [out]
-
Receives the volume number for this root directory.
- pSide [out]
-
Pointer to a variable of type DVD_DISC_SIDE that receives the current disc side.
- pulNumOfTitles [out]
-
Pointer to a variable of type ULONG that receives the number of titles available in this volume.
Return value
Returns one of the following HRESULT values.
| Return code | Description |
|---|---|
|
Success. |
|
Invalid argument. |
Remarks
Some discs can be distributed as part of multidisc set. "Volume" in this context can mean either "disc" or "disc side", depending on how the disc was authored.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
See also