Share via


IPMServiceCategory::AddServiceInfo

This method adds a service information object to the IPMServiceCategory interface.

HRESULT AddServiceInfo(
  BSTR bstrServiceCLSID,
  BSTR bstrServiceName, 
  IPMServiceInfo** ppiServiceInfo 
);

Parameters

  • bstrServiceCLSID
    [in] Service class identifier.
  • bstrServiceName
    [in] Name of the service information object.
  • ppiServiceInfo
    [out] Pointer to a pointer to the IPMServiceInfo interface. This pointer is returned if the service information object 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: Servicecategory.h, Cemgr.idl.

See Also

IPMServiceCategory | IPMServiceInfo

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.