- Define STATIC_KSMETHODSETID_BdaChangeSync without braces.
[PSDK]
- _ANONYMOUS_UNION/_ANONYMOUS_STRUCT -> __MINGW_EXTENSION
- usbuser.h : Add missing #endif

svn path=/trunk/; revision=48361
This commit is contained in:
Amine Khaldi 2010-07-29 16:42:00 +00:00
parent dd08ddbbe9
commit 8e9eff5518
4 changed files with 6 additions and 4 deletions

View file

@ -217,7 +217,7 @@ typedef enum {
*/
#define STATIC_KSMETHODSETID_BdaChangeSync \
0xfd0a5af3, 0xb41d, 0x11d2, {0x9c, 0x95, 0x0, 0xc0, 0x4f, 0x79, 0x71, 0xe0}
0xfd0a5af3, 0xb41d, 0x11d2, 0x9c, 0x95, 0x0, 0xc0, 0x4f, 0x79, 0x71, 0xe0
DEFINE_GUIDSTRUCT("FD0A5AF3-B41D-11d2-9C95-00C04F7971E0", KSMETHODSETID_BdaChangeSync);

View file

@ -76,9 +76,9 @@ DEFINE_GUID(GUID_DEVINTERFACE_MOUSE, \
typedef struct _MOUSE_INPUT_DATA {
USHORT UnitId;
USHORT Flags;
_ANONYMOUS_UNION union {
__MINGW_EXTENSION union {
ULONG Buttons;
_ANONYMOUS_STRUCT struct {
__MINGW_EXTENSION struct {
USHORT ButtonFlags;
USHORT ButtonData;
} DUMMYSTRUCTNAME;

View file

@ -628,7 +628,7 @@ typedef struct _STORAGE_MEDIA_SERIAL_NUMBER_DATA {
typedef struct _PERSISTENT_RESERVE_COMMAND {
ULONG Version;
ULONG Size;
_ANONYMOUS_UNION union {
__MINGW_EXTENSION union {
struct {
UCHAR ServiceAction:5;
UCHAR Reserved1:3;

View file

@ -342,6 +342,8 @@ typedef struct _USBUSER_REFRESH_HCT_REG {
#include <poppack.h>
#endif /* _WIN32_WINNT >= 0x0501 */
#ifdef __cplusplus
}
#endif