Share 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: See .NET Framework System Requirements.

Header: ClrData.idl

Library: CorGuids.lib

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

See Also

Reference

ICLRDataTarget Interface