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// File: NativeLibraryNative.h
6//
7//
8// QCall's for the NativeLibrary class
9//
10
11#ifndef __NATIVELIBRARYNATIVE_H__
12#define __NATIVELIBRARYNATIVE_H__
13
14class NativeLibraryNative
15{
16public:
17 static INT_PTR QCALLTYPE LoadFromPath(LPCWSTR path, BOOL throwOnError);
18 static INT_PTR QCALLTYPE LoadByName(LPCWSTR name, QCall::AssemblyHandle callingAssembly,
19 BOOL hasDllImportSearchPathFlag, DWORD dllImportSearchPathFlag,
20 BOOL throwOnError);
21 static void QCALLTYPE FreeLib(INT_PTR handle);
22 static INT_PTR QCALLTYPE GetSymbol(INT_PTR handle, LPCWSTR symbolName, BOOL throwOnError);
23
24};
25
26#endif // __NATIVELIBRARYNATIVE_H__
27