IFileSystemBindData
TOC
Collapse the table of content
Expand the table of content

IFileSystemBindData interface

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

Members

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

Methods

The IFileSystemBindData interface has these methods.

MethodDescription
GetFindData

Gets the file system information stored in the WIN32_FIND_DATA structure.

SetFindData

Stores file system information in a WIN32_FIND_DATA structure. This information is used by IShellFolder::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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

 

 

Show:
© 2016 Microsoft