Muokkaa

Jaa


ICLRDataTarget2::FreeVirtual Method

Called by the common language runtime (CLR) data access services to free memory that was previously allocated in the address space of the target process.

Syntax

HRESULT FreeVirtual(
    [in] CLRDATA_ADDRESS addr,
    [in] ULONG32 size,
    [in] ULONG32 typeFlags
);

Parameters

addr [in] A CLRDATA_ADDRESS value that specifies the starting address of the memory to be freed.

size [in] The size, in bytes, of the memory to be freed.

typeFlags [in] Flags that control the freeing of memory. See the Win32 VirtualFree function.

Remarks

The FreeVirtual method serves as a logical wrapper for the Win32 VirtualFree function.

This method is implemented by the writer of the debugging application.

Requirements

Platforms: See System Requirements.

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also