Muokkaa

Jaa


CBCreateClientInstance function

Creates an instance of the Remote Desktop Connection Broker RPC client.

Syntax

HRESULT CBCreateClientInstance(
  _In_  DWORD                   Version,
  _Out_ IConnectionBrokerClient **ppCbClient
);

Parameters

Version [in]

Specifies the version of the Remote Desktop Connection Broker client interface being requested. This must be the following value.

1

Version 1 of the Remote Desktop Connection Broker client.

ppCbClient [out]

The address of an IConnectionBrokerClient interface pointer that receives the Remote Desktop Connection Broker client object.

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Header
Cbclient.h
Library
Cbclient.lib
DLL
Cbclient.dll