Fixed HANDLE prototype declarations and added some typedefs for :handle and :dword.