Share via


IDVDHighlightInfo::GetButtonPositionInfo

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

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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.