IDvdInfo2::GetCurrentVideoAttributes method

The GetCurrentVideoAttributes method retrieves the video attributes of the current title or menu.

Syntax


HRESULT GetCurrentVideoAttributes(
  [out]  DVD_VideoAttributes *pATR
);

Parameters

pATR [out]

Pointer to a DVD_VideoAttributes structure that receives the attributes.

Return value

Returns one of the following HRESULT values.

Return codeDescription
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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Strmif.h (include Dshow.h)

Library

Strmiids.lib

See also

DVD Applications
Error and Success Codes
IDvdInfo2 Interface

 

 

Community Additions

ADD
Show:
© 2014 Microsoft