Click or drag to resize

InstrPrintCommand

Sends the command for the current method to the device.

virtual HRESULT InstrPrintCommand();

virtual HRESULT InstrPrintCommand(SAFEARRAY* psaArg [, argument] ...);
Parameters
psaArg

[in] SAFEARRAY argument interpreted by the format string.

argument

[in] Optional arguments interpreted by the format string.

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Example

The following example demonstrates use of the InstrPrintCommand function.

C++
// CoAcme4321.cpp
HRESULT Acme4321::Configure(double Frequency, double Gain)
{
  HRESULT hr = S_OK;

  hr = InstrPrintCommand();

  return hr;
}
See Also

Download a complete CHM version of this documentation here.