Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IRDPSRAPIAudioStream::GetBuffer method

Gets audio data from the buffer. This method locks an internal buffer and returns a pointer to a specific location in that buffer. It does not allocate a copy of the buffer for the caller. To release the buffer after the last call to this method, call the FreeBuffer method.

Syntax


HRESULT GetBuffer(
  [out, size_is(, *pcbData)] BYTE   **ppbData,
  [out]                      UINT32 *pcbData,
  [out]                      UINT64 *pTimestamp
);

Parameters

ppbData [out]

A pointer to the current location in the buffer.

pcbData [out]

The size in bytes of the available data in the buffer.

pTimestamp [out]

The time-based location of the location pointer.

Return value

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

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Header

RdpEncomAPI.h

IDL

RdpEncomAPI.idl

Type library

RdpEncomAPI.tlb

DLL

RdpEncom.dll

See also

IRDPSRAPIAudioStream
FreeBuffer

 

 

Show:
© 2017 Microsoft