SetupFindNextMatchLine

[DllImport("setupapi.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern bool SetupFindNextMatchLine(
   IntPtr InfHandle,
   string Key,
   string Target,
   ref INFCONTEXT ContextIn,
   ref INFCONTEXT ContextOut
);

Microsoft documentation: Link

Last updated