Partager via


IPMPlatformManager::GetServiceCategory

This method obtains a service category object for a specified bstrServiceCategoryIdOrName element.

HRESULT GetServiceCategory(
  BSTR bstrServiceCategoryIdOrName,
  IPMServiceCategory** ppiServiceCategory 
);

Parameters

  • bstrServiceCategoryIdOrName
    [in] GUID or name of the service category object to be retrieved.
  • ppiServiceCategory
    [out] Pointer to a pointer to the IPMServiceCategory interface.

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: Platman.h, Cemgr.idl.

See Also

IPMServiceCategory

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.