<p>In Visual C++ a DWORD is just an unsigned long that is machine, platform, and SDK dependent.  However, since DWORD is a double word (that is 2 * 16), is a DWORD still 32-bit on 64-bit architectures?</p>

[{'answer_id': 39429, 'author': 'Rob Walker', 'author_id': 3631, 'author_profile': 'https://Stackoverflow.com/users/3631', 'pm_score': 4, 'selected': False, 'text': '<p>No ... on all Windows platforms DWORD is 32 bits. LONGLONG or LONG64 is used for 64 bit types.</p>\n'}, {'answer_id': 39430, 'author': 'Mark Ingram', 'author_id': 986, 'author_profile': 'https://Stackoverflow.com/users/986', 'pm_score': 4, 'selected': False, 'text': '<p>It is defined as:</p>\n\n<pre><code>typedef unsigned long       DWORD;\n</code></pre>\n\n<p>However, according to the MSDN:</p>\n\n<blockquote>\n  <p>On 32-bit platforms, long is\n  synonymous with int.</p>\n</blockquote>\n\n<p>Therefore, DWORD is 32bit on a 32bit operating system. There is a separate define for a 64bit DWORD:</p>\n\n<pre><code>typdef unsigned _int64 DWORD64;\n</code></pre>\n\n<p>Hope that helps.</p>\n'}, {'answer_id': 39441, 'author': 'Nir', 'author_id': 3509, 'author_profile': 'https://Stackoverflow.com/users/3509', 'pm_score': 7, 'selected': True, 'text': '<p>Actually, on 32-bit computers a word is 32-bit, but the DWORD type is a leftover from the good old days of 16-bit.</p>\n\n<p>In order to make it easier to port programs to the newer system, Microsoft has decided all the old types will not change size.</p>\n\n<p>You can find the official list here:\n<a href="http://msdn.microsoft.com/en-us/library/aa383751(VS.85).aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/aa383751(VS.85).aspx</a></p>\n\n<p>All the platform-dependent types that changed with the transition from 32-bit to 64-bit end with _PTR (DWORD_PTR will be 32-bit on 32-bit Windows and 64-bit on 64-bit Windows).</p>\n'}, {'answer_id': 73366061, 'author': 'ogggre', 'author_id': 2102379, 'author_profile': 'https://Stackoverflow.com/users/2102379', 'pm_score': 0, 'selected': False, 'text': '<p>Windows API defines DWORD sizes as follows:</p>\n<ul>\n<li><strong>x86:</strong> sizeof(DWORD) = <strong>4</strong></li>\n<li><strong>x64:</strong> sizeof(DWORD) = <strong>4</strong></li>\n</ul>\n'}]
['https://Stackoverflow.com/questions/39419', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/44972/']