Commit bef13906 authored by Alexandre Julliard's avatar Alexandre Julliard

include: Add libloaderapi.h.

parent 39e0e81c
...@@ -423,6 +423,7 @@ HEADER_SRCS = \ ...@@ -423,6 +423,7 @@ HEADER_SRCS = \
ksguid.h \ ksguid.h \
ksmedia.h \ ksmedia.h \
ksuuids.h \ ksuuids.h \
libloaderapi.h \
lm.h \ lm.h \
lmaccess.h \ lmaccess.h \
lmapibuf.h \ lmapibuf.h \
......
/*
* 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" { ...@@ -37,6 +37,8 @@ extern "C" {
#define WINADVAPI DECLSPEC_IMPORT #define WINADVAPI DECLSPEC_IMPORT
#endif #endif
#include <libloaderapi.h>
/* Windows Exit Procedure flag values */ /* Windows Exit Procedure flag values */
#define WEP_FREE_DLL 0 #define WEP_FREE_DLL 0
#define WEP_SYSTEM_EXIT 1 #define WEP_SYSTEM_EXIT 1
...@@ -2512,7 +2514,6 @@ WINBASEAPI BOOL WINAPI SetCurrentDirectoryW(LPCWSTR); ...@@ -2512,7 +2514,6 @@ WINBASEAPI BOOL WINAPI SetCurrentDirectoryW(LPCWSTR);
WINBASEAPI BOOL WINAPI SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD); WINBASEAPI BOOL WINAPI SetDefaultCommConfigA(LPCSTR,LPCOMMCONFIG,DWORD);
WINBASEAPI BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD); WINBASEAPI BOOL WINAPI SetDefaultCommConfigW(LPCWSTR,LPCOMMCONFIG,DWORD);
#define SetDefaultCommConfig WINELIB_NAME_AW(SetDefaultCommConfig) #define SetDefaultCommConfig WINELIB_NAME_AW(SetDefaultCommConfig)
WINBASEAPI BOOL WINAPI SetDefaultDllDirectories(DWORD);
WINBASEAPI BOOL WINAPI SetDllDirectoryA(LPCSTR); WINBASEAPI BOOL WINAPI SetDllDirectoryA(LPCSTR);
WINBASEAPI BOOL WINAPI SetDllDirectoryW(LPCWSTR); WINBASEAPI BOOL WINAPI SetDllDirectoryW(LPCWSTR);
#define SetDllDirectory WINELIB_NAME_AW(SetDllDirectory) #define SetDllDirectory WINELIB_NAME_AW(SetDllDirectory)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment