Share via


ICeeGen::AddSectionReloc Method

Adds a .reloc instruction to the code base.

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

Parameters

  • section
    [in] The section of in-memory code to which to add a .reloc instruction.

  • offset
    [in] The offset of the section.

  • relativeTo
    [in] The section to which offset refers.

  • relocType
    [in] One of the CeeSectionRelocType values, indicating the kind of .reloc instruction to add.

Requirements

Platforms: See .NET Framework System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

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

See Also

Reference

ICeeGen Interface