Compartilhar via


ICcDevice::SetServiceMap (Compact 2013)

3/26/2014

Deprecated.

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

In Windows Embedded Compact 2013, 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

ICcDevice
Core Connectivity Interfaces