コード例 #1
0
ファイル: Windows.cs プロジェクト: mfrischknecht/sextant
 public static IntPtr GetClassLongPtr(IntPtr hWnd, GCLPIndex nIndex)
 {
     if (IntPtr.Size > 4)
     {
         return(GetClassLongPtr64(hWnd, nIndex));
     }
     else
     {
         return(new IntPtr(GetClassLongPtr32(hWnd, nIndex)));
     }
 }
コード例 #2
0
ファイル: Windows.cs プロジェクト: mfrischknecht/sextant
 public static extern IntPtr GetClassLongPtr64(IntPtr hWnd, GCLPIndex nIndex);
コード例 #3
0
ファイル: Windows.cs プロジェクト: mfrischknecht/sextant
 public static extern uint GetClassLongPtr32(IntPtr hWnd, GCLPIndex nIndex);