IiTvDataReceiver::Receive Method

The Receive method is the main callback to the application with the data. The application puts all of its data processing in this method.

Syntax

  HRESULT Receive(
  BYTE*  piTVData,
  DWORD  dwiTVDataLength,
  BYTE*  pAttributes,
  DWORD  dwAttributesLength
);

Parameters

piTVData

[in] Pointer to a memory buffer containing the TV data.

dwiTVDataLength

[in] Specifies the amount of data in the buffer.

pAttributes

[in] Pointer to one or more attribute objects.

dwAttributesLength

[in] Double word containing the attributes length.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Requirements

Header: TVVMData.idl

Platform: Windows 7

See Also