This method obtains a property object for a specified bstrPropId element.

HRESULT GetProperty(
  BSTR bstrPropId,
  IPMProperty** ppiProperty 


  • bstrPropId
    [in] GUID of the property object to be retrieved.
  • ppiProperty
    [out] Pointer to a pointer to the IPMProperty interface.

Return Values

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


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

See Also


 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.