ICeeGen::GetSectionBlock Method

Gets a section block of the code base.

This method is obsolete and should not be used.

Syntax

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

Header: Cor.h

Library: Used as a resource in MsCorEE.dll

.NET Framework Versions: Available since 1.0

See also