Commit Graph

594 Commits

Author SHA1 Message Date
Juan Lang 7de0f1d583 setupapi: When freeing an interface, delete it from the registry if its device is a phantom. 2007-09-24 14:17:41 +02:00
Juan Lang dadcb201d9 setupapi: Implement SetupDiDeleteDeviceInterfaceRegKey. 2007-09-24 14:17:34 +02:00
Juan Lang e69520ab6e setupapi: Save interface to registry when creating it. 2007-09-24 14:17:27 +02:00
Juan Lang d0a2866a90 setupapi: Store pointer to set in device, and use it to make sure that a device is a member of a set. 2007-09-24 14:17:19 +02:00
Juan Lang 21b7e1faf6 setupapi: Implement SetupDiCreateDeviceInterfaceRegKeyA/W. 2007-09-24 14:17:08 +02:00
Juan Lang 443cfda4a6 setupapi: Return the interface's device from SetupDiGetDeviceInterfaceDetailA/W. 2007-09-24 14:16:54 +02:00
Juan Lang 5ce7fcae8e setupapi: Store pointer to an interface's device in the interface instance. 2007-09-24 14:16:47 +02:00
Juan Lang e9b55346c2 setupapi: Add stubs for SetupDiCreateDeviceInterfaceRegKeyA/W. 2007-09-24 14:16:33 +02:00
Juan Lang 44ac73effe setupapi: Convert device's interfaces to a standard list. 2007-09-24 14:16:26 +02:00
Juan Lang df3cb0630d setupapi: Create symbolic link value when interface is created. 2007-09-24 14:16:04 +02:00
Juan Lang d34ec8b8a1 setupapi: Add test showing value of path. 2007-09-24 14:15:32 +02:00
Juan Lang a63c9356a4 setupapi: Implement SetupDiGetDeviceInterfaceDetailA/W. 2007-09-24 14:15:22 +02:00
Juan Lang 6bd4ed73cb setupapi: Add tests for SetupDiGetDeviceInterfaceDetail. 2007-09-24 14:14:44 +02:00
Juan Lang 50a4039037 setupapi: When enumerating an interface, add the interface to its device. 2007-09-24 14:14:34 +02:00
Juan Lang be863b07ff setupapi: Implement SetupDiEnumDeviceInterfaces. 2007-09-24 14:14:23 +02:00
Juan Lang 69b0b42455 setupapi: Implement SetupDiCreateDeviceInterfaceW. 2007-09-24 14:14:15 +02:00
Juan Lang 707fca6cbc setupapi: Set last error on invalid input. 2007-09-24 14:13:58 +02:00
Juan Lang 15eba01660 setupapi: Remove a redundant parameter check. 2007-09-24 14:13:51 +02:00
Juan Lang 6682012209 setupapi: Add error checking to SetupDiCreateDeviceInterfaceW stub. 2007-09-24 14:13:44 +02:00
Juan Lang aa2b23cab5 setupapi: Implement SetupDiCreateDeviceInterfaceA on top of SetupDiCreateInterfaceW. 2007-09-24 14:13:33 +02:00
Juan Lang 8069619b90 setupapi: Add tests for SetupDiCreateDeviceInterface. 2007-09-24 14:13:09 +02:00
Juan Lang d1878ab8fd setupapi: Add stubs for SetupDiCreateDeviceInterfaceA/W. 2007-09-24 14:13:01 +02:00
Juan Lang 9b1e1b2aad setupapi: Set last error on failure in SetupDiOpenClassRegKeyExW. 2007-09-24 14:12:53 +02:00
Juan Lang a9d74cf994 setupapi: Respect samDesired in SetupDiOpenClassRegKeyExW. 2007-09-24 14:12:42 +02:00
Alexandre Julliard 5d0dc48193 setupapi: Simplify the SetupDiGetClassDescriptionExA/W implementation. 2007-09-21 12:21:17 +02:00
Juan Lang f841667cac setupapi: Implement SetupDiGetClassDevsW. 2007-09-21 12:17:48 +02:00
Juan Lang f4b9bc2454 setupapi: Implement SetupDiRegisterDeviceInfo. 2007-09-21 12:14:48 +02:00
Juan Lang a57a17d3fc setupapi: Add tests for SetupDiRegisterDeviceInfo. 2007-09-21 12:14:38 +02:00
Juan Lang 3a2a99474e setupapi: Add stub for SetupDiRegisterDeviceInfo. 2007-09-21 12:14:31 +02:00
Juan Lang 6b50538f12 setupapi: Implement SetupDiGetClassDescriptionExA. 2007-09-21 12:13:24 +02:00
Juan Lang 80be1fe740 setupapi: Devices created by SetupDiCreateDeviceInfo are "phantoms", and are deleted from the registry when the set that contains them is closed. 2007-09-21 12:09:17 +02:00
Juan Lang 00ef2e3269 setupapi: Save class GUID to registry when creating a device. 2007-09-21 12:08:57 +02:00
Juan Lang 8985a62a34 setupapi: Save device description to registry when creating a device. 2007-09-21 12:08:51 +02:00
Juan Lang e144979697 setupapi: Make a helper to convert a GUID to a string. 2007-09-21 12:08:43 +02:00
Juan Lang 60fefd72e8 setupapi: Implement SetupDiSetDeviceRegistryPropertyA/W. 2007-09-21 12:08:25 +02:00
Juan Lang bc924f5b3a setupapi: Implement SetupDiGetDeviceRegistryPropertyA/W. 2007-09-21 12:08:20 +02:00
Juan Lang f94f6367f2 setupapi: Implement SetupDiGetDeviceInstanceIdW. 2007-09-21 12:06:14 +02:00
Juan Lang 83f05e79bb setupapi: Implement SetupDiCreateDeviceInfoW. 2007-09-21 12:05:48 +02:00
Juan Lang 1bbfd72afb setupapi: Add error checking to SetupDiCreateDeviceInfoW stub. 2007-09-20 14:27:13 +02:00
Juan Lang c1ccd65792 setupapi: Implement SetupDiGetDeviceInstanceIdA on top of SetupDiGetDeviceInstanceIdW. 2007-09-20 14:27:13 +02:00
Juan Lang 634cba84d2 setupapi: Implement SetupDiEnumDeviceInfo. 2007-09-20 14:27:13 +02:00
Juan Lang a7ad54ef92 setupapi: Add a placeholder for devices. 2007-09-20 14:27:13 +02:00
Juan Lang e481b1eaee setupapi: Add tests for SetupDiGetDeviceInstanceId. 2007-09-20 14:27:13 +02:00
Juan Lang 7c0a311753 setupapi: Add stubs for SetupDiGetDeviceInstanceIdA/W. 2007-09-20 14:27:13 +02:00
Juan Lang 362e8e1f62 setupapi: Add tests for SetupDiCreateDeviceInfo. 2007-09-20 14:27:13 +02:00
Juan Lang 9fc7973727 setupapi: Add missing prototypes and definitions, and change function prototypes to match. 2007-09-19 12:48:46 +02:00
Juan Lang d62285d006 setupapi: Fix typo. 2007-09-19 12:34:33 +02:00
Juan Lang 2e2fe9b9f7 setupapi: Fix return type. 2007-09-19 12:31:43 +02:00
Lionel Debroux 85022e50c2 setupapi: Fix memory leak (found by Smatch). 2007-09-13 11:04:52 +02:00
Lionel Debroux d7abb09b46 setupapi: Fix HeapFree of wrong pointer (found by Smatch). 2007-09-12 14:07:49 +02:00
Steven Edwards c9a0da51a5 Remove more unneeded wine 16bit header usage. 2007-08-30 12:31:01 +02:00
Francois Gouget a116879507 Assorted spelling fixes. 2007-08-30 12:26:02 +02:00
Francois Gouget c2d47ced74 setupapi: Add prototypes for the Setup*Log*() functions. Better stick to the PSDK types. 2007-08-30 11:57:18 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Andrew Talbot 926a008ffb setupapi: Constify some variables. 2007-08-29 12:10:56 +02:00
Andrew Talbot 3bf6315af2 setupapi: Constify some variables. 2007-08-27 19:27:26 +02:00
Paul Vriens 86e2d1a5e7 setupapi/tests: Use skip instead of trace. 2007-08-27 11:57:49 +02:00
Damjan Jovanovic 28025d64ef setupapi: Use NtDeleteKey instead of an invalid RegDeleteKeyW. 2007-08-21 21:38:27 +02:00
Mikolaj Zalewski 0d00a74f47 setupapi: If needed create directories for fake dlls. 2007-08-21 12:42:24 +02:00
Jason Edmeades 7f901f41f0 setupapi: Remove duplicate backslashes on dirids. 2007-08-13 13:04:16 +02:00
Jason Edmeades ac6343cd5a setupapi: Add test to show setupapi does not handle single quotes. 2007-08-10 12:58:17 +02:00
Paul Vriens c0cc85f78e setupapi/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-07-31 12:34:54 +02:00
Detlef Riekenberg 6a95b93ec3 advpack+setupapi: Remove unneeded checks before SetupCloseInfFile. 2007-07-10 13:32:10 +02:00
Detlef Riekenberg 8be4e8537c setupapi: Avoid crash in SetupCloseInfFile. 2007-07-10 13:31:54 +02:00
Francois Gouget a3317a5c01 Assorted spelling fixes. 2007-07-05 19:56:34 +02:00
Misha Koshelev 0e369586df setupapi: Simplify code as native setupapi does not handle quoted paths. 2007-06-25 11:44:09 +02:00
Michael Stefaniuc 67ed76e685 setupapi: Do not use wide character constants. 2007-06-22 12:18:46 +02:00
Misha Koshelev 41fd380005 setupapi: Handle unquoted paths in InstallHinfSection as native. 2007-06-15 13:24:01 +02:00
Misha Koshelev 095c9bf26a setupapi/tests: Add basic tests for InstallHinfSectionA/W command line processing. 2007-06-15 13:23:55 +02:00
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
Hans Leidekker 709735e294 setupapi: The inf section suffix that corresponds to __x86_64 is .ntamd64. 2006-11-14 11:34:24 +01:00
Mike McCormack d9ea955dbf setupapi: Use HeapAlloc/Free instead of malloc/free. 2006-11-10 11:35:20 +01:00
Francois Gouget 7ab6d8522b setupapi: setupapi.h must not define HSTRING_TABLE and the StringTable* prototypes. 2006-11-08 12:10:53 +01:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
Dmitry Timoshkov ab83183c03 setupapi: Fix a typo. 2006-10-16 17:05:47 +02:00
James Hawkins 3b6017ae18 include: Move cfgmgr32.h to include/ to match the SDK. 2006-10-14 20:18:44 +02:00
Michael Stefaniuc 79ecfaf52f setupapi: Win64 printf format warning fixes. 2006-10-14 20:17:25 +02:00
Michael Ploujnikov 8e302e15d2 setupapi/tests: Win64 printf format warning fixes. 2006-10-10 13:36:38 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Francois Gouget 222c167969 Assorted spelling fixes. 2006-09-29 16:28:30 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Damjan Jovanovic e6e96d3ea1 setupapi: Brace the guid in SetupDiOpenClassRegKeyExW. 2006-09-26 21:50:09 +02:00
James Hawkins 5dadca4dbc setupapi: Fix a typo. 2006-09-26 20:01:55 +02:00
Frank Richter e1fa51f59c setupapi: Duplicate behaviour of native SetupGetInfInformation with NULL ReturnBuffer and certain ReturnBufferSizes. 2006-09-26 11:38:52 +02:00
Paul Vriens d51594d0d6 setupapi/tests: Use pSetupDiOpenClassRegKeyExA. 2006-09-20 20:03:38 +02:00
Paul Vriens 270dbc9d07 setupapi: Fixed wrong check (Coverity). 2006-09-20 11:18:10 +02:00
James Hawkins 15b46847b0 setupapi: Add stubs for SetupOpenLog, SetupCloseLog, and SetupLogError. 2006-09-14 12:06:09 +02:00
James Hawkins 7588b669d8 setupapi: Implement pSetupGetField, with tests. 2006-09-14 11:40:27 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Damjan Jovanovic 9bbcb857f9 setupapi: Fixed returns values and added a test for SetupDiOpenClassRegKeyExW. 2006-09-10 10:17:55 +02:00
Francois Gouget 130af7f090 setupapi: Document a Microsoft spelling mistake so we know it is not to be fixed. 2006-09-08 11:03:17 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Frank Richter 8aecf251df setupapi: Make do_file_copyW send "target newer" notifications. 2006-08-28 11:35:40 +02:00
Paul Vriens 2bd9c59c49 setupapi: Make tests loadable again on NT4. 2006-08-15 19:25:58 +02:00
Francois Gouget 3b7fb551ce setupapi: Fix handling of inf paths that are quoted (due to spaces, typically). 2006-08-10 11:28:02 +02:00
Michael Stefaniuc 757ee19ca1 janitorial: Removed the rest of the redundant NULL checks before HeapFree. 2006-08-10 10:57:33 +02:00
Andrew Talbot 259d6b5077 setupapi/tests: Write-strings warnings fix. 2006-08-07 13:10:35 +02:00
Kevin Koltzau 93f5e0a7fd setupapi: Create an empty list when getting device interface classes. 2006-08-05 11:25:44 +02:00
James Hawkins b74f4d92d7 setupapi: Add a stub implementation of SetupGetSourceInfo. 2006-07-31 21:36:26 +02:00
Christian Gmeiner c514700be2 setupapi: Move SetupDiGetClassDevsExW into devinst.c. 2006-07-24 19:56:03 +02:00
Christian Gmeiner 51cd07c37e setupapi: Implemented SetupDiCreateDeviceInfoA. 2006-07-21 13:26:01 +02:00
Christian Gmeiner dce52c1b3b setupapi: Rename a test. 2006-07-21 13:25:43 +02:00
Christian Gmeiner 41aefd8c62 setupapi: Add stub for SetupDiCreateDeviceInfoW. 2006-07-20 12:52:39 +02:00
Christian Gmeiner bb80e2282e setupapi: Remove unneeded NULL checks before MyFree(). 2006-07-20 12:52:14 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Andrew Talbot cd9202d05b setupapi/tests: Add trailing '\n's to ok() calls. 2006-06-30 21:08:17 +02:00
James Hawkins bce44161f1 setupapi: Fix SetupCloseInfFile when a NULL handle is given, with tests. 2006-06-27 11:15:36 +02:00
Christian Gmeiner 8f5d90b44d setupapi: Implement SetupDiCreateDeviceInfoListExW. 2006-06-19 21:16:04 +02:00
Christian Gmeiner f14f04dc8a setupapi: Documentation update. 2006-06-12 13:21:48 +02:00
Michael Stefaniuc 56026299d0 Remove more redundant NULL checks before HeapFree (found by Smatch). 2006-06-07 14:20:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Andrew Ziem 5c23aa19dc setupapi: Improve unit tests for case sensitivity in string tables. 2006-05-08 16:04:55 +02:00
Robert Shearman 4d7946464a setupapi: Fix parsing of UCS-16 files.
Fix parsing of UCS-16 files prefixed with the Unicode BOM. Based on a 
patch by Hervé Poussineau.
2006-05-05 21:58:28 +02:00
Andrew Ziem 3671263108 setupapi: Add case sensitivity string table tests. 2006-05-05 21:46:23 +02:00
Mike McCormack 07e9ec46ef setupapi: Add a stub implementation for RegistryDelnode. 2006-04-04 20:02:04 +02:00
Alexandre Julliard 605574bebf setupapi: Copy the complete resource tree into the fake dlls. 2006-04-03 14:03:08 +02:00
Antonio Codazzi 872941750e setupapi: Esperanto language support. 2006-04-03 11:50:32 +02:00
Alexandre Julliard 8b478a70ec setupapi: Added support for creating fake dlls at install time.
This should satisfy applications that access a dll file directly. For
apps that check the dll version in the file, the version resource is
copied from the builtin dll.
2006-03-21 11:30:48 +01:00
Alexandre Julliard c67728f7c6 setupapi: Added support for calling executables in a RegisterDlls section. 2006-03-18 18:43:13 +01:00
András Kovács 09aa66879d setupapi: Added Hungarian translation. 2006-03-15 11:33:17 +01:00
James Hawkins ee324e694a setupapi: Downgrade an ERR to a WARN. 2006-02-23 12:09:38 +01:00
Mike McCormack 253e296436 setupapi: Add a stub implementation of CMP_WaitNoPendingInstallEvents. 2006-02-20 11:12:39 +01:00
James Hawkins 94515450fa setupapi: Handle the INFINFO_REVERSE_DEFAULT_SEARCH search flag. 2006-02-14 12:23:58 +01:00
James Hawkins 202942de61 setupapi: Handle the INFINFO_INF_NAME_IS_ABSOLUTE and
INFINFO_DEFAULT_SEARCH search flags.
2006-02-14 12:23:29 +01:00
Petr Tesarik 2b033e9915 setupapi: Czech language resources encoding fix. 2006-02-13 13:28:11 +01:00
James Hawkins f201c9e984 setupapi: Error out if ReturnBuffer is NULL but ReturnBufferSize is not 0. 2006-02-09 12:12:36 +01:00
James Hawkins a1141ee764 setupapi: Convert InfSpec to unicode if SearchControl is not
INFINFO_INF_SPEC_IS_HINF.
2006-02-09 12:12:11 +01:00
James Hawkins 21fb7ab6a1 setupapi: Add an initial implementation of SetupGetInfInformation. 2006-02-07 16:24:17 +01:00
James Hawkins 647329d2dd setupapi: Implement SetupQueryInfFileInformation. 2006-02-07 16:08:33 +01: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
Fatih Aşıcı 70aa7912bf setupapi: Turkish translation. 2006-02-06 13:05:54 +01:00
Alexandre Julliard ebc65aea8d setupapi: Ignore ok file for new query test. 2006-01-31 18:18:24 +01:00
James Hawkins ac6c941058 setupapi: Add tests for SetupGetInfInformation. 2006-01-31 12:22:48 +01:00
Thomas Weidenmueller 278bd29b8d setupapi: Fix comparing the group SIDs in IsUserAdmin. 2005-12-19 18:15:58 +01:00
James Hawkins 11fced7b57 setupapi: Added stubs for SetupGetInfInformation and
SetupQueryInfFileInformation.
2005-12-15 11:02:20 +01:00
Eric Pouech 8cddd5d2fb Made some functions static. 2005-12-12 11:53:56 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
YunSong Hwang 58d6722e7a Add Korean translations. 2005-11-11 10:55:09 +00:00
Francois Gouget 2adb302a99 Add trailing '\n's to ok() and TRACE() calls. 2005-11-10 11:17:38 +00:00
Alexandre Julliard 6c0fc4205c Added a bunch of tests for the INF parser. 2005-11-07 16:41:37 +00:00
Alexandre Julliard 4f128fa874 Added support for optional section.ntx86 and section.nt in
InstallHinfSection when current version is set to NT.
2005-11-03 19:34:03 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Anders Bergh 925e4674a7 Added Swedish translation. 2005-09-28 10:16:33 +00:00
Alexander N. Sørnes 8822dbbb92 Added Norwegian translations. 2005-09-25 15:15:25 +00:00
Eric Kohl da46628883 - String id 0 becomes a reserved (invalid) id.
- StringTableStringFromId returns a pointer to an empty string if the
  string id is invalid.
2005-09-23 10:09:47 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Steven Edwards 331e09c22c Added stringtable regression test. 2005-09-21 14:16:05 +00:00
Eric Kohl 8196e2d0d0 Implement setupapi stringtable functions. 2005-09-21 14:12:15 +00:00
Milko Krachounov 980f817737 Bulgarian resources for mpr, msi, user, commdlg, oleaut32, shdocvw,
shell32, comctl32, msrle32, mshtml, winspool, wineps, serialui,
setupapi, wininet, regedit, uninstaller, notepad, winecfg and
winhelp.
2005-09-19 17:00:58 +00:00
Ge van Geldorp 748d23a7d4 Base of REG_DWORD entries must be auto-detected. 2005-09-14 11:15:58 +00:00
Filip Navara 5d0a292dd2 Fix a couple of prototypes. 2005-09-14 10:06:17 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00: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 92eedf8567 Moved cfgmgr32.h to include/ddk/. 2005-09-06 11:42:50 +00:00
Kimmo Myllyvirta 3344365f08 Added Finnish resources. 2005-09-06 09:22:19 +00:00
Ge van Geldorp 3ebeb2377f index is 1-based at this point, index == line->nb_fields is the last
field and is valid.
2005-08-15 09:43:28 +00:00
Alexandre Julliard 8328c61a01 Added stubs for pSetupGet/SetGlobalFlags. 2005-08-12 18:23:06 +00:00
Alexandre Julliard 4ed08c497b Preserve the spaces before an opening quote in the middle of a token
(reported by Matthew Davison).
2005-07-22 18:30:53 +00:00
Detlef Riekenberg 521d067ba9 SetupSetFileQueueAlternatePlatform{AW} implemented as stub. 2005-07-10 18:16:26 +00:00
Thomas Weidenmueller 738c770dd5 Fixed enumerating the drive strings. 2005-07-10 17:39:26 +00:00
Sebastian Gasiorek 0b30ae582e Added Polish resources. 2005-07-08 11:31:51 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +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
Mike McCormack 09d5cc2363 Declare some functions. 2005-06-07 20:07:34 +00:00
Alexandre Julliard 4b63ed83cf Revert previous change, it shouldn't be necessary (reported by Rob
Shearman).
2005-06-01 11:05:47 +00:00
Alexandre Julliard ec3cf77d65 Skip the Unicode signature if present. 2005-05-31 13:29:48 +00:00
Alexandre Julliard aebb745488 Comment out stub WEP entry points so that we can call WEP for builtin
dlls too.
2005-05-23 10:12:26 +00:00
Alexandre Julliard 0ddd30b0b6 Removed unnecessary code in the 16-bit DllEntryPoint function of some
dlls, and also fixed its ordinal in a few places.
2005-05-23 10:00:26 +00:00
Ivan Leo Puoti 6be20a7c96 Minor fix in SetupQueueCopySectionW. 2005-05-16 08:49:51 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Alexandre Julliard 3629cc4ed6 Eric Kohl <eric.kohl_at_t-online.de>
Implement CaptureAndConvertAnsiArg, CaptureStringArg,
OpenAndMapForRead, RetreiveFileSecurity, StampFileSecurity,
TakeOwnershipOfFile, and UnmapAndCloseFile.
2005-05-06 15:38:22 +00:00
Hans Leidekker 64dcb35a4e Stub implementation for SetupCopyOEMInfW. 2005-05-04 09:47:28 +00:00
Juan Lang 6f3228a539 Implement SetupDiClassNameFromGuidExA. 2005-04-11 12:59:45 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Hans Leidekker d0965ae873 Remove stray 8bit character. 2005-03-27 17:54:17 +00:00
Jakob Eriksson 9ed61de9a2 Get rid of HeapAlloc casts. 2005-03-24 21:01:35 +00:00
Juan Lang 47f1c88817 Implement SetupDiGetClassDevsA/W, SetupDiEnumDeviceInterfaces,
SetupDiDestroyDeviceInfoList, and SetupDiGetDeviceInterfaceDetailA for
serial ports.
2005-03-01 11:44:27 +00:00
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Eric Kohl 4d5c2318e6 Implement DelayedMove and FileExists. 2005-02-14 11:04:39 +00:00
Alexandre Julliard ba7a43e208 Authors: Américo José Melo <mmodem00@netvisao.pt>, Francois Gouget <fgouget@codeweavers.com>
Translate the Wine resources to Portuguese.
2005-02-10 17:14:15 +00:00
Eric Kohl 69d3afc99e - Implement SetupDiBuildClassInfoListExA,
SetupDiClassGuidsFromNameExA, SetupDiCreateDeviceInfoListExA and
  SetupDiOpenClassRegKeyExA using MultiByteToUnicode.
- Retrieve OS version upon process attach.
2005-02-03 13:34:50 +00:00
Eric Kohl 69bdc10aed - Implement DoesUserHavePrivilege, EnablePrivilege, IsUserAdmin,
MultiByteToUnicode and UnicodeToMultiByte.
- Sort prototypes in setupapi.h and a few function in spec.
2005-02-02 19:09:33 +00:00
Hans Leidekker a82f1350c2 Don't use utf8 in rc files. 2005-01-26 19:42:40 +00:00
Eric Kohl 3b4801c5e5 Implement DuplicateString and QueryRegistryValue. 2005-01-25 19:02:08 +00:00
Eric Kohl 38b14b4ccf Implement MyFree, MyMalloc and MyRealloc. 2005-01-24 13:32:26 +00:00
Alexandre Julliard f7fb73710a Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>, Mike McCormack <mike@codeweavers.com>
Added some stub implementations.
2005-01-19 16:57:24 +00:00
Aric Stewart cc8f18f96f Copy the implementation from SetupDefaultQueueCallbackA and make it
W.
2005-01-18 11:39:49 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Gerald Pfeifer 53b71e464a Use proper type for fourth parameter to VerQueryValueW(). 2004-12-13 13:20:36 +00:00
Mike McCormack d921d161c4 Stub implementation for SetupDiOpenDeviceInterface. 2004-12-06 16:19:15 +00:00