Win32 API 日本語リファレンス
ホームSystem.ClrHosting › IHostMemoryManager

IHostMemoryManager

COM
IID7bc698d1-f9e3-4460-9cde-d04248e9fa25継承元IUnknown自前メソッド開始 vtbl3

メソッド 10

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtblメソッド
3HRESULT CreateMalloc(DWORD dwMallocType, IHostMalloc** ppMalloc)
4HRESULT VirtualAlloc(void* pAddress, UINT_PTR dwSize, DWORD flAllocationType, DWORD flProtect, EMemoryCriticalLevel eCriticalLevel, void** ppMem)
5HRESULT VirtualFree(void* lpAddress, UINT_PTR dwSize, DWORD dwFreeType)
6HRESULT VirtualQuery(void* lpAddress, void* lpBuffer, UINT_PTR dwLength, UINT_PTR* pResult)
7HRESULT VirtualProtect(void* lpAddress, UINT_PTR dwSize, DWORD flNewProtect, DWORD* pflOldProtect)
8HRESULT GetMemoryLoad(DWORD* pMemoryLoad, UINT_PTR* pAvailableBytes)
9HRESULT RegisterMemoryNotificationCallback(ICLRMemoryNotificationCallback* pCallback)
10HRESULT NeedsVirtualAddressSpace(void* startAddress, UINT_PTR size)
11HRESULT AcquiredVirtualAddressSpace(void* startAddress, UINT_PTR size)
12HRESULT ReleasedVirtualAddressSpace(void* startAddress)