Expand Minimize
This topic has not yet been rated - Rate this topic

SHGetTemporaryPropertyForItem function

Retrieves the temporary property for the given item. A temporary property is a read/write store that holds properties only for the lifetime of the IShellItem object, rather than being persisted back into the item.

Syntax


HRESULT SHGetTemporaryPropertyForItem(
  _In_   IShellItem *psi,
  REFPROPERTYKEY pk,
  _Out_  PROPVARIANT *ppropvarInk
);

Parameters

psi [in]

Type: IShellItem*

A pointer to the item for which the temporary property is to be retrieved.

pk

Type: REFPROPERTYKEY

The property key.

ppropvarInk [out]

Type: PROPVARIANT*

A pointer to the temporary property for the item.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

DLL

Shell32.dll

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.