IDvdInfo2::GetCurrentButton method
The GetCurrentButton method retrieves the number of available buttons and the number of the currently selected button.
Syntax
HRESULT GetCurrentButton( [out] ULONG *pulButtonsAvailable, [out] ULONG *pulCurrentButton );
Parameters
- pulButtonsAvailable [out]
-
Receives the number of buttons available.
- pulCurrentButton [out]
-
Receives the number (from 1 through 36) of the currently selected button.
Return value
Returns one of the following HRESULT values.
| Return code | Description |
|---|---|
|
Success. |
|
One of the pointer arguments is not valid. |
Remarks
If buttons are not present, both pulButtonsAvailable and pulCurrentButton are set to zero.
Requirements
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
See also