Be consistent with `nullptr`.
Use `void` instead of `VOID`.
MPCTestAPIDlg.cpp: Check return value and add a cast to shut up /analyze.