Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2e4105c6
Commit
2e4105c6
authored
Mar 02, 2004
by
Robert Reif
Committed by
Alexandre Julliard
Mar 02, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added dxerr8.h and dxerr9.h header files.
parent
8160170d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
106 additions
and
0 deletions
+106
-0
Makefile.in
include/Makefile.in
+2
-0
dxerr8.h
include/dxerr8.h
+52
-0
dxerr9.h
include/dxerr9.h
+52
-0
No files found.
include/Makefile.in
View file @
2e4105c6
...
...
@@ -83,6 +83,8 @@ WINDOWS_INCLUDES = \
dsdriver.h
\
dshow.h
\
dsound.h
\
dxerr8.h
\
dxerr9.h
\
excpt.h
\
fci.h
\
fdi.h
\
...
...
include/dxerr8.h
0 → 100644
View file @
2e4105c6
/*
* Copyright (C) 2004 Robert Reif
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_DXERR8_H
#define __WINE_DXERR8_H
#ifdef __cplusplus
extern
"C"
{
#endif
/* defined(__cplusplus) */
const
char
*
WINAPI
DXGetErrorString8A
(
HRESULT
hr
);
const
WCHAR
*
WINAPI
DXGetErrorString8W
(
HRESULT
hr
);
#define DXGetErrorString8 WINELIB_NAME_AW(DXGetErrorString8)
const
char
*
WINAPI
DXGetErrorDescription8A
(
HRESULT
hr
);
const
WCHAR
*
WINAPI
DXGetErrorDescription8W
(
HRESULT
hr
);
#define DXGetErrorDescription8 WINELIB_NAME_AW(DXGetErrorDescription8)
HRESULT
WINAPI
DXTraceA
(
const
char
*
strFile
,
DWORD
dwLine
,
HRESULT
hr
,
const
char
*
strMsg
,
BOOL
bPopMsgBox
);
HRESULT
WINAPI
DXTraceW
(
const
char
*
strFile
,
DWORD
dwLine
,
HRESULT
hr
,
const
WCHAR
*
strMsg
,
BOOL
bPopMsgBox
);
#define DXTrace WINELIB_NAME_AW(DXTrace)
#if defined(DEBUG) || defined(_DEBUG)
#define DXTRACE_MSG(str) DXTrace(__FILE__, (DWORD)__LINE__, 0, str, FALSE)
#define DXTRACE_ERR(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, TRUE)
#define DXTRACE_ERR_NOMSGBOX(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, FALSE)
#else
#define DXTRACE_MSG(str) (0L)
#define DXTRACE_ERR(str,hr) (hr)
#define DXTRACE_ERR_NOMSGBOX(str,hr) (hr)
#endif
#ifdef __cplusplus
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* __WINE_DXERR8_H */
include/dxerr9.h
0 → 100644
View file @
2e4105c6
/*
* Copyright (C) 2004 Robert Reif
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef __WINE_DXERR9_H
#define __WINE_DXERR9_H
#ifdef __cplusplus
extern
"C"
{
#endif
/* defined(__cplusplus) */
const
char
*
WINAPI
DXGetErrorString9A
(
HRESULT
hr
);
const
WCHAR
*
WINAPI
DXGetErrorString9W
(
HRESULT
hr
);
#define DXGetErrorString9 WINELIB_NAME_AW(DXGetErrorString9)
const
char
*
WINAPI
DXGetErrorDescription9A
(
HRESULT
hr
);
const
WCHAR
*
WINAPI
DXGetErrorDescription9W
(
HRESULT
hr
);
#define DXGetErrorDescription9 WINELIB_NAME_AW(DXGetErrorDescription9)
HRESULT
WINAPI
DXTraceA
(
const
char
*
strFile
,
DWORD
dwLine
,
HRESULT
hr
,
const
char
*
strMsg
,
BOOL
bPopMsgBox
);
HRESULT
WINAPI
DXTraceW
(
const
char
*
strFile
,
DWORD
dwLine
,
HRESULT
hr
,
const
WCHAR
*
strMsg
,
BOOL
bPopMsgBox
);
#define DXTrace WINELIB_NAME_AW(DXTrace)
#if defined(DEBUG) || defined(_DEBUG)
#define DXTRACE_MSG(str) DXTrace(__FILE__, (DWORD)__LINE__, 0, str, FALSE)
#define DXTRACE_ERR(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, TRUE)
#define DXTRACE_ERR_NOMSGBOX(str,hr) DXTrace(__FILE__, (DWORD)__LINE__, hr, str, FALSE)
#else
#define DXTRACE_MSG(str) (0L)
#define DXTRACE_ERR(str,hr) (hr)
#define DXTRACE_ERR_NOMSGBOX(str,hr) (hr)
#endif
#ifdef __cplusplus
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* __WINE_DXERR9_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment