共用方式為


OperationResultCode enumeration

Defines the possible results of a download, install, uninstall, or verification operation on an update.

Syntax

typedef enum  { 
  orcNotStarted           = 0,
  orcInProgress           = 1,
  orcSucceeded            = 2,
  orcSucceededWithErrors  = 3,
  orcFailed               = 4,
  orcAborted              = 5
} OperationResultCode;

Constants

  • orcNotStarted
    The operation is not started.

  • orcInProgress
    The operation is in progress.

  • orcSucceeded
    The operation was completed successfully.

  • orcSucceededWithErrors
    The operation is complete, but one or more errors occurred during the operation. The results might be incomplete.

  • orcFailed
    The operation failed to complete.

  • orcAborted
    The operation is canceled.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional with SP3 [desktop apps only]

Minimum supported server

Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]

Header

Wuapi.h

IDL

Wuapi.idl