Поделиться через


IDvdInfo2::GetDVDVolumeInfo

 
Microsoft DirectShow 9.0

IDvdInfo2::GetDVDVolumeInfo

The GetDVDVolumeInfo method retrieves the current DVD volume information.

Syntax

  HRESULT GetDVDVolumeInfo(
  ULONG *pulNumOfVolumes,
  ULONG *pulVolume,
  DVD_DISC_SIDE *pSide,
  ULONG *pulNumOfTitles
);

Parameters

pulNumOfVolumes

[out] Pointer to a variable of type ULONG that receives the number of volumes in the volume set.

pulVolume

[out] Pointer to a variable of type ULONG that 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 Values

Returns one of the following HRESULT values.

Return code Description
S_OK Success.
E_POINTER 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

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also