IDVDHighlightInfo::GetAdjacentButton

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

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.
  • pbyteButtonNumber
    [out] Address of the button number adjacent to byteButton in the direction specified by byteDir.

Return Values

This method always succeeds. The return value is S_OK.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.

See Also

IDVDHighlightInfo | DVD_SELECT_UPPER | DVD_SELECT_RIGHT | DVD_SELECT_LOWER | DVD_SELECT_LEFT

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.