Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The AddView method adds a view to the result pane. This method is implemented by MMC and is called by view extensions. For more information, see Extending Views.
Syntax
HRESULT AddView(
[in] PMMC_EXT_VIEW_DATA pExtViewData
);
Parameters
[in] pExtViewData
A pointer to an MMC_EXT_VIEW_DATA structure, which contains information about the view being added to the result pane. The bReplacesDefaultView member of the MMC_EXT_VIEW_DATA structure determines if the standard view is removed when adding the new view.
Return value
If successful, the return value is S_OK. Other return values indicate an error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | mmc.h |
| Library | Mmc.lib |
| DLL | Mmcndmgr.dll |