1、函数原型是EXTERNPath,S_C DWORD GetPartitionInfo(TCHAR* DeviceTORAGE_DEVICE_NUMBER &sdn);而我是这样调用的:
if(GetPartitionInfo(devicename,&sdn) != 0) 很显然是错误的,应改为if(GetPartitionInfo(devicename,sdn) != 0)
1、函数原型是EXTERNPath,S_C DWORD GetPartitionInfo(TCHAR* DeviceTORAGE_DEVICE_NUMBER &sdn);而我是这样调用的:
if(GetPartitionInfo(devicename,&sdn) != 0) 很显然是错误的,应改为if(GetPartitionInfo(devicename,sdn) != 0)