IPMProperty::AddProperty

This method adds a property to the IPMProperty interface.

HRESULT AddProperty(
  BSTR bstrLinkName,
  BSTR bstrPropId, 
  IPMProperty** ppiProperty 
);

Parameters

  • bstrLinkName
    [in] Link name of the property.
  • bstrPropId
    [in] Optional; GUID of the property. If this parameter is not specified, Platform Manager creates a GUID for the property.
  • ppiProperty
    [out] Pointer to a pointer to the IPMProperty interface. This pointer is returned if the property has been successfully added.

Return Values

Returns S_OK if the call was successfully completed. If a failure occurs, the appropriate HRESULT value is returned.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Property.h, Cemgr.idl.

See Also

IPMProperty

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.