duvc-ctl 2.0.0
USB Video Class Camera Control Library
Loading...
Searching...
No Matches
error_decoder.h File Reference

HRESULT decoder and diagnostics utilities. More...

#include <string>
#include <windows.h>
Include dependency graph for error_decoder.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  duvc
 

Functions

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

Detailed Description

HRESULT decoder and diagnostics utilities.

Definition in file error_decoder.h.