slot 0.0.1
A real time UI render framework
载入中...
搜索中...
未找到
DXException.h
浏览该文件的文档.
1//
2// Created by zhou_zhengming on 2026/5/11.
3//
4
5#pragma once
6#include <intsafe.h>
7#include <string>
8
9namespace z8 {
11{
12public:
13 DXException() = default;
14 DXException(HRESULT hr);
15 DXException(HRESULT hr, const std::wstring& functionName, const std::wstring& filename, int lineNumber);
16
17 std::wstring toString()const;
18
19 HRESULT ErrorCode = S_OK;
20 std::wstring FunctionName;
21 std::wstring Filename;
22 int LineNumber = -1;
23};
24}
Definition DXException.h:11
std::wstring FunctionName
Definition DXException.h:20
std::wstring Filename
Definition DXException.h:21
int LineNumber
Definition DXException.h:22
DXException()=default
std::wstring toString() const
Definition DXException.cpp:20
HRESULT ErrorCode
Definition DXException.h:19
Definition Application.h:14