For SWS windows it is left position, top, right, bottom, state, whichdock. Each fields are 4 bytes in little-endian order encoded in hexadecimal. State is a bitfield: 1=open, 2=docked.
Code:
input = '6B010000F900000039040000030200000000000000000000A7'
data = input:gsub('%x%x', function(byte) return string.char(tonumber(byte, 16)) end)
left, top, right, bottom, state, whichdock = string.unpack('<iiiiII', data)