IOpenControlPanel::GetCurrentView method
Gets the most recent Control Panel view: Classic view or Category view.
Syntax
HRESULT GetCurrentView( [out] CPVIEW *pView );
Parameters
- pView [out]
-
Type: CPVIEW*
A pointer that receives the most recent view. Valid values are as follows:
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: