1 | // |
---|---|
2 | // Copyright (c) Microsoft. All rights reserved. |
3 | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
4 | // |
5 | |
6 | #ifndef _CoreClrCommonCallbacks |
7 | #define _CoreClrCommonCallbacks |
8 | |
9 | #include "runtimedetails.h" |
10 | |
11 | IExecutionEngine* STDMETHODCALLTYPE IEE_t(); |
12 | HRESULT STDMETHODCALLTYPE GetCORSystemDirectory(LPWSTR pbuffer, DWORD cchBuffer, DWORD* pdwlength); |
13 | LPVOID STDMETHODCALLTYPE EEHeapAllocInProcessHeap(DWORD dwFlags, SIZE_T dwBytes); |
14 | BOOL STDMETHODCALLTYPE EEHeapFreeInProcessHeap(DWORD dwFlags, LPVOID lpMem); |
15 | void* STDMETHODCALLTYPE GetCLRFunction(LPCSTR functionName); |
16 | |
17 | typedef LPVOID(STDMETHODCALLTYPE* pfnEEHeapAllocInProcessHeap)(DWORD dwFlags, SIZE_T dwBytes); |
18 | typedef BOOL(STDMETHODCALLTYPE* pfnEEHeapFreeInProcessHeap)(DWORD dwFlags, LPVOID lpMem); |
19 | |
20 | #endif |
21 |