/*
IShellDispatch* psl;
HRESULT hres = CoCreateInstance(CLSID_Shell, NULL,CLSCTX_INPROC_SERVER,
IID_IShellDispatch, (LPVOID*)&psl);
if(SUCCEEDED(hres))
{
psl->ControlPanelItem(_T("mmsys.cpl"));//参数要指定控制面板程序的名字,以.cpl以后缀
psl->Release();
}
*/
::ShellExecute(NULL, _T("open"), _T("sndvol32.exe"), _T("/r"), NULL, SW_SHOW);
阅读(1383) | 评论(0) | 转发(0) |