コード例 #1
0
ファイル: SThread.cs プロジェクト: 0x1911/CmdObjectManager
 /// <summary>
 /// Waits for an object to enter a signaled state.
 /// </summary>
 /// <param name="hObject">The object for which to wait.</param>
 /// <param name="dwMilliseconds">Number of milliseconds to wait.</param>
 /// <returns>Returns one of the values in the static WaitValues class.</returns>
 public static uint WaitForSingleObject(IntPtr hObject, uint dwMilliseconds)
 {
     return(Imports.WaitForSingleObject(hObject, dwMilliseconds));
 }
コード例 #2
0
ファイル: SThread.cs プロジェクト: 0x1911/CmdObjectManager
 /// <summary>
 /// Waits for an object to enter a signaled state.
 /// </summary>
 /// <param name="hObject">The object for which to wait.</param>
 /// <returns>Returns one of the values in the static WaitValues class.</returns>
 public static uint WaitForSingleObject(IntPtr hObject)
 {
     return(Imports.WaitForSingleObject(hObject, WaitValues.INFINITE));
 }