Skip to content

Commit

Permalink
Add dxguid private definition idl
Browse files Browse the repository at this point in the history
  • Loading branch information
lakor64 committed Aug 7, 2024
1 parent f827f37 commit e78a39a
Show file tree
Hide file tree
Showing 5 changed files with 244 additions and 6 deletions.
169 changes: 169 additions & 0 deletions dll/directx/dxguid/dxdiag_private.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@


/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 7.00.0555 */
/* at Tue Aug 06 13:02:26 2024
*/
/* Compiler settings for dxdiag_private.idl:
Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 7.00.0555
protocol : dce , ms_ext, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING( ) */

#pragma warning( disable: 4049 ) /* more than 64k source lines */


/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif // __RPCNDR_H_VERSION__

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __dxdiag_private_h__
#define __dxdiag_private_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */

#ifndef __IDxDiagProviderPrivate_FWD_DEFINED__
#define __IDxDiagProviderPrivate_FWD_DEFINED__
typedef interface IDxDiagProviderPrivate IDxDiagProviderPrivate;
#endif /* __IDxDiagProviderPrivate_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"

#ifdef __cplusplus
extern "C"{
#endif


/* interface __MIDL_itf_dxdiag_private_0000_0000 */
/* [local] */

#define DXDIAG_INIT_RESERVED_MAGIC 0x0B
typedef struct _DXDIAG_INIT_RESERVED_DATA
{
WORD wMagic;
CHAR abReserved[ 6 ];
BOOL bUsePrivateInterface;
} DXDIAG_INIT_RESERVED_DATA;



extern RPC_IF_HANDLE __MIDL_itf_dxdiag_private_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_dxdiag_private_0000_0000_v0_0_s_ifspec;

#ifndef __IDxDiagProviderPrivate_INTERFACE_DEFINED__
#define __IDxDiagProviderPrivate_INTERFACE_DEFINED__

/* interface IDxDiagProviderPrivate */
/* [uuid][local][object] */


EXTERN_C const IID IID_IDxDiagProviderPrivate;

#if defined(__cplusplus) && !defined(CINTERFACE)

MIDL_INTERFACE("7D0F462F-4064-4862-BC7F-933E5058C10E")
IDxDiagProviderPrivate : public IUnknown
{
public:
virtual int STDMETHODCALLTYPE ExecMethod(
/* [in] */ LPCWSTR lpActionName,
/* [in] */ VARIANT *lpValue) = 0;

};

#else /* C style interface */

typedef struct IDxDiagProviderPrivateVtbl
{
BEGIN_INTERFACE

HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IDxDiagProviderPrivate * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);

ULONG ( STDMETHODCALLTYPE *AddRef )(
IDxDiagProviderPrivate * This);

ULONG ( STDMETHODCALLTYPE *Release )(
IDxDiagProviderPrivate * This);

int ( STDMETHODCALLTYPE *ExecMethod )(
IDxDiagProviderPrivate * This,
/* [in] */ LPCWSTR lpActionName,
/* [in] */ VARIANT *lpValue);

END_INTERFACE
} IDxDiagProviderPrivateVtbl;

interface IDxDiagProviderPrivate
{
CONST_VTBL struct IDxDiagProviderPrivateVtbl *lpVtbl;
};



#ifdef COBJMACROS


#define IDxDiagProviderPrivate_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )

#define IDxDiagProviderPrivate_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )

#define IDxDiagProviderPrivate_Release(This) \
( (This)->lpVtbl -> Release(This) )


#define IDxDiagProviderPrivate_ExecMethod(This,lpActionName,lpValue) \
( (This)->lpVtbl -> ExecMethod(This,lpActionName,lpValue) )

#endif /* COBJMACROS */


#endif /* C style interface */




#endif /* __IDxDiagProviderPrivate_INTERFACE_DEFINED__ */


/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


