# SetupCloseInfFile

```csharp
[DllImport("setupapi.dll", SetLastError = true)]
public static extern int SetupCloseInfFile(
   IntPtr InfHandle
);
```

Microsoft documentation: [Link](https://learn.microsoft.com/en-us/windows/win32/api/setupapi/nf-setupapi-setupcloseinffile)
