MPSIGUPDATE_DATA structure

Notification data passed to the signature update callback function.

Syntax

typedef struct tagMPSIGUPDATE_DATA {
  DWORD                 dwPercentComplete;
  DWORD                 dwTotalUpdates;
  DWORD                 dwCurrentUpdateIndex;
  MPSIGUPDATE_TYPE      eType;
  MP_UPDATE_STAGE       Stage;
  MP_MIDL_STRING LPWSTR Path;
} MPSIGUPDATE_DATA, *PMPSIGUPDATE_DATA;

Members

dwPercentComplete

Type: DWORD

An estimate of the percentage across all the updates that have been downloaded and/or installed.

dwTotalUpdates

Type: DWORD

Total number of updates to download and/or install.

dwCurrentUpdateIndex

Type: DWORD

Zero-based index value that specifies which update among those required is currently being downloaded and/or installed.

eType

Type: MPSIGUPDATE_TYPE

Update type. One of the following possible values:

Value Meaning
MPSIGUPDATE_TYPE_NONE
MPSIGUPDATE_TYPE_MANAGED
WSUS update. Cancel requires administrator rights.
MPSIGUPDATE_TYPE_HTTP
HTTP update. Administrator rights not needed to cancel.
MPSIGUPDATE_TYPE_HTTP_SRV
HTTP from service. Cancel requires administrator rights.
MPSIGUPDATE_TYPE_UNC
UNC share. Administrator rights not needed to cancel.
MPSIGUPDATE_TYPE_UNMANAGED
MU/WU update. Cancel requires administrator rights.
MPSIGUPDATE_TYPE_MANAGED_PLATFORM
WSUS update for PLATFORM. Cancel requires administrator rights.
MPSIGUPDATE_TYPE_UNMANAGED_PLATFORM
MU/WU update for PLATFORM. Cancel requires administrator rights.

Stage

Type: MP_UPDATE_STAGE

Update stage. One of the following possible values:

Value Meaning
MP_STAGE_UNKNOWN
Update stage unknown.
MP_SEARCH_UPDATE
Update search stage.
MP_DOWNLOAD_UPDATE
Update download stage.
MP_INSTALL_UPDATE
Update install stage.

Path

Type: MP_MIDL_STRING LPWSTR

Update path.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
MpClient.h