Rise
The Vieneo Province
Loading...
Searching...
No Matches
PlatformHelpers.h File Reference
#include <cstdio>
#include <exception>
#include <memory>
#include <string>
Include dependency graph for PlatformHelpers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DirectX::com_exception
struct  DirectX::virtual_deleter
struct  DirectX::handle_closer

Namespaces

namespace  DirectX

Macros

#define MAKEFOURCC(ch0, ch1, ch2, ch3)
#define ENUM_FLAGS_CONSTEXPR   const

Typedefs

using DirectX::ScopedHandle = std::unique_ptr<void, handle_closer>

Functions

void DirectX::ThrowIfFailed (HRESULT hr) noexcept(false)
void DirectX::DebugTrace (_In_z_ _Printf_format_string_ const char *format,...) noexcept
HANDLE DirectX::safe_handle (HANDLE h) noexcept

Macro Definition Documentation

◆ ENUM_FLAGS_CONSTEXPR

#define ENUM_FLAGS_CONSTEXPR   const

Definition at line 33 of file PlatformHelpers.h.

◆ MAKEFOURCC

#define MAKEFOURCC ( ch0,
ch1,
ch2,
ch3 )
Value:
(static_cast<uint32_t>(static_cast<uint8_t>(ch0)) | (static_cast<uint32_t>(static_cast<uint8_t>(ch1)) << 8) \
| (static_cast<uint32_t>(static_cast<uint8_t>(ch2)) << 16) | (static_cast<uint32_t>(static_cast<uint8_t>(ch3)) << 24))

Definition at line 23 of file PlatformHelpers.h.