ActivateActCtx function Null safety kernel32

int ActivateActCtx(
  1. int hActCtx,
  2. Pointer<IntPtr> lpCookie

The ActivateActCtx function activates the specified activation context. It does this by pushing the specified activation context to the top of the activation stack. The specified activation context is thus associated with the current thread and any appropriate side-by-side API functions.

BOOL ActivateActCtx(
  HANDLE    hActCtx,
  ULONG_PTR *lpCookie


int ActivateActCtx(int hActCtx, Pointer<IntPtr> lpCookie) =>
    _ActivateActCtx(hActCtx, lpCookie);