MPTHREAT_DATA structure

Notification data passed due to threat detection or modification.

Syntax

typedef struct tagMPTHREAT_DATA {
  MPTHREAT_ID     ThreatID;
  DWORD           dwSessionID;
  MPTHREAT_ACTION ThreatAction;
  DWORD           dwStatus;
} MPTHREAT_DATA, *PMPTHREAT_DATA;

Members

ThreatID

Type: MPTHREAT_ID

Threat identifier. Upper bit is set to identify antivirus-related threats.

dwSessionID

Type: DWORD

Session associated with the threat. Set to -1 if no session specific information is available.

ThreatAction

Type: MPTHREAT_ACTION

Threat action tried for the MPNOTIFY_THREAT_CLEAN_SUCCEEDED/MPNOTIFY_THREAT_CLEAN_FAILED events.

dwStatus

Type: DWORD

Additional status or actions associated with the action taken. This is a combination of bit flags from MPSTATUS_FLAG.

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

MPSTATUS_FLAG

MPTHREAT_ACTION