IRDPSRAPIAudioStream::Initialize method (rdpencomapi.h)

Initializes the audio stream.

Syntax

HRESULT Initialize(
  [out] __int64 *pnPeriodInHundredNsIntervals
);

Parameters

[out] pnPeriodInHundredNsIntervals

On return, indicates the stream period in 100 nanosecond intervals. The collaboration sharer calculates how frequently to call the GetBuffer method from this value.

Return value

If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header rdpencomapi.h
DLL RdpEncom.dll

See also

GetBuffer

IRDPSRAPIAudioStream

Start