VirtualFree
E724271
VirtualFree is a Windows API function used to release or decommit previously allocated virtual memory in a process's address space.
Statements (42)
| Predicate | Object |
|---|---|
| instanceOf |
Windows API function
ⓘ
memory management function ⓘ |
| architectureSupport |
ARM
NERFINISHED
ⓘ
ARM64 ⓘ x64 ⓘ x86 ⓘ |
| belongsToLibrary | Kernel32.dll ⓘ |
| callingConvention | WINAPI ⓘ |
| canDecommitWithoutRelease | true ⓘ |
| canReleaseEntireRegionOnly | true ⓘ |
| category | low-level memory management API ⓘ |
| declaredInHeader | windows.h ⓘ |
| definedIn | Windows API NERFINISHED ⓘ |
| errorRetrievalFunction | GetLastError NERFINISHED ⓘ |
| failureIndicatedBy | return value FALSE ⓘ |
| headerLanguage | C NERFINISHED ⓘ |
| memoryGranularity | page granularity ⓘ |
| minimumSupportedClient | Windows 2000 NERFINISHED ⓘ |
| operatesOn | process address space ⓘ |
| operatingSystem |
Windows
ⓘ
surface form:
Microsoft Windows
|
| parameter |
DWORD dwFreeType
ⓘ
LPVOID lpAddress ⓘ SIZE_T dwSize ⓘ |
| partOf | Win32 API NERFINISHED ⓘ |
| relatedFunction |
VirtualAlloc
NERFINISHED
ⓘ
VirtualAllocEx ⓘ VirtualProtect NERFINISHED ⓘ VirtualQuery ⓘ |
| requiresFlag |
MEM_COALESCE_PLACEHOLDERS
ⓘ
MEM_DECOMMIT ⓘ MEM_LARGE_PAGES ⓘ MEM_PRESERVE_PLACEHOLDER ⓘ MEM_RELEASE ⓘ MEM_RELEASE_PLACEHOLDERS ⓘ MEM_REPLACE_PLACEHOLDER ⓘ MEM_RESET_UNDO ⓘ |
| requiresSizeZeroWhenReleasing | true ⓘ |
| returns | BOOL ⓘ |
| threadSafety | thread-safe for different address ranges ⓘ |
| usedFor |
decommitting virtual memory
ⓘ
freeing pages reserved or committed by VirtualAlloc ⓘ releasing virtual memory ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.