From 882901c398b5481927393a03de9f1b3b66a1a21a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Fri, 14 Jul 2017 22:15:48 +0000 Subject: [PATCH] [INFLIB][FREELDR]: Introduce a (non-used) "CurrentInf" field in the INFCONTEXT structure, to make it compatible with the "standard" one defined in setupapi.h, so that it can be possible to either use our inflib or setupapi.dll in our code. This will break build inside usetup, and this will be fixed in the next commit. svn path=/trunk/; revision=75343 --- reactos/boot/freeldr/freeldr/include/inffile.h | 2 +- reactos/sdk/lib/inflib/infpriv.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/boot/freeldr/freeldr/include/inffile.h b/reactos/boot/freeldr/freeldr/include/inffile.h index 5d8ad81b42b..766f0125c70 100644 --- a/reactos/boot/freeldr/freeldr/include/inffile.h +++ b/reactos/boot/freeldr/freeldr/include/inffile.h @@ -39,7 +39,7 @@ typedef PULONG HINF, *PHINF; typedef struct _INFCONTEXT { PVOID Inf; -// PVOID CurrentInf; + PVOID CurrentInf; PVOID Section; PVOID Line; } INFCONTEXT, *PINFCONTEXT; diff --git a/reactos/sdk/lib/inflib/infpriv.h b/reactos/sdk/lib/inflib/infpriv.h index f1b3341a201..1df8bb4d065 100644 --- a/reactos/sdk/lib/inflib/infpriv.h +++ b/reactos/sdk/lib/inflib/infpriv.h @@ -65,6 +65,7 @@ typedef struct _INFCACHE typedef struct _INFCONTEXT { PINFCACHE Inf; + PINFCACHE CurrentInf; PINFCACHESECTION Section; PINFCACHELINE Line; } INFCONTEXT;