Export (0) Print
Expand All

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(
  [in]   PCUITEMID_CHILD pidl,
  [in]   const SHCOLUMNID *pscid,
  [out]  VARIANT *pv
);

Parameters

pidl [in]

Type: PCUITEMID_CHILD

A 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]

Type: const SHCOLUMNID*

A pointer to an SHCOLUMNID structure that identifies the column.

pv [out]

Type: VARIANT*

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

Type: HRESULT

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

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.

Requirements

Minimum supported client

Windows 2000 Professional, Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

DLL

Shell32.dll (version 5.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft