UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:strmif.IDvdInfo2.GetCurrentVideoAttributes |
IDvdInfo2::GetCurrentVideoAttributes (strmif.h) |
The GetCurrentVideoAttributes method retrieves the video attributes of the current title or menu. |
|
dshow\idvdinfo2_getcurrentvideoattributes.htm |
dshow |
92bd3af9-7057-4bf7-9026-d4862c271a03 |
4/26/2023 |
GetCurrentVideoAttributes, GetCurrentVideoAttributes method [DirectShow], GetCurrentVideoAttributes method [DirectShow],IDvdInfo2 interface, IDvdInfo2 interface [DirectShow],GetCurrentVideoAttributes method, IDvdInfo2.GetCurrentVideoAttributes, IDvdInfo2::GetCurrentVideoAttributes, IDvdInfo2GetCurrentVideoAttributes, dshow.idvdinfo2_getcurrentvideoattributes, strmif/IDvdInfo2::GetCurrentVideoAttributes |
strmif.h |
Dshow.h |
Windows |
Windows XP [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Strmiids.lib |
Windows |
19H1 |
|
|
|
|
|
|
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The GetCurrentVideoAttributes
method retrieves the video attributes of the current title or menu.
Pointer to a DVD_VideoAttributes structure that receives the attributes.
Returns one of the following HRESULT values.
Return code | Description |
---|---|
|
Success. |
|
Invalid argument. |
|
The DVD Navigator is not initialized. |
The use of this method is demonstrated in the DVDSample application in CDvdCore::GetVideoAttributes().