IRDVTaskPluginNotifySink::OnTaskStateChange method
Used to notify the trigger agent that the state of a task has changed.
Syntax
HRESULT OnTaskStateChange(
[in] BSTR bstrIdentifier,
[in] RDV_TASK_STATUS status
);
Parameters
-
bstrIdentifier [in]
-
Type: BSTR
The identifier of the task. This is the identifier passed to the StartTask method.
-
status [in]
-
Type: RDV_TASK_STATUS
A value of the RDV_TASK_STATUS enumeration that specifies the new state of the task.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 7 Enterprise |
Minimum supported server |
Windows Server 2008 R2 |