ZwClose

[DllImport("ntdll.dll", SetLastError = true)]
public static extern int ZwClose(
   IntPtr hObject
);

Microsoft documentation: Link

Last updated