LPCSTR: Long Pointer to Constant String LPCWSTR: Long Pointer to Constant Wide String 区别:wide代表字符串大小为2字节。这样可以处理非ASCII字符,在中文环境下建议使用wide。 参考 https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindoww https://stackoverflow.com/questions/22...