[PATCH v2 2/3] virtdisk: Add GetStorageDependencyInformation stub.

Alexandre Julliard julliard at winehq.org
Wed Sep 12 10:20:18 CDT 2018


Gijs Vermeulen <gijsvrm at 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.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list