Microsoft DirectX 8.1 (C++) |
Note The IDvdInfo interface is deprecated.
Retrieves the number of available buttons and the currently selected button number.
Syntax
HRESULT GetCurrentButton(
ULONG *pnButtonsAvailable,
ULONG *pnCurrentButton
);
Parameters
pnButtonsAvailable
[out] Pointer to the number of buttons available.
pnCurrentButton
[out] Pointer to the number of the current button.
Return Value
Returns an HRESULT value .
Return code | Description |
S_OK | Success. |
VFW_E_DVD_OPERATION_INHIBITED | Requested action cannot occur at this point in the movie due to the authoring of the current DVD-Video disc. |
Remarks
If buttons are not present this method returns zero for both pnButtonsAvailable and pnCurrentButton.
This method is valid in any domain. For more information, see DVD_DOMAIN.
See Also