IfmManage::GetAppAlertState

This method retrieves the alert state of an application.

Syntax

HRESULT GetAppAlertState( OLE_HANDLE hFC, BOOL fCurrentUser, BSTR bstrAppName, BSTR bstrAlertName, BOOL *pfAlert, LONG *pAlertVal );

Parameters

hFC
Handle to the Forms Manager’s context. It is FC_MAINFACEPLATE.
fCurrentUser
Unsupported in this version.
bstrAppName
Unicode string that contains the name of application targeted by the alert state query.
bstrAlertName
Unicode string that contains the name of the alert being queried.
pfAlert
Pointer to a Boolean that indicates alert status. TRUE indicates that an alert was raised for the application. FALSE indicates that the alert was cleared.
pAlertVal
Pointer to a long integer that contains the value of the alert.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

See Also

IfmManage::SetAppAlertState