| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | |
| 5 | /*============================================================ |
| 6 | ** |
| 7 | ** Header: ShimLoad.hpp |
| 8 | ** |
| 9 | ** Purpose: Delay load hook used to images to bind to |
| 10 | ** dll's shim shipped with the EE |
| 11 | ** |
| 12 | ** |
| 13 | ===========================================================*/ |
| 14 | #ifndef _SHIMLOAD_H |
| 15 | #define _SHIMLOAD_H |
| 16 | |
| 17 | |
| 18 | //***************************************************************************** |
| 19 | // Sets/Gets the directory based on the location of the module. This routine |
| 20 | // is called at COR setup time. Set is called during EEStartup and by the |
| 21 | // MetaData dispenser. |
| 22 | //***************************************************************************** |
| 23 | HRESULT SetInternalSystemDirectory(); |
| 24 | HRESULT GetInternalSystemDirectory(__out_ecount_opt(*pdwLength) LPWSTR buffer, __inout DWORD* pdwLength); |
| 25 | |
| 26 | #endif |
| 27 | |
| 28 | |