namespace Microsoft.Win32 { //GA定义 public static partial class NativeMethods { /// /// Retrieves the parent window. This does not include the owner, as it does with the GetParent function. /// public const uint GA_PARENT = 1; /// /// Retrieves the root window by walking the chain of parent windows. /// public const uint GA_ROOT = 2; /// /// Retrieves the owned root window by walking the chain of parent and owner windows returned by GetParent. /// public const uint GA_ROOTOWNER = 3; } }