CreateFile调用失败,提示找不到指定路径

// GetDiskInfo.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include
#include

int main()
{
char *cPath = new char[MAX_PATH];
QueryDosDeviceA( "C:", cPath, MAX_PATH );

HANDLE hFile = CreateFileA( cPath, GENERIC_READ,
    0,NULL,OPEN_EXISTING,0,0);
if( INVALID_HANDLE_VALUE == hFile )
{
    printf("open error %d\n",GetLastError()); //错误码:3,找不到指定路径
}
getchar();
return 0;

}