コード例 #1
0
ファイル: IconHandle.cs プロジェクト: ududsha/Desktop_Sharing
        public static IconHandle GetCursorIcon(CURSORINFO cursor)
        {
            IntPtr hIcon = PInvoke.CopyIcon(cursor.hCursor);

            if(hIcon == IntPtr.Zero)
                return null;

            return new IconHandle(hIcon);
        }
コード例 #2
0
ファイル: PInvoke.cs プロジェクト: leibi123/Desktop_Sharing
 public static extern bool GetCursorInfo(out CURSORINFO pci);
コード例 #3
0
ファイル: PInvoke.cs プロジェクト: ududsha/Desktop_Sharing
 public static extern bool GetCursorInfo(out CURSORINFO pci);