GA.cs 673 B

12345678910111213141516171819
  1. namespace Microsoft.Win32
  2. {
  3. //GA定义
  4. public static partial class NativeMethods
  5. {
  6. /// <summary>
  7. /// Retrieves the parent window. This does not include the owner, as it does with the GetParent function.
  8. /// </summary>
  9. public const uint GA_PARENT = 1;
  10. /// <summary>
  11. /// Retrieves the root window by walking the chain of parent windows.
  12. /// </summary>
  13. public const uint GA_ROOT = 2;
  14. /// <summary>
  15. /// Retrieves the owned root window by walking the chain of parent and owner windows returned by GetParent.
  16. /// </summary>
  17. public const uint GA_ROOTOWNER = 3;
  18. }
  19. }