Partager via


ICeeGen::TruncateSection Method

Truncates the specified code section by the specified length.

HRESULT TruncateSection (
        [in]  HCEESECTION     section,
        [in]  ULONG           len
);

Parameters

  • section
    [in] The section to truncate.
  • len
    [in] The length, in bytes, by which to truncate the section.

Remarks

Call TruncateSection 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

Reference

ICeeGen Interface