Partager via


ICcDevice::GetServiceMap (Windows CE 5.0)

Send Feedback

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

HRESULT GetServiceMap(  BSTRin_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 Values

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

OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcDatastore.h.
Link Library: none.

See Also

Core Connectivity Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.