Ejemplo n.º 1
0
        public static bool MagSetWindowFilterList(IntPtr hwnd, MagnifierFilterMode filterMode, IntPtr[] pHWND)
        {
            int arraySize = Marshal.SizeOf(typeof(IntPtr)) * pHWND.Length;

            IntPtr ptrDest = Marshal.AllocHGlobal(arraySize);

            Marshal.Copy(pHWND, 0, ptrDest, pHWND.Length);
            return(MagSetWindowFilterList(hwnd, filterMode, pHWND.Length, ptrDest));
        }
Ejemplo n.º 2
0
 public static extern bool MagSetWindowFilterList(IntPtr hwnd, MagnifierFilterMode pdwFilterMode, int count, IntPtr pHWND);
Ejemplo n.º 3
0
 public static extern int MagGetWindowFilterList(IntPtr hwnd, ref MagnifierFilterMode pdwFilterMode, int count, IntPtr pHWND);