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