IWRdsGraphicsChannel::Open method (wrdsgraphicschannels.h)

Called to open a channel. When the channel is completely open and ready for use, you must call the IWRdsGraphicsChannelEvents::OnChannelOpened method.

Syntax

HRESULT Open(
  [in] IWRdsGraphicsChannelEvents *pChannelEvents,
  [in] IUnknown                   *pOpenContext
);

Parameters

[in] pChannelEvents

Type: IWRdsGraphicsChannelEvents*

A pointer to an IWRdsGraphicsChannelEvents interface that will receive notifications relating to the channel created.

[in] pOpenContext

Type: IUnknown*

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

Return value

Type: HRESULT

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

IWRdsGraphicsChannelEvents::OnChannelOpened