Export (0) Print
Expand All

PSCreateSimplePropertyChange function

Creates a simple property change.

Syntax


HRESULT PSCreateSimplePropertyChange(
  _In_   PKA_FLAGS flags,
  _In_   REFPROPERTYKEY key,
  _In_   REFPROPVARIANT propvar,
  _In_   REFIID riid,
  _Out_  void **ppv
);

Parameters

flags [in]

Type: PKA_FLAGS

PKA_FLAGS flags.

key [in]

Type: REFPROPERTYKEY

Reference to a PROPERTYKEY structure.

propvar [in]

Type: REFPROPVARIANT

Reference to a PROPVARIANT structure.

riid [in]

Type: REFIID

Reference to a specified IID.

ppv [out]

Type: void**

The address of an IPropertyChange interface pointer.

Return value

Type: HRESULT

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

Remarks

Property changes can be placed into an IPropertyChangeArray which can then be used with IFileOperation to modify the properties on an item.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Propsys.h

Library

Propsys.lib

DLL

Propsys.dll (version 6.0 or later)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft