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 |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for