IFileSaveDialog::AddPlace Method

Adds a folder to the list of places available for the user to open or save items.

Syntax

HRESULT AddPlace(      
    IShellItem *psi,
    FDAP fdap
);

Parameters

  • psi
    [in] A pointer to an IShellItem that represents the folder to be made available to the user. This can only be a folder.
  • fdap
    [in] Specifies where the folder is placed within the list. See FDAP.

Return Value

Returns S_OK if successful, or an error value otherwise.