IFileSystemBindData interface (shobjidl_core.h)

Exposes methods that store file system information for optimizing calls to IShellFolder::ParseDisplayName.

Inheritance

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

Methods

The IFileSystemBindData interface has these methods.

 
IFileSystemBindData::GetFindData

Gets the file system information stored in the WIN32_FIND_DATA structure.
IFileSystemBindData::SetFindData

Stores file system information in a WIN32_FIND_DATA structure. This information is used by ParseDisplayName.

Remarks

IFileSystemBindData stores the file system information in a WIN32_FIND_DATA structure. The object that implements IFileSystemBindData is then stored in a bind context that is passed to IShellFolder::ParseDisplayName.

Implement IFileSystemBindData when you want to optimize calls to IShellFolder::ParseDisplayName and you already have the WIN32_FIND_DATA structure's file information available to you.

To store the WIN32_FIND_DATA information prior to calling IShellFolder::ParseDisplayName, the client uses the following procedure.

  1. Create an instance of the object that exposes the IFileSystemBindData interface.
  2. Use IFileSystemBindData::SetFindData to store the data in the object.
  3. Store the object in a bind context through the IBindCtx::RegisterObjectParam method. Set the pszKey parameter to the string L"File System Bind Data" and the punk parameter to the address of the IFileSystemBindData interface.
The bind context is then passed with the call to IShellFolder::ParseDisplayName.
Note  Prior to Windows Vista this interface was declared in Shlobj.h.
 

Requirements

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