共用方式為


ICorRuntimeHost::MapFile 方法

將指定的檔案對應到記憶體中。 這個方法已過時。

HRESULT MapFile(
    [in]  HANDLE    hFile,
    [out] HMODULE*  hMapAddress
);

參數

  • hFile
    [in] 要對應之檔案的控制代碼。

  • hMapAddress
    [out] 要開始對應檔案的起始記憶體位址。

需求

**平台:**請參閱 .NET Framework 系統需求

**標頭:**MSCorEE.h

程式庫:包含做為 MSCorEE.dll 中的資源

**.NET Framework 版本:**1.0、1.1

請參閱

參考

ICorRuntimeHost 介面