Skip to content

Compositor

Aman Priyadarshi edited this page Dec 26, 2016 · 1 revision

New Window

[StructLayout(LayoutKind.Explicit, Size = 44)]
internal unsafe struct NewWindow
{
  [FieldOffset(12)]
  internal uint X;
  [FieldOffset(16)]
  internal uint Y;
  [FieldOffset(20)]
  internal uint Width;
  [FieldOffset(24)]
  internal uint Height;
  [FieldOffset(28)]
  internal fixed char Buffer[8];
};
  • A new GuiRequest should be send with Type NewWindow.
  • A Response will be send to the client with same type.
  • Width may not be the same.
  • Height may not be the same.
  • Buffer Shm key to for shared memory.
  • Error If any.
  • ErrorType
  • BadRequest: ClientID or HashID is invalid.
  • BadParameters: Width <= 0 or Height <= 0.
  • OutOfMemory: Memory allocation failed.
Clone this wiki locally