Hmm, it didn't complain about that line...  HANDLEs are defined as void*, which is probably why nullptr works for them