Commit graph

325 commits

Author SHA1 Message Date
Francois Gouget
b6a2102d34 setupapi/tests: There is no strncasecmp() on Windows. So use CompareString() instead. 2007-05-29 13:46:24 +02:00
Rob Shearman
34556854ed setupapi: Add a FIXME in SetupCopyOEMInfW for when we should be copying a catalog file. 2007-05-29 11:54:38 +02: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
Andrew Talbot
9f2a62ed0a setupapi: Exclude unused headers. 2007-05-21 12:31:11 +02:00
Hans Leidekker
3cfb018ea6 setupapi: Don't require a valid version section for INF_STYLE_OLDNT files. 2007-05-21 12:30:34 +02:00
Hans Leidekker
6cc0b4e88e setupapi: Add a partial implementation for SetupScanFileQueue{A, W}. 2007-05-18 14:18:49 +02:00
Hans Leidekker
108288ec3a setupapi: Correctly handle an empty filename in SetupGetSourceFileLocationA. 2007-05-18 14:13:53 +02:00
Hans Leidekker
d060160b7a setupapi: Implement pSetup{Get, Set}QueueFlags. 2007-05-18 14:12:28 +02:00
Rob Shearman
c4eeb9f6fa setupapi: SetupOpenInfFile returns INVALID_HANDLE_VALUE on failure, not NULL.
Fix SetupQueryInfOriginalFileInformation to check for the former rather than the latter.
2007-05-11 11:20:04 +02:00
Paul Vriens
299a358fdb setupapi/tests: SetupQueryInfOriginalFileInformationA is not available on win98. 2007-05-08 20:09:31 +02:00
Rob Shearman
04fada9035 setupapi: Improve the stub for SetupQueryInfOriginalFileInformation
to return information for OriginalCatalogName based on information in
the installed inf file.
2007-05-08 18:09:49 +02:00
Rob Shearman
672a611379 setupapi: Don't copy an OEM inf file if the exact same OEM inf file already exists. 2007-05-08 18:09:36 +02:00
Rob Shearman
c572ddb40c setupapi: Partially implement SetupQueryInfOriginalFileInformationW.
Implement SetupQueryInfOriginalFileInformationA on top of SetupQueryInfOriginalFileInformationW.
2007-05-04 12:40:43 +02:00
Rob Shearman
712bffb54e setupapi: Add stubs for SetupQueryInfOriginalFileInformationA/W. 2007-05-04 12:40:17 +02:00
Rob Shearman
66d5cb2967 setupapi: The inf file containing the SourceDisksFiles and SourceDisksNames sections is the same as hinf if there is no layout file specified.
So pass the correct inf handle to SetupQueueDefaultCopyW and SetupQueueCopySectionW.
2007-05-04 12:40:00 +02:00
Rob Shearman
b1030f59e6 setupapi: SetupCopyOEMInfW should preserve the basename when copying the inf file to the inf directory if possible.
If the file already exists, then it should use a name with the form oem%u.inf instead.
2007-05-02 15:03:25 +02:00
Paul Vriens
4b34ba65d9 setupapi/tests: SetupCopyOEMInfA is not available on NT4. 2007-04-26 14:25:00 +02:00
Paul Vriens
ce3fa8e861 setupapi/tests: SetupDiCreateDeviceInfoListExW is not implemented on win98. 2007-04-25 13:48:21 +02:00
Hans Leidekker
aa4fe06739 setupapi: Implement SetupGetFileCompressionInfo on top of SetupGetFileCompressionInfoEx. 2007-04-10 21:39:48 +02:00
Paul Vriens
ce45b8b1c6 setupapi/tests: Run tests on win98 again. 2007-04-10 14:23:21 +02:00
Alexandre Julliard
aa12152e7b setupapi: Avoid using sizeof in traces. 2007-04-09 14:15:34 +02:00
Hans Leidekker
c26a816f19 setupapi: Remove debug traces from allocation routines. 2007-04-09 12:52:17 +02:00
Hans Leidekker
9970ccb9a5 setupapi: Add tests for SetupDecompressOrCopyFile. 2007-04-09 12:52:11 +02:00
Hans Leidekker
c1950e2dcc setupapi: Implement SetupDecompressOrCopyFile{A, W}. 2007-04-09 12:52:05 +02:00
Hans Leidekker
c1a856e649 setupapi: Add tests for SetupGetFileCompressionInfoEx. 2007-04-09 12:51:09 +02:00
Hans Leidekker
8ccc19c74c setupapi: Implement SetupGetFileCompressionInfoEx{A, W}. 2007-04-09 12:51:05 +02:00
James Hawkins
405b96e979 setupapi: SetLastError to ERROR_SUCCESS on success. 2007-03-28 13:28:28 +02:00
James Hawkins
672952d2b6 setupapi: Correct the Inf output position. 2007-03-28 13:28:13 +02:00
James Hawkins
ff326fd0ff setupapi: The Inf file should be copied regardless of the destination buffer, with tests. 2007-03-28 13:28:01 +02:00
James Hawkins
efa6591fff setupapi: Don't allow relative paths in SetupCopyOEMInf. 2007-03-28 13:25:03 +02:00
James Hawkins
3e5f62b2d8 setupapi: Handle the SP_COPY_NOOVERWRITE flag. 2007-03-28 13:20:14 +02:00
Francois Gouget
61db3be294 setupapi: Fix InstallCatalog()'s calling convention. 2007-03-28 12:33:59 +02:00
James Hawkins
9eaea34e04 setupapi: Add several tests for SetupCopyOEMInf, with fixes so the tests don't crash. 2007-03-27 13:22:31 +02:00
Alexandre Julliard
31ade1eb67 setupapi: Add support for .inf files in utf-8 format. 2007-03-21 13:52:43 +01:00
Andrew Talbot
a89d5de5df setupapi: Replace inline static with static inline. 2007-03-21 11:55:37 +01:00
Hans Leidekker
a9e4ced18b setupapi: Add a stub implementation for InstallCatalog. 2007-03-19 13:55:29 +01:00
Hans Leidekker
7a039ebbf1 setupapi: Always return an empty list from SetupDiGetClassDevs. 2007-02-20 20:27:13 +01:00
Hans Leidekker
939e8e4ce2 setupapi: Implement SetupCopyOEMInf{A,W}. 2007-02-20 20:27:09 +01:00
Hans Leidekker
275dbeb74e setupapi: Add stub implementations for SetupDiGetINFClass and SetupSetSourceList. 2007-02-19 12:40:15 +01:00
Andrew Talbot
1efcf37692 setupapi: Declare some functions static. 2007-02-05 12:25:28 +01:00
Francois Gouget
5d0da6f666 setupapi/tests: Print GetLastError() in decimal with '%u'. 2007-01-08 12:06:36 +01:00
Francois Gouget
8cfd025164 setupapi: Fix handling of 'CopyFiles=@file'. 2006-12-21 14:48:15 +01:00
Hans Leidekker
7f31cc4756 setupapi: Add a stub implementation for SetupPromptReboot. 2006-12-15 12:20:32 +01:00
Francois Gouget
c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Christian Gmeiner
3d11b8650c setupapi: Added AssertFail stub. 2006-11-29 14:04:52 +01:00
Hans Leidekker
17f66b7086 setupapi: Add tests for SetupGet{SourceFileLocation, SourceInfo, TargetPath}. 2006-11-17 15:51:25 +01:00
Hans Leidekker
134c03b3be setupapi: Implement SetupGetTargetPath{A,W}. 2006-11-16 22:08:41 +01:00
Hans Leidekker
ae64a62241 setupapi: Implement SetupGetSourceInfo{A,W}. 2006-11-15 12:24:50 +01:00
Andrew Talbot
2f5824438e setupapi: Cast-qual warning fix. 2006-11-14 11:34:51 +01:00
Hans Leidekker
02c5df73d2 setupapi: Implement SetupGetSourceFileLocation{A,W}. 2006-11-14 11:34:31 +01:00