Partager via


ICLRDataTarget::WriteVirtual Method

Writes data from the specified buffer to the specified virtual memory address.

HRESULT WriteVirtual (
    [in] CLRDATA_ADDRESS    address,
    [in, size_is(bytesRequested)] 
        BYTE                *buffer,
    [in] ULONG32            bytesRequested,
    [out] ULONG32           *bytesWritten
);

Parameters

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

  • buffer
    [in] A pointer to a buffer that stores the data to be written.

  • bytesRequested
    [in] The number of bytes to be written.

  • bytesWritten
    [out] A pointer to the actual number of bytes that were written.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: ClrData.idl

Library: CorGuids.lib

.NET Framework Version: 2.0

See Also

Concepts

ICLRDataTarget Interface