SetupFindFirstLine
[DllImport("setupapi.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern IntPtr SetupFindFirstLine(
IntPtr InfHandle,
string Section,
string Key,
ref INFCONTEXT Context
);
Microsoft documentation: Link
Last updated