[Win32utils-devel] FFI and DWORD

Daniel Berger djberg96 at gmail.com
Tue Apr 10 15:29:43 UTC 2012


Hi,

A DWORD is declared as: typedef unsigned long DWORD;

However, the docs also say that it's a 32-bit unsigned integer. The
range is 0 through 4294967295 decimal.

When using FFI should I declare a DWORD as :ulong or :uint?

Regards,

Dan


More information about the win32utils-devel mailing list