Share via


IConman::CreateNewServerGuid (Windows CE 5.0)

Send Feedback

This method maps a new target device endpoint to a server GUID in the cache.

HRESULT STDMETHODCALLTYPE CreateNewServerGuid(   ICcDevice* in_piDevice,  BSTR in_bstrEndPoint,  GUID* out_pguidServer);

Parameters

  • in_piDevice
    Pointer to the ICcDevice object associated with the target device.
  • in_bstrEndPoint
    Device endpoint.
  • out_pguidServer
    Server GUID used to identify the target device.

Return Values

The following table shows return values for this method.

Value Description
S_OK Indicates the call was successful.
E_INVALIDARG Indicates one or more arguments were invalid.
E_FAIL Indicates a non-specific failure.

Remarks

If the target device and its endpoint already exist in the cache, the method returns the server GUID associated with that mapping.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: conman.h.
Link Library: none.

See Also

IConman

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.