IShellFolder2::GetDetailsEx Method

Gets detailed information, identified by a property set identifier (FMTID) and a property identifier (PID), on an item in a Shell folder.

Syntax

HRESULT GetDetailsEx(      
    PCUITEMID_CHILD pidl,     const SHCOLUMNID *pscid,     VARIANT *pv );

Parameters

pidl
[in] A pointer to an item identifier list (PIDL) of the item, relative to the parent folder. This method accepts only single-level PIDLs. The structure must contain exactly one SHITEMID structure followed by a terminating zero. This value cannot be NULL.
pscid
[in] A pointer to an SHCOLUMNID structure that identifies the column.
pv
[out] A pointer to a VARIANT with the requested information. The value is fully typed. The value returned for properties from the property system must conform to the type specified in that property definition's typeInfo as the legacyType attribute.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

This function is a more robust version of IShellFolder2::GetDetailsOf. It provides access to the information that is displayed in the Windows Explorer Details view of a Shell folder. The primary difference is that GetDetailsEx allows you to identify the column with an FMTID and PID structure instead of having to first determine the column index.

Tags :


Community Content

Chris_Guzak
where to find info on properties that this method can support
the shell property system supports many properties, they are listed here

http://msdn.microsoft.com/en-us/library/dd561977(VS.85).aspx

For data source implementer you can define your own properties but only do this if the system schema does not priviate a property.

For clients of a data source you should refer to the data source specific documentation to determine what properties it supports.
Tags :

Chris_Guzak
data sources that have "file like" items should support the following properties
PKEY_FileName to provide the name of the item (that includes the extension)
PKEY_Size for the size
PKEY_DateModified, PKEY_DateCreated data values
PKEY_FileAttributes
PKEY_ItemType
PKEY_PerceivedType
Tags :

Page view tracker