HANDLE WINAPI f_CreateFileA(LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition, DWORD dwFlagsAndAttributes, HANDLE hTemplateFile)
{
MessageBoxA(NULL, lpFileName, lpFileName, MB_OK | MB_SYSTEMMODAL);
return CreateFileA(NULL, NULL, NULL, NULL, NULL, NULL, NULL);
}
我试图让我的消息框,显示传递给的CreateFile的文件名,它是唯一呈现“C”和我会假设这是因为特殊字符已经和我想知道如果有人能告诉我如何解决这个问题?