Reactos

[ADVPACK] Sync with Wine Staging 3.3. CORE-14434

+83 -34
+2 -2
dll/win32/advpack/CMakeLists.txt
··· 8 8 files.c 9 9 install.c 10 10 reg.c 11 - advpack_private.h) 11 + precomp.h) 12 12 13 13 add_library(advpack SHARED 14 14 ${SOURCE} ··· 18 18 set_module_type(advpack win32dll) 19 19 target_link_libraries(advpack wine) 20 20 add_importlibs(advpack ole32 setupapi version advapi32 msvcrt kernel32 ntdll) 21 - add_pch(advpack advpack_private.h SOURCE) 21 + add_pch(advpack precomp.h SOURCE) 22 22 add_cd_file(TARGET advpack DESTINATION reactos/system32 FOR all)
+14
dll/win32/advpack/advpack.c
··· 19 19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 20 20 */ 21 21 22 + #include <stdarg.h> 23 + 24 + #include "windef.h" 25 + #include "winbase.h" 26 + #include "winuser.h" 27 + #include "winreg.h" 28 + #include "winternl.h" 29 + #include "winnls.h" 30 + #include "setupapi.h" 31 + #include "advpub.h" 32 + #include "wine/unicode.h" 33 + #include "wine/debug.h" 22 34 #include "advpack_private.h" 35 + 36 + WINE_DEFAULT_DEBUG_CHANNEL(advpack); 23 37 24 38 typedef HRESULT (WINAPI *DLLREGISTER) (void); 25 39
+1 -27
dll/win32/advpack/advpack_private.h
··· 21 21 #ifndef __ADVPACK_PRIVATE_H 22 22 #define __ADVPACK_PRIVATE_H 23 23 24 - #include <stdarg.h> 25 - 26 - #define WIN32_NO_STATUS 27 - #define _INC_WINDOWS 28 - #define COM_NO_WINDOWS_H 29 - 30 - #include <windef.h> 31 - #include <winbase.h> 32 - #include <winuser.h> 33 - #include <winreg.h> 34 - #include <winternl.h> 35 - #include <advpub.h> 36 - 37 - #include <wine/debug.h> 38 - #include <wine/unicode.h> 39 - 40 - WINE_DEFAULT_DEBUG_CHANNEL(advpack); 24 + #include "wine/heap.h" 41 25 42 26 HRESULT do_ocx_reg(HMODULE hocx, BOOL do_reg, const WCHAR *flags, const WCHAR *param) DECLSPEC_HIDDEN; 43 27 LPWSTR get_parameter(LPWSTR *params, WCHAR separator, BOOL quoted) DECLSPEC_HIDDEN; 44 28 void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir) DECLSPEC_HIDDEN; 45 29 46 30 HRESULT launch_exe(LPCWSTR cmd, LPCWSTR dir, HANDLE *phEXE) DECLSPEC_HIDDEN; 47 - 48 - static inline void* __WINE_ALLOC_SIZE(1) heap_alloc(size_t size) 49 - { 50 - return HeapAlloc(GetProcessHeap(), 0, size); 51 - } 52 - 53 - static inline BOOL heap_free(void *mem) 54 - { 55 - return HeapFree(GetProcessHeap(), 0, mem); 56 - } 57 31 58 32 static inline char *heap_strdupWtoA(const WCHAR *str) 59 33 {
+15 -2
dll/win32/advpack/files.c
··· 18 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 19 */ 20 20 21 + #include <stdarg.h> 22 + #include <stdlib.h> 23 + 24 + #include "windef.h" 25 + #include "winbase.h" 26 + #include "winuser.h" 27 + #include "winreg.h" 28 + #include "winver.h" 29 + #include "winternl.h" 30 + #include "setupapi.h" 31 + #include "advpub.h" 32 + #include "fdi.h" 33 + #include "wine/debug.h" 34 + #include "wine/unicode.h" 21 35 #include "advpack_private.h" 22 36 23 - #include <winver.h> 24 - #include <fdi.h> 37 + WINE_DEFAULT_DEBUG_CHANNEL(advpack); 25 38 26 39 /* converts an ansi double null-terminated list to a unicode list */ 27 40 static LPWSTR ansi_to_unicode_list(LPCSTR ansi_list)
+15 -1
dll/win32/advpack/install.c
··· 18 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 19 */ 20 20 21 + #include <stdarg.h> 22 + #include <stdlib.h> 23 + 24 + #include "windef.h" 25 + #include "winbase.h" 26 + #include "winuser.h" 27 + #include "winreg.h" 28 + #include "winternl.h" 29 + #include "winnls.h" 30 + #include "setupapi.h" 31 + #include "advpub.h" 32 + #include "ole2.h" 33 + #include "wine/debug.h" 34 + #include "wine/unicode.h" 21 35 #include "advpack_private.h" 22 36 23 - #include <ole2.h> 37 + WINE_DEFAULT_DEBUG_CHANNEL(advpack); 24 38 25 39 #define SPAPI_ERROR 0xE0000000L 26 40 #define SPAPI_PREFIX 0x800F0000L
+23
dll/win32/advpack/precomp.h
··· 1 + 2 + #ifndef _ADVPACK_PRECOMP_H 3 + #define _ADVPACK_PRECOMP_H 4 + 5 + #include <stdarg.h> 6 + 7 + #define WIN32_NO_STATUS 8 + #define _INC_WINDOWS 9 + #define COM_NO_WINDOWS_H 10 + 11 + #include <windef.h> 12 + #include <winbase.h> 13 + #include <winuser.h> 14 + #include <winreg.h> 15 + #include <winternl.h> 16 + #include <advpub.h> 17 + 18 + #include <wine/debug.h> 19 + #include <wine/unicode.h> 20 + 21 + #include "advpack_private.h" 22 + 23 + #endif /* !_ADVPACK_PRECOMP_H */
+12 -1
dll/win32/advpack/reg.c
··· 18 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 19 19 */ 20 20 21 - #include "advpack_private.h" 21 + #include <stdarg.h> 22 + #include "windef.h" 23 + #include "winbase.h" 24 + #include "winreg.h" 25 + #include "winerror.h" 26 + #include "winuser.h" 27 + #include "winternl.h" 28 + #include "advpub.h" 29 + #include "wine/unicode.h" 30 + #include "wine/debug.h" 31 + 32 + WINE_DEFAULT_DEBUG_CHANNEL(advpack); 22 33 23 34 static const WCHAR REGINST[] = {'R','E','G','I','N','S','T',0}; 24 35 static const WCHAR Strings[] = {'S','t','r','i','n','g','s',0};
+1 -1
media/doc/README.WINE
··· 44 44 45 45 reactos/dll/win32/activeds # Synced to WineStaging-3.3 46 46 reactos/dll/win32/actxprxy # Synced to WineStaging-3.3 47 - reactos/dll/win32/advpack # Synced to WineStaging-2.9 47 + reactos/dll/win32/advpack # Synced to WineStaging-3.3 48 48 reactos/dll/win32/atl # Synced to Wine-3.0 49 49 reactos/dll/win32/atl80 # Synced to Wine-3.0 50 50 reactos/dll/win32/atl100 # Synced to Wine-3.0