IConman::GetDeviceFromServerGuid (Windows Embedded CE 6.0)

1/5/2010

This method retrieves a pointer to the device object interface, given the GUID of the server.

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

Syntax

HRESULT STDMETHODCALLTYPE GetDeviceFromServerGuid( 
  REFGUID in_guidServer,
  ICcDevice** out_ppiDevice
);

Parameters

  • in_guidServer
    GUID of server.
  • out_ppiDevice
    Pointer to the ICcDevice object interface associated with the server GUID.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the call was successful.

E_CONMAN_GUIDNOTFOUND

Indicates the server ID is invalid.

E_INVALIDARG

Indicates one or more arguments are null.

E_FAIL

Indicates a non-specific failure.

Requirements

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

See Also

Reference

IConMan