db789cfa44
The code mistakenly was returning S_OK if non-zero, which would have been the opposite of what was intended.