Share via


IMLUserStore::DeleteKey (Compact 7)

3/12/2014

This method deletes an application-defined key from the Media Library's persistent store.

Syntax

HRESULT DeleteKey (
  BSTR applicationName,
  BSTR key
);

Parameters

  • applicationName
    [in] Name of the application.
  • key
    [in] Name of the key.

Return Values

Returns the HRESULT values shown in the following table.

Value Description

S_OK

The method was successful.

E_INVALIDARG

One or more parameters are invalid.

E_FAIL

The method was not successful.

E_MEMORY

An out of memory error occurred.

Remarks

Applications can use the Media Library's persistent storage to store any type of application-specific information. This method deletes a key that is stored under the application name in the store. The Media Library does not parse or alter the information stored by the application.

Requirements

Header

mlibdll.h,
mlibdll.idl

Library

mlibdll.lib

See Also

Reference

IMLUserStore