-
Notifications
You must be signed in to change notification settings - Fork 86
Compositor
Aman Priyadarshi edited this page Dec 26, 2016
·
1 revision
[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 TypeNewWindow
.- 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
orHeight <= 0
.OutOfMemory
: Memory allocation failed.