30 changes: 30 additions & 0 deletions dll/directx/dxguid/dxdiag_private.idl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* PROJECT: ReactX
* LICENSE: MIT (https://spdx.org/licenses/MIT)
* PURPOSE: ReactX Private diagnostics interfaces
* COPYRIGHT: Copyright 2024 Christian Rendina <[email protected]>
*/

import "oaidl.idl";

cpp_quote("#define DXDIAG_INIT_RESERVED_MAGIC 0x0B")

typedef struct _DXDIAG_INIT_RESERVED_DATA
{
WORD wMagic;
CHAR abReserved[6];
BOOL bUsePrivateInterface;
} DXDIAG_INIT_RESERVED_DATA;

[
object,
local,
uuid(7D0F462F-4064-4862-BC7F-933E5058C10E)
]
interface IDxDiagProviderPrivate : IUnknown
{
int ExecMethod(
[in] LPCWSTR lpActionName,
[in] VARIANT* lpValue
);
};
36 changes: 30 additions & 6 deletions dll/directx/dxguid/dxguid.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,20 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="dlldata.c" />
<ClCompile Include="dxgidwm_i.c" />
<ClCompile Include="dxgidwm_p.c" />
<ClCompile Include="dxgipartner_i.c" />
<ClCompile Include="dxgipartner_p.c" />
<ClCompile Include="dxdiag_private_i.c" />
<ClCompile Include="dxdiag_private_p.c" />
<ClCompile Include="dxgidwm_i.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="dxgidwm_p.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="dxgipartner_i.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="dxgipartner_p.c">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="dxgiternl_i.c" />
<ClCompile Include="dxgiternl_p.c" />
<ClCompile Include="dxgixaml_i.c" />
Expand All @@ -346,6 +356,13 @@
<ClCompile Include="usecounted_p.c" />
</ItemGroup>
<ItemGroup>
<Midl Include="dxdiag_private.idl">
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug-xp|Win32'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug-vs2022|Win32'">%(Filename).h</HeaderFileName>
</Midl>
<Midl Include="dxgidwm.idl">
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug-vs2022|Win32'">%(Filename).h</HeaderFileName>
Expand All @@ -357,6 +374,7 @@
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Release-xp|x64'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug-xp|x64'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Filename).h</HeaderFileName>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</Midl>
<Midl Include="dxgipartner.idl">
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).h</HeaderFileName>
Expand All @@ -369,6 +387,7 @@
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Release-xp|x64'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug-xp|x64'">%(Filename).h</HeaderFileName>
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%(Filename).h</HeaderFileName>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</Midl>
<Midl Include="dxgiternl.idl">
<HeaderFileName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%(Filename).h</HeaderFileName>
Expand Down Expand Up @@ -420,8 +439,13 @@
</Midl>
</ItemGroup>
<ItemGroup>
<ClInclude Include="dxgidwm.h" />
<ClInclude Include="dxgipartner.h" />
<ClInclude Include="dxdiag_private.h" />
<ClInclude Include="dxgidwm.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="dxgipartner.h">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-xp|Win32'">true</ExcludedFromBuild>
</ClInclude>
<ClInclude Include="dxgiternl.h" />
<ClInclude Include="dxgixaml.h" />
<ClInclude Include="lockowner.h" />
Expand Down
10 changes: 10 additions & 0 deletions dll/directx/dxguid/dxguid.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
<ClCompile Include="lockowner_p.c">
<Filter>generated</Filter>
</ClCompile>
<ClCompile Include="dxdiag_private_i.c">
<Filter>generated</Filter>
</ClCompile>
<ClCompile Include="dxdiag_private_p.c">
<Filter>generated</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Midl Include="dxgidwm.idl" />
Expand All @@ -49,6 +55,7 @@
<Midl Include="dxgipartner.idl" />
<Midl Include="dxgixaml.idl" />
<Midl Include="lockowner.idl" />
<Midl Include="dxdiag_private.idl" />
</ItemGroup>
<ItemGroup>
<Filter Include="generated">
Expand All @@ -74,5 +81,8 @@
<ClInclude Include="lockowner.h">
<Filter>generated</Filter>
</ClInclude>
<ClInclude Include="dxdiag_private.h">
<Filter>generated</Filter>
</ClInclude>
</ItemGroup>
</Project>
5 changes: 5 additions & 0 deletions dll/directx/dxguid/guids.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,3 +303,8 @@ DEFINE_GUID(DDVPTYPE_E_HREFL_VREFL, 0xE09C77E0L, 0xDA60, 0x11CF, 0x9B, 0x06, 0x0
DEFINE_GUID(DDVPTYPE_CCIR656, 0xFCA326A0L, 0xDA60, 0x11CF, 0x9B, 0x06, 0x00, 0xA0, 0xC9, 0x03, 0xA3, 0xB8);
DEFINE_GUID(DDVPTYPE_BROOKTREE, 0x1352A560L, 0xDA61, 0x11CF, 0x9B, 0x06, 0x00, 0xA0, 0xC9, 0x03, 0xA3, 0xB8);
DEFINE_GUID(DDVPTYPE_PHILIPS, 0x332CF160L, 0xDA61, 0x11CF, 0x9B, 0x06, 0x00, 0xA0, 0xC9, 0x03, 0xA3, 0xB8);

// DXDIAG
DEFINE_GUID(CLSID_DxDiagProvider, 0xA65B8071, 0x3BFE, 0x4213, 0x9A, 0x5B, 0x49, 0x1D, 0xA4, 0x46, 0x1C, 0xA7);
DEFINE_GUID(IID_IDxDiagProvider, 0x9C6B4CB0, 0x23F8, 0x49CC, 0xA3, 0xED, 0x45, 0xA5, 0x50, 0x00, 0xA6, 0xD2);
DEFINE_GUID(IID_IDxDiagContainer, 0x7D0F462F, 0x4064, 0x4862, 0xBC, 0x7F, 0x93, 0x3E, 0x50, 0x58, 0xC1, 0x0F);

0 comments on commit e78a39a

Please sign in to comment.