Windows Dev Center

IPropertyStoreCapabilities::IsPropertyWritable method

Queries whether the property handler allows a specific property to be edited in the UI by the user.

Syntax


HRESULT IsPropertyWritable(
  [in] REFPROPERTYKEY key
);

Parameters

key [in]

Type: REFPROPERTYKEY

A reference to PROPERTYKEY structure that represents the property being queried.

Return value

Type: HRESULT

Returns one of the following values.

Return codeDescription
S_OK

The property can be edited and stored by the handler.

S_FALSE

The property cannot be edited.

 

Remarks

The Shell disables the editing of controls by the user as appropriate through this method. A handler that does not support IPropertyStoreCapabilities is assumed to support writing of any property.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Propsys.h

IDL

Propsys.idl

 

 

Community Additions

ADD
Show:
© 2015 Microsoft