64-bit Windows API: what is the size of a C/C++ “DWORD”?
问题 I only have 32-bit Windows installed, so I cannot verify this myself. If I understand correctly, the DWORD used in various places in the Microsoft API is in reference to the original 16-bit word, and has nothing to do with the current hardware architecture? So DWORD which seems to be 32 bits, will remain 32 bits even when I eventually compile and link my app to run in 64-bit Windows? Or will DWORD become 128 bits wide? 回答1: The only thing that changes size between 32 and 64 are pointers. So