[in] SAFEARRAY argument interpreted by the format string.
InstrPrintCommand
Sends the command for the current method to the device.
Syntax
Section titled “Syntax”virtual HRESULT InstrPrintCommand();
virtual HRESULT InstrPrintCommand(SAFEARRAY* psaArg [, argument] ...);Parameters
Section titled “Parameters”psaArg
argument
[in] Optional arguments interpreted by the format string.
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Example
Section titled “Example”The following example demonstrates use of the InstrPrintCommand function.
HRESULT Acme4321::Configure(double Frequency, double Gain){ HRESULT hr = S_OK;
hr = InstrPrintCommand();
return hr;}