API Reference > Extension Classes > ExRender Classes > ExRender Windows Classes > DXError Class > DXError Methods > DXError::check Method
DXError::check Method
Syntax
C++
static void check(HRESULT hr);
Parameters 
Description 
HRESULT hr 
[in] Result value. 

Throws a DirectX API error if and only if the specified value is less than zero.

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