I use the QT SDK 4.5.1 in WindowsXP sp3 and work in QT Creator 1.1.0.

I have to use WinDDK to retrive USB flash disk information. My application has to include three files:
#include <windows.h>
#include <winioctl.h>
#include <ddk/ntddstor.h>

While building, I get a lot of double definitions as following:

In file included from main.cpp:20:
D:/Qt/2009.02/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/ddk/ntddstor.h:299: error: redefinition of `struct _STORAGE_DEVICE_NUMBER'
D:/Qt/2009.02/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/winioctl.h:523: error: previous definition of `struct _STORAGE_DEVICE_NUMBER'
D:/Qt/2009.02/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/ddk/ntddstor.h:303: error: conflicting declaration 'typedef int STORAGE_DEVICE_NUMBER'
D:/Qt/2009.02/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/winioctl.h:527: error: 'STORAGE_DEVICE_NUMBER' has a previous declaration as `typedef struct _STORAGE_DEVICE_NUMBER STORAGE_DEVICE_NUMBER'
D:/Qt/2009.02/mingw/bin/../lib/gcc/mingw32/3.4.2/../../../../include/ddk/ntddstor.h:303: error: declaration of `typedef int STORAGE_DEVICE_NUMBER'


Please give me some advices to work around this issue.

Many thanks in advance.