Skip to content

Latest commit

 

History

History
123 lines (98 loc) · 3.9 KB

nf-strmif-idvdinfo2-getcurrentvideoattributes.md

File metadata and controls

123 lines (98 loc) · 3.9 KB
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.
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
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
IDvdInfo2::GetCurrentVideoAttributes
strmif/IDvdInfo2::GetCurrentVideoAttributes
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IDvdInfo2.GetCurrentVideoAttributes

IDvdInfo2::GetCurrentVideoAttributes

-description

[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.

-parameters

-param pATR [out]

Pointer to a DVD_VideoAttributes structure that receives the attributes.

-returns

Returns one of the following HRESULT values.

Return code Description
S_OK
Success.
E_POINTER
Invalid argument.
E_UNEXPECTED
The DVD Navigator is not initialized.

-remarks

The use of this method is demonstrated in the DVDSample application in CDvdCore::GetVideoAttributes().

-see-also

DVD Applications

Error and Success Codes

IDvdInfo2 Interface