IWRdsProtocolConnectionCallback::GetConnectionId method (wtsprotocol.h)

Retrieves the connection identifier.

Syntax

HRESULT GetConnectionId(
  [out] ULONG *pConnectionId
);

Parameters

[out] pConnectionId

The address of a ULONG variable that receives the connection identifier.

Return value

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

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header wtsprotocol.h

See also

IWRdsProtocolConnectionCallback