namespace Microsoft.Win32 { //INFINITE定义 public static partial class NativeMethods { /// <summary> /// Infinite timeout /// </summary> public const int INFINITE = unchecked((int)0xFFFFFFFF); } }