PATCH: include\setupapi.h

Sander van Leeuwen sandervl at xs4all.nl
Sat Jun 15 06:01:33 CDT 2002


Changelog:
- 'class' is a reserved word (C++)

Author:
Sander van Leeuwen (sandervl at xs4all.nl)

--- setupapi.ho	Wed May 29 15:56:48 2002
+++ setupapi.h	Sat Jun 15 12:57:56 2002
@@ -452,8 +452,8 @@
 #define ERROR_NO_SUCH_INTERFACE_DEVICE    ERROR_NO_SUCH_DEVICE_INTERFACE
 #define ERROR_NOT_INSTALLED               (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x1000)
 
-HINF     WINAPI SetupOpenInfFileA( PCSTR name, PCSTR class, DWORD style, UINT *error );
-HINF     WINAPI SetupOpenInfFileW( PCWSTR name, PCWSTR class, DWORD style, UINT *error );
+HINF     WINAPI SetupOpenInfFileA( PCSTR name, PCSTR pszclass, DWORD style, UINT *error );
+HINF     WINAPI SetupOpenInfFileW( PCWSTR name, PCWSTR pszclass, DWORD style, UINT *error );
 #define         SetupOpenInfFile WINELIB_NAME_AW(SetupOpenInfFile)
 BOOL     WINAPI SetupOpenAppendInfFileA( PCSTR, HINF, UINT * );
 BOOL     WINAPI SetupOpenAppendInfFileW( PCWSTR, HINF, UINT * );





More information about the wine-patches mailing list