IShellFolderBindToStorage Method
Requests a pointer to an object's storage interface.
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 BindToStorage(
PIDL pidl,
[OptionalAttribute] IBindCtx bindContext,
ref Guid refIid
)
Function BindToStorage (
pidl As PIDL,
<OptionalAttribute> bindContext As IBindCtx,
ByRef refIid As Guid
) As Object
Dim instance As IShellFolder
Dim pidl As PIDL
Dim bindContext As IBindCtx
Dim refIid As Guid
Dim returnValue As Object
returnValue = instance.BindToStorage(pidl,
bindContext, refIid)
Object^ BindToStorage(
[InAttribute] PIDL^ pidl,
[OptionalAttribute] [InAttribute] IBindCtx^ bindContext,
Guid% refIid
)
abstract BindToStorage :
pidl : PIDL *
[<OptionalAttribute>] bindContext : IBindCtx *
refIid : Guid byref -> Object
No code example is currently available or this language may not be supported.
- pidl PIDL
-
The address of an ITEMIDLIST structure that identifies the subfolder relative to its parent folder.
The structure must contain exactly one SHITEMID structure followed by a terminating zero.
- bindContext IBindCtx (Optional)
-
The optional address of an IBindCtx interface on a bind context object to be used during this operation.
If this parameter is not used, set it to NULL.
Because support for bindContext is optional for folder object implementations,
some folders may not support the use of bind contexts.
- refIid Guid
-
The IID of the requested storage interface.
To retrieve an IStream, IStorage, or IPropertySetStorage interface pointer, set
refIid to IID_IStream, IID_IStorage, or IID_IPropertySetStorage, respectively.
Object
The address that receives the interface pointer specified by
refIid.
If an error occurs, a NULL pointer is returned in this address.