共用方式為


_CorExeMain Function

Instructs the Windows loader to look for the entry point in the executable image.

__int32 STDMETHODCALLTYPE _CorExeMain ();

Remarks

In Windows 98, Windows ME, Windows NT, and Windows 2000, the function is called indirectly through a fixup in the loader. In all other versions of Windows, it is called directly by the operating system loader.

Requirements

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

See Also

Concepts

Metadata Global Static Functions