NetBiosClose or NetBios32Close

The NetBiosClose API closes a handle to a network device driver. It ends access to the driver by invalidating its handle and canceling any outstanding network control blocks (NCBs).