Bewerken

Delen via


PTP Error Codes

When the Microsoft PTP WIA minidriver detects an error, it passes the response code to WIA. If the PTP camera returns a response other than 0x2001 (OK), the WIA minidriver returns the response code wrapped as an HRESULT error code. The format of the error code is 0x8004XXXX, where XXXX represents the four hexadecimal digits of the response code. This is very useful for WIA applications that are designed to work with specific PTP cameras. The error/status information is preserved for rich status to be reported to the end user.