<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.stridewiki.com/index.php?action=history&amp;feed=atom&amp;title=Studio%3ASCL_Samples</id>
	<title>Studio:SCL Samples - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.stridewiki.com/index.php?action=history&amp;feed=atom&amp;title=Studio%3ASCL_Samples"/>
	<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;action=history"/>
	<updated>2026-04-28T08:09:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=12261&amp;oldid=prev</id>
		<title>Ivailop: moved SCL Samples to Studio:SCL Samples</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=12261&amp;oldid=prev"/>
		<updated>2010-05-07T04:58:53Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/index.php?title=SCL_Samples&quot; class=&quot;mw-redirect&quot; title=&quot;SCL Samples&quot;&gt;SCL Samples&lt;/a&gt; to &lt;a href=&quot;/index.php?title=Studio:SCL_Samples&quot; title=&quot;Studio:SCL Samples&quot;&gt;Studio:SCL Samples&lt;/a&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:58, 7 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Ivailop</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=12260&amp;oldid=prev</id>
		<title>Ivailop: /* Prerequisites */</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=12260&amp;oldid=prev"/>
		<updated>2010-05-07T04:58:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Prerequisites&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:58, 7 May 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Prerequisites==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Prerequisites==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before starting, some prerequisites must be satisfied. For details and instructions, see [[Desktop Installation]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before starting, some prerequisites must be satisfied. For details and instructions, see [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Studio:&lt;/ins&gt;Desktop Installation]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Specifically:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Specifically:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ivailop</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=11172&amp;oldid=prev</id>
		<title>Timd at 00:04, 2 September 2009</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=11172&amp;oldid=prev"/>
		<updated>2009-09-02T00:04:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:04, 2 September 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l163&quot;&gt;Line 163:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 163:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category: Samples]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:Studio&lt;/ins&gt;:Samples]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Timd</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8554&amp;oldid=prev</id>
		<title>Stevel at 00:35, 10 December 2008</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8554&amp;oldid=prev"/>
		<updated>2008-12-10T00:35:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:35, 10 December 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Prerequisites==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Prerequisites==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before starting, some prerequisites must be satisfied. For details and instructions, see [[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Host_Installation|Host &lt;/del&gt;Installation]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Before starting, some prerequisites must be satisfied. For details and instructions, see [[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Desktop &lt;/ins&gt;Installation]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Specifically:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Specifically:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8097&amp;oldid=prev</id>
		<title>Stevel: /* &lt;i&gt;VariantMessage.h&lt;/i&gt; */</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8097&amp;oldid=prev"/>
		<updated>2008-10-15T20:07:22Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;i&amp;gt;VariantMessage.h&amp;lt;/i&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:07, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l85&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_send_variant_msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_send_variant_msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VarMsg_t&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VarMsg_Cast_t&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;VarMsg_Union_t&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that is discriminated by the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_dial_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_register_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsg_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsgack_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;varmsg_t&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;varmsg_cast_t&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;varmsg_union_t&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that is discriminated by the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_dial_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_register_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsg_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsgack_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained to a subset of the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_discriminant_codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained to a subset of the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_discriminant_codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8096&amp;oldid=prev</id>
		<title>Stevel: /* &lt;i&gt;VariantMessage.h&lt;/i&gt; */</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8096&amp;oldid=prev"/>
		<updated>2008-10-15T20:03:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;i&amp;gt;VariantMessage.h&amp;lt;/i&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:03, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l84&quot;&gt;Line 84:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 84:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Like the pattern in Ioctl.h, the Variant Message pattern is a message call where the parameter represents varying information, controlled by a discriminant field. However, in this case the payload varies in size based on the discriminant value.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Like the pattern in Ioctl.h, the Variant Message pattern is a message call where the parameter represents varying information, controlled by a discriminant field. However, in this case the payload varies in size based on the discriminant value.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_SendVariantMsg&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_send_variant_msg&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that is discriminated by the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetRegisterParamsSize&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetDialParamsSize&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetSendmsgParamsSize&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetSendmsgAckParamsSize&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that is discriminated by the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_dial_params_size&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_register_params_size&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_sendmsg_params_size&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_sendmsgack_params_size&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;the &lt;/del&gt;the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_Discriminant_Codes&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;to a subset of &lt;/ins&gt;the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_discriminant_codes&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The members of the union are mapped to activate values that have been constrained to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member earlier. This is done with the &amp;lt;tt&amp;gt;[[scl_union_activate]]&amp;lt;/tt&amp;gt; pragmas.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The members of the union are mapped to activate values that have been constrained to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member earlier. This is done with the &amp;lt;tt&amp;gt;[[scl_union_activate]]&amp;lt;/tt&amp;gt; pragmas.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8095&amp;oldid=prev</id>
		<title>Stevel: /* &lt;i&gt;Ioctl.h&lt;/i&gt; */</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8095&amp;oldid=prev"/>
		<updated>2008-10-15T19:56:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;i&amp;gt;Ioctl.h&amp;lt;/i&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:56, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l69&quot;&gt;Line 69:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 69:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The SCL pattern presented in the Ioctl.h header file represents an I/O Control system call. The single interface provides access for several different messages exchanged with the target. The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dwCode&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter switches the structure of the input and output buffers that accompany the call. The pBufIn and pBufOut parameters are cast to unions of pointers to send/receive variable data blocks, yet the size of the payload remains constant.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The SCL pattern presented in the Ioctl.h header file represents an I/O Control system call. The single interface provides access for several different messages exchanged with the target. The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dwCode&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter switches the structure of the input and output buffers that accompany the call. The pBufIn and pBufOut parameters are cast to unions of pointers to send/receive variable data blocks, yet the size of the payload remains constant.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_IOControl&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters qualified:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_io_control&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters qualified:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Using the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma, the &amp;#039;&amp;#039;&amp;#039;dwCode&amp;#039;&amp;#039;&amp;#039; parameter is constrained to allow only the values of the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_Discriminant_Codes&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; enumerated type, as these values determine the structure of the remaining parameters.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Using the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma, the &amp;#039;&amp;#039;&amp;#039;dwCode&amp;#039;&amp;#039;&amp;#039; parameter is constrained to allow only the values of the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_discriminant_codes&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; enumerated type, as these values determine the structure of the remaining parameters.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufIn&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; pointer parameter is cast with &amp;lt;tt&amp;gt;[[scl_cast]]&amp;lt;/tt&amp;gt; to a union of pointers, the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IOCtl_BufIn_t&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufIn&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; pointer parameter is cast with &amp;lt;tt&amp;gt;[[scl_cast]]&amp;lt;/tt&amp;gt; to a union of pointers, the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ioctl_buf_in_t&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted input union (&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufIn&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;) is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The input union discriminant is set to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dwCode&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter, whose value controls the active member of the input union. These members are pointers to various structures that contain send data, e.g. register ids, phone numbers, etc.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted input union (&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufIn&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;) is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The input union discriminant is set to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dwCode&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter, whose value controls the active member of the input union. These members are pointers to various structures that contain send data, e.g. register ids, phone numbers, etc.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The input union&amp;#039;s members are then mapped to activate values in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_Discriminant_Codes&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; enumerated type - the ones that regulate input messages.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The input union&amp;#039;s members are then mapped to activate values in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_discriminant_codes&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; enumerated type - the ones that regulate input messages.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufOut&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; pointer parameter is cast with &amp;lt;tt&amp;gt;[[scl_cast]]&amp;lt;/tt&amp;gt; to a union of pointers, the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;IOCtl_BufOut_t&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type. This union type has pointer members that have been qualified as &amp;#039;&amp;#039;&amp;#039;OUT&amp;#039;&amp;#039;&amp;#039; direction.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufOut&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; pointer parameter is cast with &amp;lt;tt&amp;gt;[[scl_cast]]&amp;lt;/tt&amp;gt; to a union of pointers, the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ioctl_buf_out_t&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type. This union type has pointer members that have been qualified as &amp;#039;&amp;#039;&amp;#039;OUT&amp;#039;&amp;#039;&amp;#039; direction.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted output union (&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufOut&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;) is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted output union (&amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pBufOut&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;) is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The output union discriminant is set to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dwCode&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter.  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The output union discriminant is set to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;dwCode&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter.  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The members of the output union are mapped to activate values in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_Discriminant_Codes&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; enumerated type - the ones that regulate output results. This is done with the &amp;lt;tt&amp;gt;[[scl_union_activate]]&amp;lt;/tt&amp;gt; pragmas.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The members of the output union are mapped to activate values in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;e_discriminant_codes&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; enumerated type - the ones that regulate output results. This is done with the &amp;lt;tt&amp;gt;[[scl_union_activate]]&amp;lt;/tt&amp;gt; pragmas.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pdwActualOut&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is qualified to the &amp;#039;&amp;#039;&amp;#039;OUT&amp;#039;&amp;#039;&amp;#039; direction, to receive read messages as a result of a &amp;#039;&amp;#039;&amp;#039;READMSG&amp;#039;&amp;#039;&amp;#039; system call.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;pdwActualOut&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is qualified to the &amp;#039;&amp;#039;&amp;#039;OUT&amp;#039;&amp;#039;&amp;#039; direction, to receive read messages as a result of a &amp;#039;&amp;#039;&amp;#039;READMSG&amp;#039;&amp;#039;&amp;#039; system call.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====&amp;lt;i&amp;gt;VariantMessage.h&amp;lt;/i&amp;gt;====&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;====&amp;lt;i&amp;gt;VariantMessage.h&amp;lt;/i&amp;gt;====&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8093&amp;oldid=prev</id>
		<title>Stevel: /* &lt;i&gt;VariantMessage.h&lt;/i&gt; */</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8093&amp;oldid=prev"/>
		<updated>2008-10-15T19:03:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;i&amp;gt;VariantMessage.h&amp;lt;/i&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:03, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l85&quot;&gt;Line 85:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 85:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Like the pattern in Ioctl.h, the Variant Message pattern is a message call where the parameter represents varying information, controlled by a discriminant field. However, in this case the payload varies in size based on the discriminant value.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Like the pattern in Ioctl.h, the Variant Message pattern is a message call where the parameter represents varying information, controlled by a discriminant field. However, in this case the payload varies in size based on the discriminant value.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_Variant_Msg&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_SendVariantMsg&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that is discriminated by the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_register_params_size&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_dial_params_size&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_sendmsg_params_size&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_sendmsgack_params_size&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that is discriminated by the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetRegisterParamsSize&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetDialParamsSize&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetSendmsgParamsSize&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_GetSendmsgAckParamsSize&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained the the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_Discriminant_Codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained the the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_Discriminant_Codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8092&amp;oldid=prev</id>
		<title>Stevel: /* &lt;i&gt;VariantMessage.h&lt;/i&gt; */</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8092&amp;oldid=prev"/>
		<updated>2008-10-15T18:50:36Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;i&amp;gt;VariantMessage.h&amp;lt;/i&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:50, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l86&quot;&gt;Line 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_Variant_Msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_Variant_Msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;matches &lt;/del&gt;the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_register_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_dial_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsg_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsgack_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;is discriminated by &lt;/ins&gt;the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_register_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_dial_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsg_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsgack_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained the the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_Discriminant_Codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained the the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_Discriminant_Codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
	<entry>
		<id>https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8091&amp;oldid=prev</id>
		<title>Stevel: /* &lt;i&gt;VariantMessage.h&lt;/i&gt; */</title>
		<link rel="alternate" type="text/html" href="https://www.stridewiki.com/index.php?title=Studio:SCL_Samples&amp;diff=8091&amp;oldid=prev"/>
		<updated>2008-10-15T18:49:34Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;&amp;lt;i&amp;gt;VariantMessage.h&amp;lt;/i&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:49, 15 October 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l86&quot;&gt;Line 86:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 86:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_Variant_Msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_Variant_Msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; interface is captured and its parameters are qualified:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that matches the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;get_register_params_size&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;get_dial_params_size&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;get_sendmsg_params_size&lt;/del&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsgack_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; parameter is cast from the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure type to the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Cast_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; structure, which overlays the same &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; members that the original structure had, but the last member of the original structure, the single element &amp;lt;tt&amp;gt;char&amp;lt;/tt&amp;gt; array, is replaced by a &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;VarMsg_Union_t&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; union member. This is a union of structures that matches the set of values that will be assigned to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member. The &amp;lt;tt&amp;gt;body_len&amp;lt;/tt&amp;gt; field will contain the final payload size, which can be initialized by using the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_register_params_size&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_dial_params_size&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;f_get_sendmsg_params_size&lt;/ins&gt;&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;f_get_sendmsgack_params_size&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; utilities.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained the the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_Discriminant_Codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member is constrained the the message code enumerations defined in the &amp;#039;&amp;#039;&amp;#039;&amp;lt;tt&amp;gt;e_Discriminant_Codes&amp;lt;/tt&amp;gt;&amp;#039;&amp;#039;&amp;#039; type in the included &amp;lt;i&amp;gt;types.h&amp;lt;/i&amp;gt; file. This is done with the &amp;lt;tt&amp;gt;[[scl_values]]&amp;lt;/tt&amp;gt; pragma.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*The casted union member is then qualified with the &amp;lt;tt&amp;gt;[[scl_union]]&amp;lt;/tt&amp;gt; pragma. The union discriminant is set to the &amp;lt;tt&amp;gt;msg_id&amp;lt;/tt&amp;gt; member.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Stevel</name></author>
	</entry>
</feed>