IShellTaskScheduler2::Status Method
Sets the release status and background thread timeout for the current task.
Syntax
HRESULT Status( DWORD dwReleaseStatus, DWORD dwThreadTimeout );
Parameters
- dwReleaseStatus
[in] The following flag or 0.
ITSSFLAG_KILL_ON_DESTROY
Immediately cease execution of the current task when the IShellTaskScheduler instance is released.- dwThreadTimeout
[in] Not used.
Return Value
Returns S_OK if successful, or an error value otherwise.