bool is_permission_error(HRESULT hr)
Check if HRESULT indicates permission/access error.
bool is_device_error(HRESULT hr)
Check if HRESULT indicates a device-related error.
std::string get_hresult_details(HRESULT hr)
Get detailed HRESULT information.
std::string get_diagnostic_info()
Get diagnostic information for troubleshooting.
std::string decode_hresult(HRESULT hr)
Decode HRESULT to human-readable string.
std::string decode_system_error(unsigned long error_code)
Decode system error code to human-readable string.