Exemple #1
0
 public bool SetWindowPlacement(User32WindowPlacement wndpl)
 {
     unsafe
     {
         return(User32APIs.SetWindowPlacement(Hwnd, &wndpl));
     }
 }
Exemple #2
0
        protected override void ProcessRecord()
        {
            User32WindowPlacement placement = new User32WindowPlacement();

            unsafe
            {
                placement.Length = (uint)sizeof(User32WindowPlacement);
            }

            WriteObject(placement);
        }