Share via


ICLRDataTarget::ReadVirtual Method

Reads data from the specified virtual memory address into the specified buffer.

HRESULT ReadVirtual (
    [in] CLRDATA_ADDRESS    address,
    [out, size_is(bytesRequested), length_is(*bytesRead)] 
        BYTE                *buffer,
    [in] ULONG32            bytesRequested,
    [out] ULONG32           *bytesRead
);

Parameters

  • address
    [in] A CLRDATA_ADDRESS that stores the virtual memory address.

  • buffer
    [out] A pointer to a buffer that receives the data.

  • bytesRequested
    [in] The length of the buffer.

  • bytesRead
    [out] A pointer to the number of bytes returned.

Requirements

Platforms: See .NET Framework System Requirements.

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Reference

ICLRDataTarget Interface