Gijs Vermeulen gijsvrm@gmail.com writes:
@@ -22,10 +22,23 @@
#include "windef.h" #include "winbase.h" +#include "virtdisk.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(virtdisk);
+typedef struct _STORAGE_DEPENDENCY_INFO_LOCAL +{
- STORAGE_DEPENDENCY_INFO_VERSION Version;
- ULONG NumberEntries;
- __C89_NAMELESS union
- {
STORAGE_DEPENDENCY_INFO_TYPE_1 Version1Entries[1];
STORAGE_DEPENDENCY_INFO_TYPE_2 Version2Entries[1];
- } __C89_NAMELESSUNIONNAME;
+} STORAGE_DEPENDENCY_INFO_LOCAL;
You shouldn't need any of the nameless union stuff for the local definition. You may even want to get rid of this structure entirely, for what you are doing it doesn't seem useful.