IFileSystemBindData::SetFindData method (shobjidl_core.h)

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

Syntax

HRESULT SetFindData(
  [in] const WIN32_FIND_DATAW *pfd
);

Parameters

[in] pfd

Type: const WIN32_FIND_DATA*

A pointer to the WIN32_FIND_DATA structure that specifies the data you want to store.

Return value

Type: HRESULT

Always returns S_OK.

Remarks

After the client stores the file information, the instance of the object itself must be stored in a bind context by using the IBindCtx::RegisterObjectParam method with the pszKey parameter set to L"File System Bind Data".

Requirements

Requirement Value
Target Platform Windows
Header shobjidl_core.h