OXY API 1.0
OXY API Library Documentation
Loading...
Searching...
No Matches
oxy::win32_error_code Struct Reference

A wrapper for Win32 error codes to facilitate conversion to std::error_code. More...

#include <win32_error.hpp>

Public Member Functions

 win32_error_code (DWORD e) noexcept

Public Attributes

DWORD error

Detailed Description

A wrapper for Win32 error codes to facilitate conversion to std::error_code.

This struct encapsulates a Win32 error code (DWORD) and provides a constructor for initialization. It is used in conjunction with the custom error category to create std::error_code instances that represent Win32 errors in a standardized way.