Delen via


ICeeGen::GetSectionBlock Method

Gets a section block of the code base.

HRESULT GetSectionBlock (
    [in]  HCEESECTION    section,   
    [in]  ULONG          len,
    [in]  ULONG          align     = 1,
    [out] void           **ppBytes = 0
); 

Parameters

  • section
    [in] The section from which to retrieve a block of the code base.

  • len
    [in] The length of the block to be retrieved.

  • align
    [in] The byte, relative to the beginning of the section, with which to align the first byte of the block. This is the position of the block within the section.

  • ppBytes
    [out] A pointer to a location that receives the address of the retrieved block.

Remarks

Call GetSectionBlock only if you have special section requirements that are not handled by other methods.

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