Notifies the host that the common language runtime (CLR) is going to attempt to use the specified memory.
HRESULT NeedsVirtualAddressSpace (
[in] LPVOID startAddress,
[in] SIZE_T size
[in] The starting address of the memory.
[in] The size, in bytes, of the memory.
The NeedsVirtualAddressSpace method is a callback method and must be implemented by the writer of the hosting application. It is called by the CLR.
If the host does not want the CLR to use the specified memory, it may return an E_OUTOFMEMORY HRESULT.
Platforms: See .NET Framework System Requirements.
Library: Included as a resource in MSCorEE.dll
.NET Framework Versions: 4.6 Preview, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0