diff options
Diffstat (limited to 'xbmc/cores/DllLoader/dll.h')
-rw-r--r-- | xbmc/cores/DllLoader/dll.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/xbmc/cores/DllLoader/dll.h b/xbmc/cores/DllLoader/dll.h new file mode 100644 index 0000000..5a0b605 --- /dev/null +++ b/xbmc/cores/DllLoader/dll.h @@ -0,0 +1,20 @@ +/* + * Copyright (C) 2005-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include "PlatformDefs.h" + +extern "C" HMODULE __stdcall dllLoadLibraryExtended(const char* file, const char* sourcedll); +extern "C" HMODULE __stdcall dllLoadLibraryA(const char* file); +extern "C" HMODULE __stdcall dllLoadLibraryExExtended(const char* lpLibFileName, HANDLE hFile, DWORD dwFlags, const char* sourcedll); +extern "C" HMODULE __stdcall dllLoadLibraryExA(const char* lpLibFileName, HANDLE hFile, DWORD dwFlags); +extern "C" int __stdcall dllFreeLibrary(HINSTANCE hLibModule); +extern "C" intptr_t (*__stdcall dllGetProcAddress(HMODULE hModule, const char* function))(void); +extern "C" HMODULE WINAPI dllGetModuleHandleA(const char* lpModuleName); + |