Visual C++ can’t find “Windows types” like PVOID, DWORD, ULONG, etc December 21, 2023 by Tarik You will need to include windows.h. Add this line at the top of your source file: #include <windows.h>