Edit

Share via


MpManagerVersionQuery function

Returns version information about various components of the malware protection manager.

Syntax

HRESULT WINAPI MpManagerVersionQuery(
  _In_  MPHANDLE        hMpHandle,
  _Out_ PMPVERSION_INFO pVersionInfo
);

Parameters

hMpHandle [in]

Type: MPHANDLE

Handle to the malware protection manager interface. This handle is returned by the MpManagerOpen function.

pVersionInfo [out]

Type: PMPVERSION_INFO

Pointer to a structure that contains version information about various components of the malware protection manager. See MPVERSION_INFO.

Return value

Type: HRESULT

If the function succeeds the return value is S_OK.

If the function fails then the return value is a failed HRESULT code. The caller can use the MpErrorMessageFormat function to get a generic description of the error message.

Requirements

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

See also

MpErrorMessageFormat

MpManagerOpen

MPVERSION_INFO