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.
- relocType
One of the CeeSectionRelocType Enumeration 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