public bool SetWindowPlacement(User32WindowPlacement wndpl) { unsafe { return(User32APIs.SetWindowPlacement(Hwnd, &wndpl)); } }
protected override void ProcessRecord() { User32WindowPlacement placement = new User32WindowPlacement(); unsafe { placement.Length = (uint)sizeof(User32WindowPlacement); } WriteObject(placement); }