IPropertySetStorage::Delete method

The Delete method deletes one of the property sets contained in the property set storage object.

Syntax


HRESULT Delete(
  [in]  REFFMTID fmtid
);

Parameters

fmtid [in]

FMTID of the property set to be deleted.

Return value

This method supports the standard return value E_UNEXPECTED, in addition to the following:

S_OK

The property set was successfully deleted.

STG_E_FILENOTFOUND

The specified property set does not exist.

STG_E_ACCESSDENIED

The requested access to the property set storage object has been denied.

STG_E_INSUFFICIENTMEMORY

There is not enough memory to perform this operation.

STG_E_INVALIDPARAMETER

The parameter is invalid.

Remarks

IPropertySetStorage::Delete deletes the property set specified by its FMTID. Specifying a property set that does not exist returns an error. Open substorages and streams(opened through one of the storage- or stream-valued properties) are put into the reverted state.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

Propidl.h (include Objbase.h)

Library

Uuid.lib

DLL

Ole32.dll

IID

IID_IPropertySetStorage is defined as 0000013A-0000-0000-C000-000000000046

 

 

Community Additions

ADD
Show:
© 2014 Microsoft