4.1.5 Geometry Handling Sequence

The following annotation shows the Set Video Window message sent from the server to the client. The fields of this message indicate the video window handle on the server and the handle of its parent window.

 Set Video Window
 ChannelName = TSMF,44,server to client
 00000000 00 00 00 40 01 00 00 00 04 01 00 00 9e f9 48 4e ...@..........HN
 00000010 46 7b 8e 4a b7 7a e4 0f b5 9e cc 63 00 01 02 00 F{.J.z.....c....
 00000020 00 00 00 00 ae 03 01 00 00 00 00 00       ............
  
 00 00 00 40 -> Interface Id = 0x00000000 | mask STREAM_ID_PROXY (0x40000000)
 00 00 00 00 -> Message Id = 0x00000000
 04 01 00 00 -> SET_VIDEO_WINDOW = 0x104
 9e f9 48 4e -> PresentationId (GUID) = {4e48f99e-7b46-4a8e-b77a-e40fb59ecc63}
 46 7b 8e 4a 
 b7 7a e4 0f 
 b5 9e cc 63
 00 01 02 00 -> VideoWindowId = 0x20100
 00 00 00 00
 ae 03 01 00 -> HwndParent = 0x103ae
 00 00 00 00
  

The following annotation shows the Update Geometry Information message sent from the server to the client. The fields of this message indicate the shape of the video window on the server.

  
 Update Geometry Information
 ChannelName = TSMF,112,server to client
 00000000 00 00 00 40 00 00 00 00 14 01 00 00 9f 04 86 e0 ...@........\bH.
 00000010 26 d9 ae 45 8c 0f 3e 05 6a f3 f7 d4 2c 00 00 00 ..NN.D...X..,...
 00000020 fe 00 03 00 00 00 00 00 00 10 00 00 40 01 00 00 ............@...
 00000030 f0 00 00 00 5f 01 00 00 20 01 00 00 00 00 00 00 ...._... .......
 00000040 00 00 00 00 5f 01 00 00 20 01 00 00 20 00 00 00 ...._... ... ...
 00000050 00 00 00 00 00 00 00 00 84 00 00 00 40 01 00 00 ............@...
 00000060 84 00 00 00 00 00 00 00 f0 00 00 00 a7 00 00 00 ................
  
 00 00 00 40 -> Interface Id = 0x00000000 | mask STREAM_ID_PROXY (0x40000000)
 00 00 00 00 -> Message Id = 0x00000000
 14 01 00 00 -> UPDATE_GEOMETRY_INFO = 0x114
 9f 04 86 e0 -> PresentationId (GUID) = {e086049f-d926-45ae-8c0f-3e056af3f7d4}
 26 d9 ae 45 
 8c 0f 3e 05 
 6a f3 f7 d4
 2c 00 00 00 -> numGeoMetryInfo = 0x2c
 fe 00 03 00 -> VideoWindowId of GEOMETRY_INFO structure = 0x300fe
 00 00 00 00
 00 10 00 00 -> VideoWindowState of GEOMETRY_INFO structure = TS_WNDFLAG_VISRGN = 0x1000
 40 01 00 00 -> Width of GEOMETRY_INFO structure = 0x140 
 f0 00 00 00 -> Height of GEOMETRY_INFO structure = 0xf0
 5f 01 00 00 -> Left of GEOMETRY_INFO structure = 0x15f
 20 01 00 00 -> Top of GEOMETRY_INFO structure = 0x120
 00 00 00 00 -> Reserved
 00 00 00 00
 5f 01 00 00 -> ClientLeft of GEOMETRY_INFO structure = 0x15f
 20 01 00 00 -> ClientTop of GEOMETRY_INFO structure = 0x120
 20 00 00 00 -> cbVisibleRect = 0x20 
 00 00 00 00 -> Top of the first TS_RECT structure = 0x00
 00 00 00 00 -> Left of the first TS_RECT structure = 0x00
 84 00 00 00 -> Bottom of the first TS_RECT structure = 0x84
 40 01 00 00 -> Right of the first TS_RECT structure = 0x140
 84 00 00 00 -> Top of the second TS_RECT structure = 0x84
 00 00 00 00 -> Left of the second TS_RECT structure = 0x00
 f0 00 00 00 -> Bottom of the second TS_RECT structure = 0xf0
 a7 00 00 00 -> Right of the second TS_RECT structure = 0xa7