When using the DDK for vista or above the following warning occurs.

/include/ddk/ntddk.h:4151:13: warning: 'struct _DISK_GEOMETRY_EX' declared
inside parameter list

This patch simply defines _DISK_GEOMETRY_EX similar to:
http://doxygen.reactos.org/d2/d49/ntddk_8h_source.html
---
 mingw-w64-headers/ddk/include/ddk/ntddk.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/mingw-w64-headers/ddk/include/ddk/ntddk.h 
b/mingw-w64-headers/ddk/include/ddk/ntddk.h
index 0c5ffbb..6f5259d 100644
--- a/mingw-w64-headers/ddk/include/ddk/ntddk.h
+++ b/mingw-w64-headers/ddk/include/ddk/ntddk.h
@@ -69,6 +69,7 @@ struct _LOADER_PARAMETER_BLOCK;
 struct _CREATE_DISK;
 struct _DRIVE_LAYOUT_INFORMATION_EX;
 struct _SET_PARTITION_INFORMATION_EX;
+struct _DISK_GEOMETRY_EX;
 
 typedef struct _BUS_HANDLER *PBUS_HANDLER;
 typedef struct _DEVICE_HANDLER_OBJECT *PDEVICE_HANDLER_OBJECT;
-- 
1.8.5.2


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to