Cg Direct3D10 Runtime API cgD3D10GetLastError(3)
NAME
cgD3D10000GetLastError - get the last D3D error that occurred
SYNOPSIS
#include
HRESULT cgD3D10GetLastError( void );
PARAMETERS
None.
RETURN VALUES
Returns the last D3D error that occurred during an expanded
interface function call.
Returns D3DOK if no D3D error has occurred since the last
call to cgD3D10000GetLastError.
DESCRIPTION
cgD3D10000GetLastError retrieves the last D3D error that
occurred during an expanded interface function call. The
last error is always cleared immediately after the call.
EXAMPLES
HRESULT lastError = cgD3D10GetLastError();
ERORS
None.
HISTORY
cgD3D10000GetLastError was introduced in Cg 2.1.
SEE ALSO
cgD3D10TranslateHRESULT
Cg Toolkit 2.1 Last change: 1
|