Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

_CorExeMain2 Function

Instructs the Windows loader to search for the entry point in the specified memory-mapped code.


__int32 STDMETHODCALLTYPE _CorExeMain2 (
      [in] PBYTE           pUnmappedPE,
      [in] DWORD           cUnmappedPE,
      [in] __in LPWSTR     pImageNameIn,
      [in] __in LPWSTR     pLoadersFileName,
      [in] __in LPWSTR     pCmdLine
);

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.

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: Cor.h

Library: Included as a resource in MsCorEE.dll

.NET Framework Version: 2.0, 1.1, 1.0

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft