Is it WIN32 code ? If yes, then you don't even have to typedef DWORD. Just include <windows.h>/<winbase.h>.

Dan