![]() | InstrPrintCommand |
Sends the command for the current method to the device.
virtual HRESULT InstrPrintCommand(); virtual HRESULT InstrPrintCommand(SAFEARRAY* psaArg [, argument] ...);
[in] SAFEARRAY argument interpreted by the format string.
[in] Optional arguments interpreted by the format string.
Returns S_OK if successful, otherwise a failure HRESULT.
The following example demonstrates use of the InstrPrintCommand function.
// CoAcme4321.cpp HRESULT Acme4321::Configure(double Frequency, double Gain) { HRESULT hr = S_OK; hr = InstrPrintCommand(); return hr; }