Compartir a través de


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