Partager via


IDVDHighlightInfo::GetAdjacentButton (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

HRESULT GetAdjacentButton(
  UINT8 byteButton,
  UINT8 byteDir,
  UINT8* pbyteButtonNumber
);

Parameters

  • byteButton
    [in] Specified BTNI set in the range from 0 to 35. A byteButton value of 0 will return results for BTNI 1.
  • byteDir
    [in] Specified direction to the adjacent button. This value should be one of the following: DVD_SELECT_UPPER, DVD_SELECT_RIGHT, DVD_SELECT_LOWER, DVD_SELECT_LEFT, see DVD-Video API Macros.
  • pbyteButtonNumber
    [out] Address of the button number adjacent to byteButton in the direction specified by byteDir.

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
DVD-Video API Macros