[PATCH 3/3] wbemprox: Get the disk drive serial number from mountmgr.
Alexandre Julliard
julliard at winehq.org
Thu May 21 13:48:19 CDT 2020
Hans Leidekker <hans at codeweavers.com> writes:
> Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49160
> Signed-off-by: Hans Leidekker <hans at codeweavers.com>
> ---
> dlls/wbemprox/builtin.c | 40 +++++++++++++++++++++++++++++++++++--
> dlls/wbemprox/tests/query.c | 26 ++++++++++++++++++++++++
> 2 files changed, 64 insertions(+), 2 deletions(-)
>
> diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
> index ddd12d6ebcb..6a35737da59 100644
> --- a/dlls/wbemprox/builtin.c
> +++ b/dlls/wbemprox/builtin.c
> @@ -44,6 +44,8 @@
> #include "ntsecapi.h"
> #include "winspool.h"
> #include "setupapi.h"
> +#define WINE_MOUNTMGR_EXTENSIONS
> +#include <ddk/mountmgr.h>
Couldn't this go through some Win32 APIs instead of directly accessing
mountmgr?
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list