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