Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
bef13906
Commit
bef13906
authored
Aug 28, 2017
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add libloaderapi.h.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
39e0e81c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
1 deletion
+39
-1
Makefile.in
include/Makefile.in
+1
-0
libloaderapi.h
include/libloaderapi.h
+36
-0
winbase.h
include/winbase.h
+2
-1
No files found.
include/Makefile.in
View file @
bef13906
...
@@ -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
\
...
...
include/libloaderapi.h
0 → 100644
View file @
bef13906
/*
* 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_ */
include/winbase.h
View file @
bef13906
...
@@ -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)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment