Skip to main content

CloseFn

Type Alias CloseFn 

Source
pub type CloseFn = unsafe extern "system" fn(HANDLE) -> BOOL;
Expand description

A Win32 routine that closes a handle.

This is the shape Win32 close routines already have, so one can be passed directly with no shim: CloseHandle and FindCloseChangeNotification both match it.