IRDVTaskPluginNotifySink::OnTerminated method
Called by the task agent to request that the task agent be shut down.
Syntax
HRESULT OnTerminated(
[in] HRESULT hr
);
Parameters
-
hr [in]
-
Indicates if the shut down is due to a normal shut down or a failure. If the shut down is normal, this contains S_OK. Otherwise, it contains an HRESULT error code.
Return value
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 |
Header |
|