[PATCH] include: Add SetupAddInstallSectionToDiskSpaceList to setupapi.h

Alex Henrie alexhenrie24 at gmail.com
Thu Mar 15 23:58:38 CDT 2018


From: Michael Müller <michael at fds-team.de>

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
Patch split off from
https://github.com/wine-staging/wine-staging/blob/master/patches/setupapi-DiskSpaceList/0006-setupapi-Implement-SetupAddInstallSectionToDiskSpace.patch

Wine already has an implementation of this function, so adding it to the
corresponding header file will benefit both programs compiled with
Winelib and future Wine development.

 include/setupapi.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/setupapi.h b/include/setupapi.h
index 76e255cc44..ceea64e947 100644
--- a/include/setupapi.h
+++ b/include/setupapi.h
@@ -1415,6 +1415,9 @@ DWORD    WINAPI OpenAndMapForRead(PCWSTR, PDWORD, PHANDLE, PHANDLE, PVOID *);
 LONG     WINAPI QueryRegistryValue(HKEY, PCWSTR, PBYTE *, PDWORD, PDWORD);
 /* RetreiveFileSecurity is not a typo, as per Microsoft's dlls */
 DWORD    WINAPI RetreiveFileSecurity(PCWSTR, PSECURITY_DESCRIPTOR *);
+BOOL     WINAPI SetupAddInstallSectionToDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, PVOID, UINT);
+BOOL     WINAPI SetupAddInstallSectionToDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, PVOID, UINT);
+#define         SetupAddInstallSectionToDiskSpaceList WINELIB_NAME_AW(SetupAddInstallSectionToDiskSpaceList)
 BOOL     WINAPI SetupAddSectionToDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, UINT, PVOID, UINT);
 BOOL     WINAPI SetupAddSectionToDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, UINT, PVOID, UINT);
 #define         SetupAddSectionToDiskSpaceList WINELIB_NAME_AW(SetupAddSectionToDiskSpaceList)
-- 
2.16.2




More information about the wine-devel mailing list