IConMan::GetDeviceFromServerGuid (Compact 2013)

3/26/2014

Deprecated.

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

In Windows Embedded Compact 2013, 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

See Also

Reference

IConMan