ICcDevice::SetServiceMap (Windows Embedded CE 6.0)

1/5/2010

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
Windows Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro

See Also

Reference

ICcDevice
Core Connectivity Interfaces