Share via


ICcDevice::SetServiceMap

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

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

This method creates a service information-to-service category map for a device.

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

Syntax

HRESULT SetServiceMap(
  BSTR in_bstrServiceCategoryID,
  BSTR in_bstrServiceInfoID
);

Parameters

  • in_bstrServiceCategoryID
    [in] Service category ID.
  • in_bstrServiceInfoID
    [in] Service information ID associated with the category.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates success.

E_INVALIDARG

Indicates a NULL parameter.

E_FAIL

Indicates general failure.

Requirements

Header ccdatastore.h

See Also

Reference

Core Connectivity Interfaces