Global (Windows): prefers NtClose over CloseHandle

This commit is contained in:
李通洲
2026-03-13 10:58:38 +08:00
parent ea6ad4ac86
commit ca9c67353f
5 changed files with 11 additions and 11 deletions
@@ -98,7 +98,7 @@ const char* ffDetectBluetoothRadio(FFlist* devices /* FFBluetoothRadioResult */)
device->connectable = ffBluetoothIsConnectable(hRadio);
device->discoverable = ffBluetoothIsDiscoverable(hRadio);
CloseHandle(hRadio);
NtClose(hRadio);
} while (ffBluetoothFindNextRadio(hFind, &hRadio));
ffBluetoothFindRadioClose(hFind);