Beispiel #1
0
        public bool TraverseHandleTable(HandleCallback callback, IntPtr token)
        {
            InitDelegate(ref _traverseHandleTable, VTable->TraverseHandleTable);

            IntPtr ptr = Marshal.GetFunctionPointerForDelegate(callback);
            int    hr  = _traverseHandleTable(Self, ptr, token);

            GC.KeepAlive(callback);
            return(hr == S_OK);
        }
Beispiel #2
0
 internal static extern int GetForeachFoundSpecificAPs(SafeWiFiManagerHandle wifi, HandleCallback callback, IntPtr userData);
Beispiel #3
0
 internal static extern int GetForeachConfiguration(SafeWiFiManagerHandle wifi, HandleCallback callback, IntPtr userData);
Beispiel #4
0
 internal static extern int GetAllIPv6Addresses(SafeWiFiAPHandle ap, HandleCallback callback, IntPtr userData);
Beispiel #5
0
 internal static extern IntPtr RefModify(IntPtr handleValue, ref MyCriticalHandleStruct handle, HandleCallback handleCallback);
Beispiel #6
0
 internal static extern IntPtr Ref(ref MyCriticalHandleStruct handle, HandleCallback handleCallback);
Beispiel #7
0
 public static extern void Session_SetCallback([MarshalAs(UnmanagedType.FunctionPtr)] HandleCallback callbackPointer);
Beispiel #8
0
 public KeySequence(HandleCallback pCallbackFunction)
 {
     mHCB = pCallbackFunction;
 }
Beispiel #9
0
 internal static extern IntPtr Ref(ref CriticalHandleWithNoDefaultCtor handle, HandleCallback handleCallback);
Beispiel #10
0
 internal static extern IntPtr Ref(ref AbstractCriticalHandle handle, HandleCallback handleCallback);
Beispiel #11
0
 internal static extern IntPtr InRef([In] ref MyCriticalHandle handle, HandleCallback handleCallback);
Beispiel #12
0
 internal static extern IntPtr In(MyCriticalHandle handle, HandleCallback handleCallback);