quartz: Assign to structs instead of using CopyMemory.