Zebediah Figura
cfe4ce28eb
setupapi: Use the source file name if the destination file name is NULL.
...
Do not do the reverse. Windows crashes if SourceFilename is NULL.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
db8e2388d9
setupapi: Properly null-terminate the path in concat_W().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
e8c4dbcec2
setupapi: Implement W -> A mapping of SPFILENOTIFY_NEEDMEDIA.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:37 +02:00
Zebediah Figura
46dc6dddf3
setupapi: Implement SetupDefaultQueueCallback(SPFILENOTIFY_NEEDMEDIA).
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
31bb0097ad
setupapi: Keep track of source media in a separate list.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
3cb621e6ca
setupapi: Separate the entire copy operation into a helper function.
...
So as to centralize SPFILENOTIFY_COPYERROR callbacks into one place.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
ee36f923c5
setupapi: Remove implementation for LayoutInf parameter of SP_FILE_COPY_PARAMS.
...
Tests demonstrate that the existing implementation is not correct, and I was
unable to find an arrangement of parameters such that it was respected on
Windows. Most likely it has to do with the undocumented parameters used in
the "master" C:\windows\inf\layout.inf.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
466b80786f
setupapi: Implement SetupQueueCopyIndirectA() on top of the W variant.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
705d3eed86
setupapi: Fill out all source file parameters in SetupQueueDefaultCopy().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
f9f25ee227
setupapi: Fill out all source file parameters in SetupQueueCopySection().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 17:10:36 +02:00
Zebediah Figura
fccb7552eb
setupapi: Extract individual files from cabinets.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 22:46:52 +02:00
Michael Stefaniuc
d33f067460
setupapi: Use the ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:40:32 +02:00
André Hentschel
9edfb14c6b
setupapi: Remove dead code (Clang).
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 12:00:11 +01:00
Nikolay Sivov
dcab5fe61b
setupapi: Make default context structure layout compatible.
2014-05-12 10:53:16 +02:00
André Hentschel
4d796458d0
setupapi: Avoid memory leaks (coverity).
2012-10-29 10:40:14 +01:00
Francois Gouget
9097fa132e
setupapi: Avoid hardcoding the Unicode string literal lengths.
2011-12-16 17:40:47 +01:00
Hans Leidekker
1b8ba25371
setupapi: Destination directory defaults to system directory.
2010-03-03 15:23:04 +01:00
Huw Davies
63231be804
setupapi: Fix memory leak.
...
Found by Valgrind.
2009-12-07 14:18:27 +01:00
Michael Stefaniuc
ffae0123ac
setupapi: Remove superfluous pointer casts.
2009-01-28 12:30:57 +01:00
Hans Leidekker
bd9c265cc2
setupapi: Implement SetupInstallFileExA/W.
2009-01-26 14:31:01 +01:00
Hans Leidekker
19764fcf4c
setupapi: Implement SetupInstallFile{A, W}.
2008-11-28 13:47:12 +01:00
Andrew Talbot
ce2184e2f1
setupapi: Remove unneeded address-of operator from array name.
2008-07-14 11:50:12 +02:00
Alexandre Julliard
44ab294e0b
setupapi: Move strdupW and strdupWtoA to the setupapi_private.h header.
2008-04-16 12:21:09 +02:00
Andrew Talbot
e48bbc23e4
setupapi: Remove unneeded casts.
2008-01-21 11:38:51 +01:00
Dmitry Timoshkov
3c9e7a7f33
wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility.
2007-05-25 20:37:56 +02:00
Hans Leidekker
6cc0b4e88e
setupapi: Add a partial implementation for SetupScanFileQueue{A, W}.
2007-05-18 14:18:49 +02:00
Hans Leidekker
d060160b7a
setupapi: Implement pSetup{Get, Set}QueueFlags.
2007-05-18 14:12:28 +02:00
Andrew Talbot
a89d5de5df
setupapi: Replace inline static with static inline.
2007-03-21 11:55:37 +01:00
Hans Leidekker
02c5df73d2
setupapi: Implement SetupGetSourceFileLocation{A,W}.
2006-11-14 11:34:31 +01:00
Michael Stefaniuc
79ecfaf52f
setupapi: Win64 printf format warning fixes.
2006-10-14 20:17:25 +02:00
James Hawkins
5dadca4dbc
setupapi: Fix a typo.
2006-09-26 20:01:55 +02:00
Frank Richter
8aecf251df
setupapi: Make do_file_copyW send "target newer" notifications.
2006-08-28 11:35:40 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
6cb7ca4177
setupapi: Store the full name to the INF file in the inf_file structure
...
(based on a patch by James Hawkins).
2006-02-07 16:08:19 +01:00
Eric Pouech
8cddd5d2fb
Made some functions static.
2005-12-12 11:53:56 +01:00
Alexandre Julliard
261e376495
Fixed a number of pointer to integer conversions that wouldn't work
...
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Detlef Riekenberg
521d067ba9
SetupSetFileQueueAlternatePlatform{AW} implemented as stub.
2005-07-10 18:16:26 +00:00
Matthew Davison
5014e742fb
Stub out the error dialog functions.
...
Modify the default callbacks to call these for Delete and Rename
errors.
Modify the default callbacks to ignore file missing errors when
deleting files.
2005-06-12 11:05:58 +00:00
Ivan Leo Puoti
6be20a7c96
Minor fix in SetupQueueCopySectionW.
2005-05-16 08:49:51 +00:00
Aric Stewart
cc8f18f96f
Copy the implementation from SetupDefaultQueueCallbackA and make it
...
W.
2005-01-18 11:39:49 +00:00
Gerald Pfeifer
53b71e464a
Use proper type for fourth parameter to VerQueryValueW().
2004-12-13 13:20:36 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Alexandre Julliard
cb283489ad
Added support for the RegisterDlls section (partly based on a patch by
...
Chris Morgan).
2004-02-27 00:47:10 +00:00
Michael Stefaniuc
1cd884eb5c
Due to a misplaced "}" memory wasn't freed on the error path.
2003-09-27 02:25:40 +00:00
Steven Edwards
b2b7262815
Porting fixes.
2003-09-11 02:58:46 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget
61aac4eaa1
Fix some typos.
2003-06-04 20:29:05 +00:00
Aric Stewart
b5d318460d
Respect the version SP_COPY flags when installing files.
...
Make GenInstall16 only copy files if the version is new or same.
2003-05-19 18:52:16 +00:00
Patrik Stridvall
9c1de6de30
Moved all the content of the DDK files ntdef.h and ntddk.h to
...
winternl.h.
2002-09-12 22:07:02 +00:00
Michael Stefaniuc
025c0b716b
Prepare dlls/{comctl32,gdi,msvideo,setupapi,shell32,twain,winmm} for
...
the conversion of HWND to a void*.
2002-09-06 19:41:17 +00:00