<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
  <CodeSnippet Format="1.0.0">
    <Header>
      <Title>Creates a LONG value by concatenating the specified values.</Title>
      <Shortcut>CreatesaLONGvaluebyconcatenatingthespecifiedvalues.</Shortcut>
      <Description>Creates a LONG value by concatenating the specified values. [C#]</Description>
      <Author>Zero Override</Author>
      <HelpUrl>/PreviewSnippet.aspx?SnippetID=ef931a0e-1f7f-4459-94b4-68d242a9b427</HelpUrl>
      <SnippetTypes>
        <SnippetType>SurroundsWith</SnippetType>
      </SnippetTypes>
    </Header>
    <Snippet>
      <Code Language="csharp"><![CDATA[       /// <summary>
        /// creates a LONG value by concatenating the specified values.
        /// </summary>
        /// <param name="loValue">Specifies the low-order word of the new value.</param>
        /// <param name="hiValue">Specifies the high-order word of the new value.</param>
        public static int MakeLong(int loValue, int hiValue)
        {
            return (hiValue << 16) | (loValue & 0xffff); 
        }
]]></Code>
    </Snippet>
  </CodeSnippet>
</CodeSnippets>