次の方法で共有


eXDI Error Handling (Windows Embedded CE 6.0)

1/5/2010

Each method of the eXDI interfaces returns the data type HRESULT. Many HRESULT values represent standard errors, and correspond to behaviors defined by Platform Builder. The HRESULT values enable predefined behavior for handling standard errors, but the driver can also return non-standard error values.

A client can get a textual description of the errors using IeXdi2Generic::GetErrorDescription. GetErrorDescription assumes that one code corresponds to only one description string, and does not vary with context.

Platform Builder normally handles the standard errors.

If a communication error (eXDI_E_COMMUNICATION), or a concurrent access error (eXDI_E_USEDBYCONCURRENTTHREAD) occurs, Platform Builder automatically re-tries the same request every 300 ms for a total of 15 seconds, excluding time in calls.

If the request is still unsuccessful after the time limit elapses, or if an unexpected error occurs, Platform Builder immediately queries the user for an action to take, Cancel, or Retry.

If an unexpected error occurs,

See Also

Concepts

eXDI Driver Requirements

Other Resources

eXDI Driver Development