internal static extern IntPtr Ref(ref AbstractCriticalHandle handle, HandleCallback handleCallback);
internal static extern void Out(IntPtr handleValue, out AbstractCriticalHandle handle);