DeactivateActCtx function Null safety kernel32

int DeactivateActCtx(
  1. int dwFlags,
  2. int ulCookie

The DeactivateActCtx function deactivates the activation context corresponding to the specified cookie.

BOOL DeactivateActCtx(
  DWORD     dwFlags,
  ULONG_PTR ulCookie


int DeactivateActCtx(int dwFlags, int ulCookie) {
  final _DeactivateActCtx = _kernel32.lookupFunction<
      Int32 Function(Uint32 dwFlags, IntPtr ulCookie),
      int Function(int dwFlags, int ulCookie)>('DeactivateActCtx');
  return _DeactivateActCtx(dwFlags, ulCookie);