Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Frees memory for the malware protection manager. All buffers allocated and returned by malware protection functions must be freed by the caller using this function.
Syntax
void WINAPI MpFreeMemory(
_In_ PVOID pMemory
);
Parameters
-
pMemory [in]
-
Type: PVOID
A pointer to memory allocated by a malware protection function.
Return value
This function does not return a value.
Remarks
To facilitate memory management for clients, the malware protection manager also defines macros to free memory associated with various structures returned by malware protection functions. The following macros are defined in the header file mpmemfree.h:
| Name | Description |
|---|---|
| MPRESOURCE_INFO_FREE | Frees an allocated MPRESOURCE_INFO. |
| MPTHREAT_INFO_FREE | Frees an allocated MPTHREAT_INFO. |
| MPTHREAT_LOCALIZED_INFO_FREE | Frees an allocated MPTHREAT_LOCALIZED_INFO. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client |
Windows 8 [desktop apps only] |
| Minimum supported server |
Windows Server 2012 [desktop apps only] |
| Header |
|
| DLL |
|