* Fixed a couple of Windows API calls where warning was generated for size_t being passed to DWORD argument generated warnings on x64 build.
* Fixed a few cascading size_t to int conversion warnings on x64 build.