ReactOS 0.4.17-dev-934-g091855f
debug.h
Go to the documentation of this file.
1/* Debug and Helper Functions
2 *
3 * Copyright (C) 2003-2004 Rok Mandeljc
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20#ifndef __WINE_DMLOADER_DEBUG_H
21#define __WINE_DMLOADER_DEBUG_H
22
23/* used for generic dumping (copied from ddraw) */
24typedef struct {
25 DWORD val;
26 const char* name;
27} flag_info;
28
29/* used for initialising structs */
30#define DM_STRUCT_INIT(x) \
31 do { \
32 memset((x), 0, sizeof(*(x))); \
33 (x)->dwSize = sizeof(*x); \
34 } while (0)
35
36#define FE(x) { x, #x }
37
38/* check whether chunkID is valid dmobject form chunk */
39extern BOOL IS_VALID_DMFORM (FOURCC chunkID);
40/* translate STREAM_SEEK flag to string */
41extern const char *resolve_STREAM_SEEK (DWORD flag);
42
45
46#endif /* __WINE_DMLOADER_DEBUG_H */
BOOL IS_VALID_DMFORM(FOURCC chunkID)
Definition: debug.c:24
const char * debugstr_DMUS_IO_CONTAINER_HEADER(LPDMUS_IO_CONTAINER_HEADER pHeader)
Definition: debug.c:46
const char * resolve_STREAM_SEEK(DWORD flag)
Definition: debug.c:33
const char * debugstr_DMUS_IO_CONTAINED_OBJECT_HEADER(LPDMUS_IO_CONTAINED_OBJECT_HEADER pHeader)
Definition: debug.c:60
DWORD FOURCC
Definition: dmdls.h:25
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
GLuint GLfloat * val
Definition: glext.h:7180
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
Definition: glfuncs.h:52
FxContextHeader * pHeader
Definition: handleapi.cpp:604
Definition: name.c:39