https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/nf-wdm-zwclose
ZwClose function (wdm.h) - Windows drivers | Microsoft Learn
The ZwClose routine in wdm.h closes an object handle. ZwClose is a generic routine that operates on any type of object.
windows driversfunctionwdmhmicrosoft