IExplorerPaneVisibility::GetPaneState method
Gets the visibility state of the given Windows Explorer pane.
Syntax
HRESULT GetPaneState(
[in] REFEXPLORERPANE ep,
[out] EXPLORERPANESTATE *peps
);
Parameters
- ep [in]
-
Type: REFEXPLORERPANE
A reference to a GUID that uniquely identifies a Windows Explorer pane. One of the following constants as defined in Shlguid.h.
-
The pane on the left side of the Windows Explorer window that hosts the folders tree and Favorites.
-
Commands module along the top of the Windows Explorer window.
-
Organize menu within the commands module.
-
View menu within the commands module.
-
Pane showing metadata along the bottom of the Windows Explorer window.
-
Pane on the right of the Windows Explorer window that shows a large reading preview of the file.
-
Quick filter buttons to aid in a search.
-
Additional fields and options to aid in a search.
-
Introduced in Windows 8: A status bar that indicates the progress of some process, such as copying or downloading.
-
Introduced in Windows 8: The ribbon, which is the control that replaced menus and toolbars at the top of many Microsoft applications.
- peps [out]
-
Type: EXPLORERPANESTATE*
When this method returns, contains the visibility state of the given Windows Explorer pane as one of the EXPLORERPANESTATE constants.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
If the implementer does not care about the state of a given pane and therefore does not want to change it, then the implementer should return a success code for the method and EPS_DONTCARE for the peps parameter. If the method fails, it is treated as if EPS_DONTCARE was returned for the peps parameter.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|