IOpenControlPanel interface

Exposes methods that retrieve the view state of the Control Panel, the path of individual Control Panel items, and that open either the Control Panel itself or an individual Control Panel item.

Methods

The IOpenControlPanel interface has these methods.

Method Description
IOpenControlPanel::GetCurrentView Gets the most recent Control Panel view:_Classic view or Category view.
IOpenControlPanel::GetPath Gets the path of a specified Control Panel item.
IOpenControlPanel::Open Opens the specified Control Panel item, optionally to a specific page.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)