Share via


ICcDevice::GetServiceMap

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This method gets the ICcServiceInfo object associated with a given service category for a device.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

HRESULT GetServiceMap(
  BSTR in_bstrServiceCategoryID,
  ICcServiceInfo** out_ppiServiceInfo
);

Parameters

  • in_bstrServiceCategoryID
    [in] Service category to map against.
  • out_ppiServiceInfo
    [out,retval] Pointer to the ICcServiceInfo associated with the service category.

    This is NULL if no associations are set.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates success.

E_INVALIDARG

Indicates an invalid argument.

E_FAIL

Indicates a generic error.

S_FALSE

Indicates no associated run-time image was found.

Requirements

Header ccdatastore.h

See Also

Reference

Core Connectivity Interfaces