IScheduledWorkItem::GetExitCodeIScheduledWorkItem::GetExitCode*
*Contents  *Index  *Topic Contents
*Previous Topic: IScheduledWorkItem::GetErrorRetryInterval
*Next Topic: IScheduledWorkItem::GetFlags

IScheduledWorkItem::GetExitCode

HRESULT GetExitCode(
    DWORD * pdwExitCode
);

Retrieves the work item's last exit code.

pdwExitCode
Address of a value that is set to the exit code that the work item returned when it last stopped running. If the work item has never been started, this will be set to zero.

Back to top


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.