_CorExeMain2 Function
Executes the entry point in the specified memory-mapped code. This function is called by the operating system loader.
__int32 STDMETHODCALLTYPE _CorExeMain2 (
[in] PBYTE pUnmappedPE,
[in] DWORD cUnmappedPE,
[in] __in LPWSTR pImageNameIn,
[in] __in LPWSTR pLoadersFileName,
[in] __in LPWSTR pCmdLine
);
Parameters
pUnmappedPE
[in] A pointer to the memory-mapped code.cUnmappedPE
[in] The number of elements pUnmappedPE can hold.pImageNameIn
[in] A pointer to the name of the executable image.pLoadersFileName
[in] The name of the loader file.pCmdLine
[in] Command-line parameters, if any.
Requirements
Platforms: See .NET Framework System Requirements.
Header: Cor.h
Library: Included 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
Other Resources
Metadata Global Static Functions
Change History
Date |
History |
Reason |
---|---|---|
July 2009 |
Revised introduction and Remarks section. |
Content bug fix. |