Wince6下能调出WIFI设置界面的好东西。是单独的一个EXE文件。用代码打开他就行了。代码用这个就行了。void IDD_AllSetting1::RunExe(LPTSTR filename)
{
SHELLEXECUTEINFO ShExecInfo = {0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = this->m_hWnd;
ShExecInfo.lpVerb = L"open";
ShExecInfo.lpFile = filename;
ShExecInfo.lpParameters = NULL;
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
/*HWND hWnd;
hWnd=ShExecInfo.hwnd;*/
/* CWnd *wnd;
wnd->Attach(hWnd);*/
// WINUSERAPI::SetWindowPos(hWnd,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE&SWP_NOSIZE&SWP_SHOWWINDOW);
WaitForSingleObject(ShExecInfo.hProcess,INFINITE);
}
2019-12-21 19:40:50
5KB
WIFI
调置
1