Skip to content

Latest commit

 

History

History
126 lines (100 loc) · 4.29 KB

nf-strmif-idvdinfo2-issubpicturestreamenabled.md

File metadata and controls

126 lines (100 loc) · 4.29 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.IsSubpictureStreamEnabled
IDvdInfo2::IsSubpictureStreamEnabled (strmif.h)
The IsSubpictureStreamEnabled method determines if the specified subpicture stream is enabled in the current title.
IDvdInfo2 interface [DirectShow]
IsSubpictureStreamEnabled method
IDvdInfo2.IsSubpictureStreamEnabled
IDvdInfo2::IsSubpictureStreamEnabled
IDvdInfo2IsSubpictureStreamEnabled
IsSubpictureStreamEnabled
IsSubpictureStreamEnabled method [DirectShow]
IsSubpictureStreamEnabled method [DirectShow]
IDvdInfo2 interface
dshow.idvdinfo2_issubpicturestreamenabled
strmif/IDvdInfo2::IsSubpictureStreamEnabled
dshow\idvdinfo2_issubpicturestreamenabled.htm
dshow
19facb38-8bc4-4605-9b2b-2a123b67aeb6
4/26/2023
IDvdInfo2 interface [DirectShow],IsSubpictureStreamEnabled method, IDvdInfo2.IsSubpictureStreamEnabled, IDvdInfo2::IsSubpictureStreamEnabled, IDvdInfo2IsSubpictureStreamEnabled, IsSubpictureStreamEnabled, IsSubpictureStreamEnabled method [DirectShow], IsSubpictureStreamEnabled method [DirectShow],IDvdInfo2 interface, dshow.idvdinfo2_issubpicturestreamenabled, strmif/IDvdInfo2::IsSubpictureStreamEnabled
strmif.h
Dshow.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Strmiids.lib
Windows
19H1
IDvdInfo2::IsSubpictureStreamEnabled
strmif/IDvdInfo2::IsSubpictureStreamEnabled
c++
APIRef
kbSyntax
COM
Strmiids.lib
Strmiids.dll
IDvdInfo2.IsSubpictureStreamEnabled

IDvdInfo2::IsSubpictureStreamEnabled

-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 IsSubpictureStreamEnabled method determines if the specified subpicture stream is enabled in the current title.

-parameters

-param ulStreamNum [in]

Subpicture stream number to test.

-param pbEnabled [out]

Pointer to a variable of type BOOL that receives a value of TRUE if the audio stream is enabled, or FALSE otherwise.

-returns

Returns one of the following HRESULT values.

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

-remarks

A DVD can have up to 32 separate subpicture streams, although typically not all the streams will be enabled for each title. Use IsSubpictureStreamEnabled to determine whether a particular stream is enabled for the current title, and then call IDvdControl2::SelectSubpictureStream to select one of the enabled streams.

-see-also

DVD Applications

Error and Success Codes

IDvdInfo2 Interface