Freigeben über


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: 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

Concepts

ICeeGen Interface