IShellItemBindToHandler Method

Binds to a handler for an item as specified by the handler ID value (BHID).

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
Object BindToHandler(
	IBindCtx pbc,
	ref Guid refBHID,
	ref Guid refIID
)

Parameters

pbc  IBindCtx
A pointer to an IBindCtx interface on a bind context object. Used to pass optional parameters to the handler.

The contents of the bind context are handler-specific. For example, when binding to BHID_Stream, the STGM flags in the bind context indicate the mode of access desired (read or read/write).

refBHID  Guid
Reference to a GUID that specifies which handler will be created.
refIID  Guid
IID of the object type to retrieve.

Return Value

Object
When this method returns, contains a pointer of type riid that is returned by the handler specified by refBHID.

See Also