IAssocHandlerInvoker::SupportsSelection method (shobjidl_core.h)

Determines whether an invoker supports its selection.

Syntax

HRESULT SupportsSelection();

Return value

Type: HRESULT

Returns S_OK if this instance supports its selection, or S_FALSE otherwise.

Remarks

For example, this method should return whether an application (as selected from an "Open With" context menu) can Open a file.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)