using System; namespace Microsoft.Win32 { //NULL定义 public static partial class NativeMethods { /// <summary> /// 空指针 /// </summary> public static readonly IntPtr NULL = IntPtr.Zero; } }