Bewerken

Delen via


IStiUSD::GetLastErrorInfo method (stiusd.h)

A still image minidriver's IStiUSD::GetLastErrorInfo method returns information about the last known error associated with a still image device.

Syntax

HRESULT GetLastErrorInfo(
  STI_ERROR_INFO *pLastErrorInfo
);

Parameters

pLastErrorInfo

Caller-supplied pointer to an STI_ERROR_INFO structure to receive error information.

Return value

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

Remarks

The method should fill in the received STI_ERROR_INFO structure.

Requirements

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

See also

IStiDevice::GetLastErrorInfo

IStiUSD