Partager via


ICcDevice::SetServiceMap (Windows CE 5.0)

Send Feedback

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

HRESULT SetServiceMap(  BSTRin_bstrServiceCategoryID,  BSTRin_bstrServiceInfoID);

Parameters

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

Return Values

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

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.