IConman::CreateNewServerGuid (Windows Embedded CE 6.0)

1/5/2010

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

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

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 Value

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

Header conman.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IConMan