title: What is the size of a Word in the context of the mbstowcs_s function SizeInWords parameter?
body: <p>I am having difficulty determining what the exact size of a Word should be in the context of the Windows API function mbstowcs_s.  Here is the relevant information from the MSDN as well as the link.</p>
  
  <blockquote>
    <p><strong>mbstowcs_s, _mbstowcs_s_l</strong></p>
    
    <p>Converts a sequence of multibyte characters to a corresponding sequence of wide characters. Versions of mbstowcs, _mbstowcs_l with security enhancements as described in Security Features in the CRT.</p>
    
    <p><strong>Parameters</strong></p>
    
    <p>[out] pReturnValue - The number of characters converted.</p>
    
    <p>[out] wcstr - Address of buffer for the resulting converted wide character string.</p>
    
    <p>[in] sizeInWords - The size of the wcstr buffer in words.</p>
    
    <p>[in] mbstr - The address of a sequence of null terminated multibyte characters.</p>
    
    <p>[in] count - The maximum number of wide characters to store in the wcstr buffer, not including the terminating null, or _TRUNCATE.</p>
  </blockquote>
  
  <p>Here is the link to the MSDN page: <a href="https://msdn.microsoft.com/en-us/library/eyktyxsx.aspx" rel="nofollow">https://msdn.microsoft.com/en-us/library/eyktyxsx.aspx</a></p>
  
  <p>Any ideas?</p>