Export (0) Print
Expand All

IShellItem2::GetPropertyStore method

Gets a property store object for specified property store flags.

Syntax


HRESULT GetPropertyStore(
  [in]   GETPROPERTYSTOREFLAGS flags,
  [in]   REFIID riid,
  [out]  void **ppv
);

Parameters

flags [in]

Type: GETPROPERTYSTOREFLAGS

The GETPROPERTYSTOREFLAGS constants that modify the property store object.

riid [in]

Type: REFIID

A reference to the IID of the object to be retrieved.

ppv [out]

Type: void**

When this method returns, contains the address of an IPropertyStore interface pointer.

Return value

Type: HRESULT

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

Remarks

Note  When this method is called on a property store for a file, that file is held open for the lifetime of the IPropertyStore object.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft