GetHandleInformation function Null safety kernel32
Retrieves certain properties of an object handle.
BOOL GetHandleInformation(
HANDLE hObject,
LPDWORD lpdwFlags
);
Implementation
int GetHandleInformation(int hObject, Pointer<Uint32> lpdwFlags) {
final _GetHandleInformation = _kernel32.lookupFunction<
Int32 Function(IntPtr hObject, Pointer<Uint32> lpdwFlags),
int Function(
int hObject, Pointer<Uint32> lpdwFlags)>('GetHandleInformation');
return _GetHandleInformation(hObject, lpdwFlags);
}