[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
This commit is contained in:
Hermès Bélusca-Maïto 2017-07-14 22:15:48 +00:00
parent 39596fae98
commit 882901c398
2 changed files with 2 additions and 1 deletions

View file

@ -39,7 +39,7 @@ typedef PULONG HINF, *PHINF;
typedef struct _INFCONTEXT
{
PVOID Inf;
// PVOID CurrentInf;
PVOID CurrentInf;
PVOID Section;
PVOID Line;
} INFCONTEXT, *PINFCONTEXT;

View file

@ -65,6 +65,7 @@ typedef struct _INFCACHE
typedef struct _INFCONTEXT
{
PINFCACHE Inf;
PINFCACHE CurrentInf;
PINFCACHESECTION Section;
PINFCACHELINE Line;
} INFCONTEXT;