address PREfast warnings on Win32