ReactOS  0.4.14-dev-390-g34947ad
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 "windef.h"
27 #include "winbase.h"
28 #include "wingdi.h"
29 
30 #include "wine/list.h"
31 #include "dxdiag.h"
32 #include "resource.h"
33 
34 /* DXDiag Interfaces: */
38 
39 /* ---------------- */
40 /* IDxDiagContainer */
41 /* ---------------- */
42 
44  struct list entry;
46 
49  struct list properties;
51 };
52 
54  struct list entry;
58 
59 
60 /*****************************************************************************
61  * IDxDiagContainer implementation structure
62  */
64  IDxDiagContainer IDxDiagContainer_iface;
67  IDxDiagProvider *pProv;
68 };
69 
73 extern HRESULT DXDiag_CreateDXDiagProvider(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN;
74 
77 
78 /**********************************************************************
79  * Dll lifetime tracking declaration for dxdiagn.dll
80  */
82 static inline void DXDIAGN_LockModule(void) { InterlockedIncrement( &DXDIAGN_refCount ); }
84 
86 
87 #endif
#define REFIID
Definition: guiddef.h:118
HRESULT DXDiag_CreateDXDiagProvider(LPCLASSFACTORY iface, LPUNKNOWN punkOuter, REFIID riid, LPVOID *ppobj) DECLSPEC_HIDDEN
Definition: provider.c:219
REFIID riid
Definition: precomp.h:44
struct IDxDiagContainerImpl_Property IDxDiagContainerImpl_Property
IDxDiagContainerImpl_Container * cont
LONG DXDIAGN_refCount
Definition: dxdiag_main.c:40
static void DXDIAGN_UnlockModule(void)
static void DXDIAGN_LockModule(void)
long LONG
Definition: pedump.c:60
static LPUNKNOWN
Definition: ndr_ole.c:49
HRESULT DXDiag_CreateDXDiagContainer(REFIID riid, IDxDiagContainerImpl_Container *cont, IDxDiagProvider *pProv, LPVOID *ppobj) DECLSPEC_HIDDEN
Definition: container.c:267
__wchar_t WCHAR
Definition: xmlstorage.h:180
LONG HRESULT
Definition: typedefs.h:77
unsigned long DWORD
Definition: ntddk_ex.h:95
#define InterlockedDecrement
Definition: armddk.h:52
LONG DXDIAGN_refCount DECLSPEC_HIDDEN
Definition: _list.h:228
#define InterlockedIncrement
Definition: armddk.h:53
IDxDiagProvider * pProv
HINSTANCE dxdiagn_instance
Definition: dxdiag_main.c:38
IDxDiagContainer IDxDiagContainer_iface