格式做了部分!但是有个参数不知道如何获取?
typedef int (WINAPI *SHFORMATDRIVE)(HWND, int, int, int);   
SHFORMATDRIVE   SHFormatDrive;   
void CFormatDemoDlg::OnBtnFormat() 
{
// TODO: Add your control notification handler code here
HINSTANCE  hShell32 = ::LoadLibrary("shell32.dll");
if(hShell32)
{
SHFormatDrive = (SHFORMATDRIVE)::GetProcAddress(hShell32, "SHFormatDrive");
if(SHFormatDrive)
{
int iResult = SHFormatDrive(Handle, 0, 0, 0);
}
}
}SHFormatDrive()第一个参数如何获取?另外格式化有思路,请高手指点U盘分区的方法!谢谢!!