public static extern int WlanRegisterNotification( [In] IntPtr clientHandle, [In] WlanNotificationSource notifSource, [In] bool ignoreDuplicate, [In] WlanNotificationCallbackDelegate funcCallback, [In] IntPtr callbackContext, [In] IntPtr reserved, [Out] out WlanNotificationSource prevNotifSource);
internal static extern int WlanRegisterNotification( [In] IntPtr hClientHandle, [In] WlanNotificationSource dwNotifSource, [In] bool bIgnoreDuplicate, [In, Optional] WlanNotificationCallbackDelegate funcCallback, [In, Optional] IntPtr pCallbackContext, [In, Out] IntPtr pReserved, [Out, Optional] out WlanNotificationSource pdwPrevNotifSource );