IfmManage::SetAppAlertState
This method sets the alert state of an application.
Syntax
HRESULT SetAppAlertState( OLE_HANDLE hFC, BOOL fCurrentUser, BSTR bstrAppName, BSTR bstrAlertName, LONG AlertAction, LONG AlertVal );
Parameters
- hFC
- Handle to the Forms Manager’s context. It is FC_MAINFACEPLATE.
- fCurrentUser
- Unsupported for this version.
- bstrAppName
- Unicode string that contains the name of the application whose alert state has been set.
- bstrAlertName
- Unicode string that contains the name of the type of alert.
- AlertAction
- Long integer that contains the type of alert action. It can be one of the following values:
Alert action
|
Value
|
FMAA_ACTION_CLEAR |
0 |
FMAA_ACTION_RAISE_VALUE |
1 |
FMAA_ACTION_CLEAR_MASK |
2 |
FMAA_ACTION_RAISE_MASK |
3 |
- AlertVal
- Long integer that contains the value of the alert. Ignored if AlertAction is FMAA_ACTION_CLEAR.
Return Values
NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.
See Also
IfmManage::GetAppAlertState