IPersistFolder3::GetFolderTargetInfo method

Provides the location and attributes of a folder shortcut's target folder.

Syntax

HRESULT GetFolderTargetInfo(
  PERSIST_FOLDER_TARGET_INFO *ppfti
);

Parameters

ppfti

Type: PERSIST_FOLDER_TARGET_INFO*

A pointer to a PERSIST_FOLDER_TARGET_INFO structure used to return the target folder's location and attributes.

Return Value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The PERSIST_FOLDER_TARGET_INFO structure might not be initialized by the caller. GetFolderTargetInfo must assign values to all members of the structure before returning it to the caller.

Requirements

   
Minimum supported client Windows 2000 Professional with SP3, Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll (version 5.0 or later)