Delen via


ICeeGen::GetSectionCreate Method

Generates and gets a code section using the specified name and flag values.

HRESULT GetSectionCreate (
    [in]  const char     *name,
    [in]  DWORD          flags,
    [out] HCEESECTION    *section
);

Parameters

  • name
    [in] A pointer to a string that specifies the name of the section to be created.

  • flags
    [in] Flags that specify options.

  • section
    [out] A pointer to the newly created code section.

Remarks

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