Export (0) Print
Expand All

IFileSystemBindData2 interface

Extends IFileSystemBindData, which stores file system information for optimizing calls to IShellFolder::ParseDisplayName. This interface adds the ability set or get file ID or junction class identifier (CLSID).

Members

The IFileSystemBindData2 interface inherits from IFileSystemBindData. IFileSystemBindData2 also has these types of members:

Methods

The IFileSystemBindData2 interface has these methods.

MethodDescription
GetFileID

Gets the unique file identifier for the current file.

GetJunctionCLSID

Gets the CLSID of the object that implements IShellFolder for the item, if the item is a junction point.

SetFileID

Sets the unique file identifier for the current file.

SetJunctionCLSID

Sets the CLSID of the object that implements IShellFolder, if the current item is a junction point.

 

Remarks

This interface also provides the methods of the IFileSystemBindData interface, from which it inherits.

To pass the information expressed in this interface to a data source IShellFolder::ParseDisplayName, an IBindCtx object is created (use CreateBindCtx) and populated with an object that implements IFileSystemBindData by calling the following:


IBindCtx::RegisterObjectParam(STR_FILE_SYS_BIND_DATA, pfsbd)


Where pfsbd is the object that implements IFileSystemBindData.

Implementers of IShellFolder::ParseDisplayName first make the following call.


IUnknown *punk;
pbc->GetObjectParam(STR_FILE_SYS_BIND_DATA, &punk);


Next the implementer calls one of the Get methods listed above to retrieve the parameters.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft