[This is preliminary documentation and subject to change.]
Determines what the result pane view should be.
HRESULT GetResultViewType(
long cookie, // unique identifier
LPOLESTR * ppViewType, // pointer to address of the view
long * pViewOptions // pointer to view options
);
Value | Meaning |
---|---|
MMC_VIEW_OPTIONS_ NOLISTVIEWS = 0x0001 |
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. |
MMC_VIEW_OPTIONS_OWNERDATALIST = 0x0002 | Specifies that the result pane list view should be a virtual list. |
MMC_VIEW_OPTIONS_MULTISELECT = 0x0004 | Allows multiple item selections in the result pane view. |
MMC_VIEW_OPTIONS_NONE = 0 |
Allows the default view options. |
The caller will allocate using CoTaskMemAlloc and the called will free it using CoTaskMemFree. These functions are documented in the Platform SDK.
A cookie is a pointer to a structure containing information unique to a specific item that is passed in through the lParam member of a SCOPEDATAITEM structure.
IComponent, IDataObject