IStiUSD::GetLastError method (stiusd.h)

The IStiUSD::GetLastError method returns the last known error associated with a still image device.

Syntax

HRESULT GetLastError(
  LPDWORD pdwLastDeviceError
);

Parameters

pdwLastDeviceError

Caller-supplied pointer to a buffer in which the error code will be stored.

Return value

If the operation succeeds, the method returns S_OK. Otherwise, it returns one of the STIERR-prefixed error codes defined in stierr.h.

Requirements

Requirement Value
Target Platform Desktop
Header stiusd.h (include Stiusd.h)

See also

IStiDevice::GetLastError

IStiUSD