xref: /reactos/sdk/include/psdk/libloaderapi.h (revision 1734f297)
1 /*
2  * Copyright (C) 2017 Alexandre Julliard
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 
19 #ifndef _APISETLIBLOADER_
20 #define _APISETLIBLOADER_
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
26 typedef void *DLL_DIRECTORY_COOKIE, **PDLL_DIRECTORY_COOKIE;
27 
28 WINBASEAPI DLL_DIRECTORY_COOKIE WINAPI AddDllDirectory(const WCHAR *);
29 WINBASEAPI BOOL WINAPI RemoveDllDirectory(DLL_DIRECTORY_COOKIE);
30 WINBASEAPI BOOL WINAPI SetDefaultDllDirectories(DWORD);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 
36 #endif  /* _APISETLIBLOADER_ */
37