CSnapInItemImpl::GetResultViewType

Call this function to retrieve the type of view for the result pane of the snap-in object.

GetResultViewType(
   LPOLESTR *ppViewType,
   long *pViewOptions 
);

Parameters

  • ppViewType
    [out] Pointer to the address of the returned view type.

  • pViewOptions
    [out] Pointer to the MMC_VIEW_OPTIONS enumeration, which provides the console with options specified by the owning snap-in. This value can be one of the following:

    • MMC_VIEW_OPTIONS_NOLISTVIEWS = 0x00000001   Tells the console to refrain from presenting standard list view choices in the View menu. Allows the snap-in to display its own custom views only in the result view pane. This is the only option flag defined at this time.

    • MMC_VIEW_OPTIONS_NONE = 0   Allows the default view options.

Requirements

Header: atlsnap.h

See Also

Concepts

CSnapInItemImpl Class

CSnapInItemImpl Members