API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > DXError Class > DXError Methods > DXError::fail Method
DXError::fail Method
Syntax
C++
static void fail(HRESULT hr = S_OK);

Throws a DirectX API error.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.