ICeeGen::AllocateMethodBuffer Method

Creates a buffer of the specified size for a method, and gets the relative virtual address of the method.

HRESULT AllocateMethodBuffer ( 
        [in]  ULONG    cchBuffer, 
        [out] UCHAR    **lpBuffer,
        [out] ULONG    *RVA
);

Parameters

  • cchBuffer
    [in] The length of the buffer to create.

  • lpBuffer
    [out] The returned buffer.

  • RVA
    [out] The relative virtual address of the method.

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