MPSTATUS_INFO structure

Status information for the malware protection manager.

Syntax

typedef struct tagMPSTATUS_INFO {
  DWORD               ProductStatus;
  MPSCAN_RESULT       LastQuickScan;
  MPSCAN_RESULT       LastFullScan;
  MPTHREAT_STATS      ThreatStats;
  MPTHREAT_STATS_DATA ThreatState[MP_THREAT_STAT_MAX_VALUE+1];
  MPCOMPONENT_STATUS  Component[MPCOMPONENT_MAXVALUE+1];
  ULARGE_INTEGER      ProductExpirationTime;
} MPSTATUS_INFO, *PMPSTATUS_INFO;

Members

ProductStatus

Type: DWORD

Overall product status. This is a combination of bit flags from MPSTATUS_FLAG.

LastQuickScan

Type: MPSCAN_RESULT

Results of the last scan by the malware protection manager. See MPSCAN_RESULT.

LastFullScan

Type: MPSCAN_RESULT

Results of the last full scan by the malware protection manager. See MPSCAN_RESULT.

ThreatStats

Type: MPTHREAT_STATS

Active threat statistics. See MPTHREAT_STATS.

ThreatState

Type: MPTHREAT_STATS_DATA[MP_THREAT_STAT_MAX_VALUE+1]

Additional threat statistics data, such as the number of threats. See MPTHREAT_STATS_DATA.

Component

Type: MPCOMPONENT_STATUS[MPCOMPONENT_MAXVALUE+1]

An array of statuses for multiple components. Use a value from the MPCOMPONENT_ID enumeration as an index into the array.

ProductExpirationTime

Type: ULARGE_INTEGER

Product expiration timestamp in UNC. This is valid only if the expiration status is set.

Requirements

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

See also

MPCOMPONENT_ID

MPCOMPONENT_STATUS

MPSCAN_RESULT

MPSTATUS_FLAG

MPTHREAT_STATS

MPTHREAT_STATS_DATA