Microsoft DirectX 9.0

DXGetErrorDescription9 Function


Returns a string that describes a Microsoft® DirectX® HRESULT value.

Syntax

TCHAR *DXGetErrorDescription9(      

    HRESULT hr );

Parameters

hr
[in] Any HRESULT return code from Microsoft Direct3D®, Microsoft DirectPlay®, Microsoft DirectMusic®, Microsoft DirectSound®, Microsoft DirectInput®, and Microsoft DirectShow®.

Return Value

Returns a pointer to a character string that describes the HRESULT code.



Remarks

This function supports Microsoft Win32® Winerror.h error codes.

Function Information

Headerdxerr9.h
Import librarydxerr9.lib
Minimum operating systems Windows 98


© 2002 Microsoft Corporation. All rights reserved.