ICeeGen::AddSectionReloc Method

Adds a .reloc instruction to the code base.

This method is obsolete and should not be used.

Syntax

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 System Requirements.

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also