FindClose function Null safety kernel32

int FindClose (
  1. int hFindFile
)

Closes a file search handle opened by the FindFirstFile, FindFirstFileEx, FindFirstFileNameW, FindFirstFileNameTransactedW, FindFirstFileTransacted, FindFirstStreamTransactedW, or FindFirstStreamW functions.

BOOL FindClose(
  HANDLE hFindFile
);

Implementation

int FindClose(int hFindFile) {
  final _FindClose = _kernel32.lookupFunction<Int32 Function(IntPtr hFindFile),
      int Function(int hFindFile)>('FindClose');
  return _FindClose(hFindFile);
}