ICcDevice::GetServiceMap (Windows Embedded CE 6.0)

1/5/2010

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
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