コード例 #1
0
ファイル: winapi.func.cs プロジェクト: AndrewEastwood/desktop
 public static extern Boolean GetFileTime(IntPtr hFile, winapi.Components.FILETIME lpCreationTime,
     out winapi.Components.FILETIME lpLastAccessTime, out winapi.Components.FILETIME lpLastWriteTime);
コード例 #2
0
ファイル: winapi.func.cs プロジェクト: AndrewEastwood/desktop
 public static extern Boolean FileTimeToSystemTime(ref winapi.Components.FILETIME lpFileTime, 
     out SYSTEMTIME lpSystemTime);
コード例 #3
0
ファイル: winapi.func.cs プロジェクト: AndrewEastwood/desktop
 public static extern Int64 CompareFileTime(ref winapi.Components.FILETIME lpFileTime1, 
     ref winapi.Components.FILETIME lpFileTime2);
コード例 #4
0
ファイル: winapi.func.cs プロジェクト: AndrewEastwood/desktop
 public static extern Boolean FileTimeToLocalFileTime(ref winapi.Components.FILETIME lpFileTime, 
     out winapi.Components.FILETIME lpLocalFileTime);
コード例 #5
0
ファイル: Form1.cs プロジェクト: andrejpanic/win-mobile-code
 /// <summary>
 /// called by every wndproc message
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="wndProcArgs"></param>
 void subClassedForm_wndProcEvent(object sender, winapi.subclassForm.wndprocEventArgs wndProcArgs)
 {
     //WM_MOVE xPos = (int)LOWORD(lParam);   yPos = (int)HIWORD(lParam);
     if (wndProcArgs.msg == (uint)winapi.subclassForm.WNDMSGS.WM_MOVE)
         addLog("WM_MOVE: X/Y = " + LoWord(wndProcArgs.lParam).ToString() + "/" + HiWord(wndProcArgs.lParam).ToString());
 }