Revision Summary Date Revision History Revision Class Comments 7/20/2007 0.1 Major MCPP Milestone 5 Initial Availability 9/28/2007 1.0 Updated the technical content and added new content. 10/23/2007 2.0 Updated and revised the technical content. 11/30/2007 2.1 Minor informative content, including a diagram. 1/25/2008 2.1.1 Editorial Changed language and formatting in the technical content. 3/14/2008 3.0 Major Updated and revised the technical content. 5/16/2008 3.0.1 Editorial Changed language and formatting in the technical content. 6/20/2008 4.0 Major Updated and revised the technical content. 7/25/2008 5.0 Major Updated and revised the technical content.
8/29/2008 5.1 Clarified the meaning of the technical content. 10/24/2008 6.0 Major Updated and revised the technical content. 12/5/2008 7.0 Major Updated and revised the technical content. 1/16/2009 8.0 Major Updated and revised the technical content. 2/27/2009 9.0 Updated and revised the technical content. 4/10/2009 10.0 Major Updated and revised the technical content. 5/22/2009 10.1 Minor Clarified the meaning of the technical content. 7/2/2009 10.1.1 Editorial Changed language and formatting in the technical content. 8/14/2009 11.0 Major Updated and revised the technical content. 9/25/2009 12.0 Major Updated and revised the
technical content. 11/6/2009 13.0 Major Updated and revised the technical content. 12/18/2009 14.0 Updated and revised the technical content. 1/29/2010 15.0 Major Updated and revised the technical content. 3/12/2010 15.0.1 Editorial Changed language and formatting in the technical content. 4/23/2010 16.0 Updated and revised the technical content. 6/4/2010 16.0.1 Editorial Changed language and formatting in the technical content. 7/16/2010 16.0.1 None No changes to the meaning, language, or formatting of the technical content. 8/27/2010 16.0.1 None No changes to the meaning, language, or formatting of the technical content.
10/8/2010 16.0.1 None No changes to the meaning, language, or formatting of the technical content. 11/19/2010 16.0.1 None No changes to the meaning, language, or formatting of the technical content. 1/7/2011 16.0.1 None No changes to the meaning, language, or formatting of the technical content. 2/11/2011 16.0.1 None No changes to the meaning, language, or formatting of the technical content. 3/25/2011 16.0.1 None No changes to the meaning, language, or formatting of the technical content. 5/6/2011 16.0.1 None No changes to the meaning, language, or formatting of the technical content. 6/17/2011 16.1 Minor Clarified the
viewerControlId msg (4 MUST contain the value 0x00000004. hostControlId (4 The unique identifier that is used to match requests and replies. This field can contain any 32-bit value but MUST NOT contain 0. The value is not globally unique. This is generated in the local node by incrementing a UINT counter. The counter wraps around if necessary, but 0 is never a valid value. mcsPassFrom (4 The user identifier who is passing control. This field MUST be set to 0x00000000 if the host is passing control. result (4 bytes): One of the following values indicating the response of the sender. Meaning CARESULT_CONFIRMED 0x00000000 The request was granted. CARESULT_DENIED 0x00000001 The request was denied. CARESULT_DENIED_BUSY 0x00000002 The request was denied because the user was occupied. CARESULT_DENIED_USER 0x00000003 The request was denied because the user rejected the request. CARESULT_DENIED_WRONGSTATE 0x00000004 The request was denied because the receiver was not in an acceptable state to accept control. CARESULT_DENIED_TIMEOUT 0x00000005 The request was denied due to user time-out. viewerControlId (4 bytes): The unique identifier that is used to match requests and replies. This field can contain any 32-bit value but MUST NOT contain 0. The value is not globally unique. This is generated in the local node by incrementing a UINT counter. The counter wraps around if necessary, but 0 is never a valid value. Pass Control The Pass Control order passes control from the sender to the receiver. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 Msg viewerControlID hostControlId mcsPassTo Msg (4 bytes): MUST contain the value 0x00000005.
Locked penWidth penStyle Rect ... lockPersonID ... rasterOp smoothed Tooltype LoadedFromfile loadingClientID reserved1 reserved2 Length (4 The total length of the structure plus the length of the variable data that follows this structure. Type (2 bytes): The following values indicate the type of compression that is used for the type field. Value Meaning TYPE_GRAPHIC_FREEHAND 0x0003 A freehand drawing. TYPE_GRAPHIC_LINE 0x0004 A line drawing. TYPE_GRAPHIC_RECTANGLE 0x0005 A rectangle drawing. TYPE_GRAPHIC_FILLED_RECTANGLE 0x0006 A filled rectangle drawing. TYPE_GRAPHIC_ELLIPSE 0x0007 An ellipse drawing. TYPE_GRAPHIC_FILLED_ELLIPSE 0x0008 A filled ellipse drawing. TYPE_GRAPHIC_GRAPHIC_TEXT 0x0009 A line text string. TYPE_GRAPHIC_GRAPHIC_DIB 0x000A A bitmap. Dataoffset (2 bytes): The size, in bytes, of this structure.
attrib: A that defines the attributes of the text. One or more attributesFlag values in the TEXTPDU_ATTRIB field can be set that correspond to the textPenColor, textFillColor, textViewState, textZOrder, textAnchorPoint, textFont, numberOfLines, or textString fields. A field only contains valid data if its attribute flag is set. If the nonStandardPdu in TEXTPDU_HEADER is set to textDeletePDU_chosen (31), the attrib field in MSTextPDU is not present. TEXTPDU_ATTRIB The TEXTPDU_ATTRIB structure defines the attributes of an structure. typedef struct { DWORD attributesFlag; ColorRef textPenColor; ColorRef textFillColor; UINT textViewState; UINT textZOrder; POINT textAnchorPoint; LogFont textFont; UINT numberOfLines; VARIABLE_STRING textString; } TEXTPDU_ATTRIB, *PTEXTPDU_ATTRIB; attributesFlag: The bitmap of flags that describe the changes of an edit operation. 0 1 2 3 4 5 6 7 8 9 1 0 1 2 3 4 5 6 7 8 9 2 0 1 2 3 4 5 6 7 8 9 3 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 X N A Z V F P the bits are defined as: Value Description X ChangedText The text has changed. N ChangedFont The font has changed. A ChangedAnchorPoint The position of the text has changed. Z ChangedZOrder The has changed. V ChangedViewState The view state has changed. F ChangedFillColor The fill color has changed. P ChangedPenColor The pen has changed.
113 114 150 14 14 146 146 146 147 147 N 114 115 116 117 117 118 41 48 154 9 35 35 O 80 80 118 119 120 123 124 125 126 127 128 128 129 130 131 132 133 134 80 80 150 84 84 11 P 177 39 39 86 86 Peer-to-peer 157 157 157 157 15 88 88 148 92 92 93 93 12 12 178 18 18 19 19 20 20 22 22 24 24 25 25 25 25 147 149 R 48 96 96 9 11 9 12 36 36 16 99 99 S 28 28 27 27 28 28 110 110 110 110 111 111 111 111 112 112 102 102 104 104