使用GlobalFreePtr()/ GlobalAllocPtr()时出现error C2065: ' GlobalAllocPtr' : undeclared identif 添加#include <WindowsX.h>即可