[DllImport("setupapi.dll", SetLastError = true)] public static extern int SetupCloseInfFile( IntPtr InfHandle );
Microsoft documentation: Link
Last updated 1 year ago