ICLRDataTarget::ReadVirtual Method

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

Syntax

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 System Requirements.

Header: ClrData.idl, ClrData.h

Library: CorGuids.lib

.NET Framework Versions: Available since 2.0

See also