Condividi tramite


IBDA_DiseqCommand::put_DiseqSendCommand method (bdaiface.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Sends a Digital Satellite Equipment Control (DiSEqC) command.

Syntax

HRESULT put_DiseqSendCommand(
  [in] ULONG ulRequestId,
  [in] ULONG ulcbCommandLen,
  [in] BYTE  *pbCommand
);

Parameters

[in] ulRequestId

An identifier for the command that is assigned by the application.

[in] ulcbCommandLen

The size of the pbCommand array, in bytes.

[in] pbCommand

Pointer to a byte array that contains the DiSEqC command, starting with the framing byte. The driver inserts the parity bits for the command.

Return value

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

Remarks

This method is required for version 1.2 and later of the DiSEqC command set.

To get the command response from the driver, call IBDA_DiseqCommand::get_DiseqResponse.

Requirements

Requirement Value
Target Platform Windows
Header bdaiface.h

See also

IBDA_DiseqCommand