ReactOS 0.4.17-dev-966-gf06eace
dxdiag_private.h
Go to the documentation of this file.
1/*
2 * DXDiag private include file
3 *
4 * Copyright 2004 Raphael Junqueira
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21#ifndef __WINE_DXDIAG_PRIVATE_H
22#define __WINE_DXDIAG_PRIVATE_H
23
24#include <stdarg.h>
25
26#include "wine/list.h"
27#include "dxdiag.h"
28#include "resource.h"
29
30/* DXDiag Interfaces: */
34
35/* ---------------- */
36/* IDxDiagContainer */
37/* ---------------- */
38
40 struct list entry;
42
47};
48
50 struct list entry;
54
55
56/*****************************************************************************
57 * IDxDiagContainer implementation structure
58 */
60 IDxDiagContainer IDxDiagContainer_iface;
63 IDxDiagProvider *pProv;
64};
65
69extern HRESULT DXDiag_CreateDXDiagProvider(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj);
70
72extern HRESULT DXDiag_CreateDXDiagContainer(REFIID riid, IDxDiagContainerImpl_Container *cont, IDxDiagProvider *pProv, LPVOID *ppobj);
73
74/**********************************************************************
75 * Dll lifetime tracking declaration for dxdiagn.dll
76 */
80
82
83#endif
#define InterlockedIncrement
Definition: armddk.h:53
#define InterlockedDecrement
Definition: armddk.h:52
Definition: list.h:39
static LPVOID LPUNKNOWN
Definition: dinput.c:53
HINSTANCE dxdiagn_instance
Definition: dxdiag_main.c:38
static void DXDIAGN_UnlockModule(void)
static void DXDIAGN_LockModule(void)
LONG DXDIAGN_refCount
Definition: dxdiag_main.c:40
HRESULT DXDiag_CreateDXDiagContainer(REFIID riid, IDxDiagContainerImpl_Container *cont, IDxDiagProvider *pProv, LPVOID *ppobj)
Definition: container.c:275
HRESULT DXDiag_CreateDXDiagProvider(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj)
Definition: provider.c:163
unsigned long DWORD
Definition: ntddk_ex.h:95
REFIID riid
Definition: atlbase.h:39
short WCHAR
Definition: pedump.c:58
long LONG
Definition: pedump.c:60
#define REFIID
Definition: guiddef.h:118
IDxDiagProvider * pProv
IDxDiagContainerImpl_Container * cont
IDxDiagContainer IDxDiagContainer_iface