ICeeGen::AddSectionReloc Method

Adds a .reloc instruction to the code base.

HRESULT AddSectionReloc (
    HCEESECTION            section,
    ULONG                  offset,
    HCEESECTION            relativeTo, 
    CeeSectionRelocType    relocType
);

Parameters

  • section
    The section of in-memory code to which to add a .reloc instruction.
  • offset
    The offset of the section.
  • relativeTo
    The section to which offset refers.

Requirements

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

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICeeGen Interface