123456789101112131415161718192021222324 |
- using System;
- using System.Drawing;
- using System.Runtime.InteropServices;
- namespace LYFZ.OtherExpansion.Win32.Struct
- {
- public struct WINDOWPLACEMENT
- {
- public int length;
- public int flags;
- public int showCmd;
- public Point ptMinPosition;
- public Point ptMaxPosition;
- public RECT rcNormalPosition;
- public static WINDOWPLACEMENT Default
- {
- get
- {
- WINDOWPLACEMENT structure = default(WINDOWPLACEMENT);
- structure.length = Marshal.SizeOf(structure);
- return structure;
- }
- }
- }
- }
|