IDvdInfo2::GetCurrentVideoAttributes
Microsoft DirectShow 9.0 |
IDvdInfo2::GetCurrentVideoAttributes
The GetCurrentVideoAttributes method retrieves the video attributes of the current title or menu.
Syntax
HRESULT GetCurrentVideoAttributes( DVD_VideoAttributes *pATR );
Parameters
pATR
[out] Pointer to a DVD_VideoAttributes structure that receives the attributes.
Return Values
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().
Requirements
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.
See Also