次の方法で共有


IConMan::CreateNewServerGuid (Compact 2013)

3/26/2014

Deprecated.

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

In Windows Embedded Compact 2013, 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 device.
  • in_bstrEndPoint
    Device endpoint.
  • out_pguidServer
    Server GUID used to identify the 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 device and its endpoint already exist in the cache, the method returns the server GUID associated with that mapping.

Requirements

Header

conman.h

See Also

Reference

IConMan