IWRdsGraphicsChannelEvents::OnChannelOpened method (wrdsgraphicschannels.h)

Called when the channel has been opened and is ready for use, or when an error occurs when a channel is opened. The RemoteFX graphics services calls the IWRdsGraphicsChannel::Open method to open a channel. You must call the OnChannelOpened method to notify the RemoteFX graphics services that the channel is open and ready for use, or if an error occurs.

Syntax

HRESULT OnChannelOpened(
  [in] HRESULT  OpenResult,
  [in] IUnknown *pOpenContext
);

Parameters

[in] OpenResult

An HRESULT value that specifies the result of the open operation. If this parameter contains S_OK, pOpenContext is valid.

[in] pOpenContext

A user-defined interface pointer that is passed as the pOpenContext parameter in the IWRdsGraphicsChannel::Open method.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header wrdsgraphicschannels.h

See also

IWRdsGraphicsChannel::Open

IWRdsGraphicsChannelEvents