00001 /****************************************************************************************/ 00002 /* D3D_Err.h */ 00003 /* */ 00004 /* Author: John Pollard */ 00005 /* Description: D3D Error code conversions */ 00006 /* */ 00007 /* The contents of this file are subject to the Genesis3D Public License */ 00008 /* Version 1.01 (the "License"); you may not use this file except in */ 00009 /* compliance with the License. You may obtain a copy of the License at */ 00010 /* http://www.genesis3d.com */ 00011 /* */ 00012 /* Software distributed under the License is distributed on an "AS IS" */ 00013 /* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See */ 00014 /* the License for the specific language governing rights and limitations */ 00015 /* under the License. */ 00016 /* */ 00017 /* The Original Code is Genesis3D, released March 25, 1999. */ 00018 /* Genesis3D Version 1.1 released November 15, 1999 */ 00019 /* Copyright (C) 1999 WildTangent, Inc. All Rights Reserved */ 00020 /* */ 00021 /****************************************************************************************/ 00022 #ifndef D3D_ERR_H 00023 #define D3D_ERR_H 00024 00025 #include <Windows.h> 00026 #include <DDraw.h> 00027 #include <D3D.h> 00028 00029 //================================================================================ 00030 // Global functions 00031 //================================================================================ 00032 char *D3DErrorToString(HRESULT error); 00033 00034 #endif
1.3.2