Zebediah Figura : setupapi: Don't use SP_DEVINFO_DATA in internal structs.

Alexandre Julliard julliard at winehq.org
Thu Aug 16 13:42:49 CDT 2018


Module: wine
Branch: master
Commit: 11d09c299e5df47cadda7473d03a49244c846634
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=11d09c299e5df47cadda7473d03a49244c846634

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sun Jul 29 20:26:25 2018 -0500

setupapi: Don't use SP_DEVINFO_DATA in internal structs.

And especially don't use a pointer to one, since there's no guarantee it'll
remain stable.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/setupapi/devinst.c | 98 +++++++++++++++++++++++++------------------------
 1 file changed, 51 insertions(+), 47 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=11d09c299e5df47cadda7473d03a49244c846634



More information about the wine-cvs mailing list