IMonikerProp::PutProperty method

Sets the value of a property on a moniker.

Syntax

HRESULT PutProperty(
  [in] MONIKERPROPERTY mkp,
  [in] LPCWSTR         val
);

Parameters

  • mkp [in]
    A MONIKERPROPERTY enumerated type value that specifies the property to set on the moniker.

  • val [in]
    A string value that specifies the value to set.

Return value

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

Remarks

Urlmon.dll queries a persistent moniker, such as a MIME handler, for the IMonikerProp interface. If it is implemented, Urlmon.dll calls the IMonikerProp::PutProperty method to pass information, such as the MIME type, about the moniker.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Product

Internet Explorer 5.5

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IMonikerProp

About Asynchronous Pluggable Protocols