pub unsafe extern "C" fn ovr_GetLastErrorInfo(
    errorInfo: *mut ovrErrorInfo
)
Expand description

Returns information about the most recent failed return value by the current thread for this library.

This function itself can never generate an error. The last error is never cleared by LibOVR, but will be overwritten by new errors. Do not use this call to determine if there was an error in the last API call as successful API calls don’t clear the last ovrErrorInfo. To avoid any inconsistency, ovr_GetLastErrorInfo should be called immediately after an API function that returned a failed ovrResult, with no other API functions called in the interim.

out errorInfo The last ovrErrorInfo for the current thread.

see ovrErrorInfo