DXGetErrorDescription9
Microsoft DirectX 9.0 SDK Update (October 2004)

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


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.