Partilhar 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: Windows 2000, Windows XP, Windows Server 2003 family

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Reference

ICLRDataTarget Interface