Windows Data Types… why so redundant/undescriptive?

后端 未结 3 585
借酒劲吻你
借酒劲吻你 2020-12-29 07:13

Could someone please exactly why the following typedefs/#defines have been defined? What value do they have, compared to the originals?

<         


        
3条回答
  •  余生分开走
    2020-12-29 07:45

    One reason is to maintain some kind of portability between C compilers.

    In particular DWORD64, in theory you just need to change the definition of DWORD64 to get the code compiling on other compilers.

提交回复
热议问题