include: Add libloaderapi.h.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
39e0e81c21
commit
bef1390691
@ -423,6 +423,7 @@ HEADER_SRCS = \
|
||||
ksguid.h \
|
||||
ksmedia.h \
|
||||
ksuuids.h \
|
||||
libloaderapi.h \
|
||||
lm.h \
|
||||
lmaccess.h \
|
||||
lmapibuf.h \
|
||||
|
36
include/libloaderapi.h
Normal file
36
include/libloaderapi.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright (C) 2017 Alexandre Julliard
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
#ifndef _APISETLIBLOADER_
|
||||
#define _APISETLIBLOADER_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef void *DLL_DIRECTORY_COOKIE, **PDLL_DIRECTORY_COOKIE;
|
||||
|
||||
WINBASEAPI DLL_DIRECTORY_COOKIE WINAPI AddDllDirectory(const WCHAR *);
|
||||
WINBASEAPI BOOL WINAPI RemoveDllDirectory(DLL_DIRECTORY_COOKIE);
|
||||
WINBASEAPI BOOL WINAPI SetDefaultDllDirectories(DWORD);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _APISETLIBLOADER_ */
|
@ -37,6 +37,8 @@ extern "C" {
|
||||
#define WINADVAPI DECLSPEC_IMPORT
|
||||
#endif
|
||||
|
||||
#include <libloaderapi.h>
|
||||
|
||||
/* Windows Exit Procedure flag values */
|
||||
#define WEP_FREE_DLL 0
|
||||
#define WEP_SYSTEM_EXIT 1
|
||||
@ -2512,7 +2514,6 @@ WINBASEAPI BOOL WINAPI SetCurrentDirectoryW(LPCWSTR);
|
||||
WINBASEAPI BOOL WINAPI SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD);
|
||||
WINBASEAPI BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD);
|
||||
#define SetDefaultCommConfig WINELIB_NAME_AW(SetDefaultCommConfig)
|
||||
WINBASEAPI BOOL WINAPI SetDefaultDllDirectories(DWORD);
|
||||
WINBASEAPI BOOL WINAPI SetDllDirectoryA(LPCSTR);
|
||||
WINBASEAPI BOOL WINAPI SetDllDirectoryW(LPCWSTR);
|
||||
#define SetDllDirectory WINELIB_NAME_AW(SetDllDirectory)
|
||||
|
Loading…
x
Reference in New Issue
Block a user