Article ID: 191656
Article Last Modified on 7/1/2004
Control Panel - {000314FE-0000-0000-C000-000000000046}
My Computer - {000214A0-0000-0000-C000-000000000046}
Recycle Bin - {000214A1-0000-0000-C000-000000000046}
Databases - {000214A4-0000-0000-C000-000000000046}
You can use the following function to open an instance of Windows Explorer
in the Control Panel folder. Note that the CLSID must be enclosed in
quotes.
BOOL WINAPI OpenControlPanel ()
{
TCHAR szControlPanel[] = L"\"
{000314FE-0000-0000-C000-000000000046}\"";
SHELLEXECUTEINFO sei = {0};
sei.cbSize = sizeof (SHELLEXECUTEINFO);
sei.lpVerb = L"Open";
sei.lpFile = szControlPanel;
sei.nShow = SW_SHOW;
sei.hInstApp = hInstance;
return ShellExecuteEx (&sei);
}
Keywords: kbhowto KB191656