[in] Status byte read from the device.
ReadStatusByte
Reads a status byte from a device.
Syntax
Section titled “Syntax”virtual HRESULT ReadStatusByte(short* psStatusByte) abstract;Parameters
Section titled “Parameters”psStatusByte
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 ReadStatusByte function.
HRESULT Acme4321::Configure(){ HRESULT hr = S_OK;
short sStatus; hr = io.ReadStatusByte(&sStatus);
return hr;}