Share via


IDVDHighlightInfo::GetButtonPositionInfo (Windows Embedded CE 6.0)

1/6/2010

This method returns the button position information (BTN_POSI) from a specified button information (BTNI) set in the button information table (BTNIT).

Syntax

HRESULT GetButtonPositionInfo(
  UINT8 byteButton,
  UINT8* pbyteButtonColor,
  UINT8* pbyteActionMode,
  DVD_RECT* pArea
);

Parameters

  • byteButton
    [in] Specified BTNI set in the range from 0 to 35.

    A byteButton value of 0 will return results for BTNI 1.

  • pbyteButtonColor
    [out] Address of the button color number (BTN_COLN).

    This is a 0-based value.

  • pbyteActionMode
    [out] Address of the auto action mode settings for the button.

    A value of 1 indicates that the button cannot be auto-activated.

  • pArea
    [out] Address of a DVD_RECT variable that defines the size of the button

Return Value

This method always succeeds.

The return value is S_OK.

Requirements

Header dvdata.h, dvdata.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDHighlightInfo