Module: wine Branch: master Commit: 6aace3014d355d355e802299d62a34e8865951ba URL: http://source.winehq.org/git/wine.git/?a=commit;h=6aace3014d355d355e802299d6...
Author: Stefan Leichter Stefan.Leichter@camline.com Date: Tue Dec 17 21:42:00 2013 +0100
setupapi: Support signature $Windows NT$ in SetupDiGetINFClassA/W too.
---
dlls/setupapi/devinst.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/setupapi/devinst.c b/dlls/setupapi/devinst.c index b1d6be0..5eaffd6 100644 --- a/dlls/setupapi/devinst.c +++ b/dlls/setupapi/devinst.c @@ -58,6 +58,7 @@ static const WCHAR NtPlatformExtension[] = {'.','N','T','x','8','6',0}; static const WCHAR Signature[] = {'S','i','g','n','a','t','u','r','e',0}; static const WCHAR Version[] = {'V','e','r','s','i','o','n',0}; static const WCHAR WinExtension[] = {'.','W','i','n',0}; +static const WCHAR WindowsNT[] = {'$','W','i','n','d','o','w','s',' ','N','T','$',0};
/* Registry key and value names */ static const WCHAR ControlClass[] = {'S','y','s','t','e','m','\', @@ -4073,7 +4074,7 @@ BOOL WINAPI SetupDiGetINFClassW(PCWSTR inf, LPGUID class_guid, PWSTR class_name, if (!GetPrivateProfileStringW(Version, Signature, NULL, buffer, MAX_PATH, inf)) return FALSE;
- if (lstrcmpiW(buffer, Chicago)) + if (lstrcmpiW(buffer, Chicago) && lstrcmpiW(buffer, WindowsNT)) return FALSE;
buffer[0] = '\0';