Use SecureZeroMemory instead of plain ZeroMemory because checkAPI says to.

svn path=/trunk/; revision=52727
This commit is contained in:
Evan Huus 2013-10-20 23:38:37 +00:00
parent 63eac3f6fd
commit 87c65ffc5b
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ gboolean IsWindowsVistaOrLater()
DWORDLONG dwlConditionMask = 0;
int op = VER_GREATER_EQUAL;
ZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
SecureZeroMemory(&osvi, sizeof(OSVERSIONINFOEX));
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFOEX);
osvi.dwMajorVersion = 6;
VER_SET_CONDITION(dwlConditionMask, VER_MAJORVERSION, op);