#include <ISetShowAlertRegistryCmdData.h>
|
| enum | { kDefaultIID = IID_ISETSHOWALERTREGISTRYCMDDATA } |
| |
This interface provides the data for the SetShowAlertRegistry command.
- See Also
- IShowAlertRegistry
- IShowAlertRegistryUtils
| virtual int32 ISetShowAlertRegistryCmdData::GetAlertID | ( | | ) | const |
| pure virtual |
Gets the alert ID to show/not-show.
- Returns
- The ID of the alert.
| virtual int32 ISetShowAlertRegistryCmdData::GetShouldShow | ( | | ) | const |
| pure virtual |
Indicates the show/not-show state for the command.
- Returns
- kTrue if the alert will be enabled, kFalse if disabled.
| virtual void ISetShowAlertRegistryCmdData::SetAlertID | ( | int32 | alertID | ) | |
| pure virtual |
Sets the alert ID to show/not-show. Passing -1 will clear all alerts.
- Parameters
| alertID | The ID of the alert, or -1 to clear all alerts. |
| virtual void ISetShowAlertRegistryCmdData::SetShouldShow | ( | int32 | shouldShow | ) | |
| pure virtual |
Sets whether to show or not-show the specified alert the next time it is activated. If the specified alert ID is -1, this parameter is ignored (assumes kTrue).
- Parameters
| shouldShow | kTrue to show the alert next time. kFalse to disable the alert. |