IPMPlatformManager::AddServiceCategory (Windows CE 5.0)
This method adds a service category object to the IPMPlatformManager interface of type bstrServiceCategoryName.
HRESULT AddServiceCategoryName,BSTR bstrServiceCategoryName,BSTR bstrServiceCategoryId,IPMServiceCategory** ppiServiceCategory);
Parameters
- bstrServiceCategoryName
[in] Name of the service category object to be added. - bstrServiceCategoryId
[in] Optional; GUID of the service category object to be added. If this parameter is not specified, Platform Manager creates a GUID for the service category object. - 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
IPMPlatformManager | IPMServiceCategory
Send Feedback on this topic to the authors