IShellItemBindToHandler Method
Binds to a handler for an item as specified by the handler ID value (BHID).
Namespace: DevCase.Win32.InterfacesAssembly: 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
)
Function BindToHandler (
pbc As IBindCtx,
ByRef refBHID As Guid,
ByRef refIID As Guid
) As Object
Dim instance As IShellItem
Dim pbc As IBindCtx
Dim refBHID As Guid
Dim refIID As Guid
Dim returnValue As Object
returnValue = instance.BindToHandler(pbc,
refBHID, refIID)
Object^ BindToHandler(
IBindCtx^ pbc,
Guid% refBHID,
Guid% refIID
)
abstract BindToHandler :
pbc : IBindCtx *
refBHID : Guid byref *
refIID : Guid byref -> Object
No code example is currently available or this language may not be supported.
- 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.
Object
When this method returns, contains a pointer of type riid
that is returned by the handler specified by
refBHID.