Replaced some calls to ZeroMemory marco with C++11 style initializations.
Added a pragma for disabling the 4351 warning.