[in] I/O timeout value in milliseconds.
InstrQueryResponse
Sends the query command for the current method to the device and reads the response.
Syntax
Section titled “Syntax”virtual HRESULT InstrQueryResponse(long lTimeout, [, argument] ...);Parameters
Section titled “Parameters”lTimeout
argument
[in] Optional arguments interpreted by the write and read format strings.
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 InstrQueryResponse function.
HRESULT Acme4321::Read(SAFEARRAY** ppsaData, double* pRange, double* pResolution){ HRESULT hr = S_OK;
hr = InstrQueryResponse(ppsaData, pRange, pResolution);
return hr;}