mirror of
https://github.com/ziglang/zig.git
synced 2026-01-31 03:33:37 +00:00
Merge pull request #8990 from ziglang/mingw-w64-9.0.0
upgrade to mingw-w64 9.0.0
This commit is contained in:
commit
2699232c4e
0
lib/libc/include/any-windows-any/KHR/khrplatform.h
Executable file → Normal file
0
lib/libc/include/any-windows-any/KHR/khrplatform.h
Executable file → Normal file
@ -367,7 +367,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI)));
|
||||
|
||||
#ifndef __WIDL__
|
||||
|
||||
#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT)
|
||||
#if defined (_WIN32) && !defined (_WIN64) && !defined (__MINGW_USE_VC2005_COMPAT) && !defined (_UCRT)
|
||||
#ifndef _USE_32BIT_TIME_T
|
||||
#define _USE_32BIT_TIME_T
|
||||
#endif
|
||||
@ -378,7 +378,7 @@ typedef int __int128 __attribute__ ((__mode__ (TI)));
|
||||
#endif
|
||||
|
||||
#ifndef UNALIGNED
|
||||
#if defined(_M_IA64) || defined(_M_AMD64)
|
||||
#if defined(__ia64__) || defined(__x86_64__)
|
||||
#define UNALIGNED __unaligned
|
||||
#else
|
||||
#define UNALIGNED
|
||||
@ -580,7 +580,15 @@ extern "C" {
|
||||
void __cdecl __debugbreak(void);
|
||||
__MINGW_INTRIN_INLINE void __cdecl __debugbreak(void)
|
||||
{
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
__asm__ __volatile__("int {$}3":);
|
||||
#elif defined(__arm__)
|
||||
__asm__ __volatile__("udf #1");
|
||||
#elif defined(__aarch64__)
|
||||
__asm__ __volatile__("brk #0xf000");
|
||||
#else
|
||||
__asm__ __volatile__("unimplemented");
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
#define __MINGW64_STRINGIFY(x) \
|
||||
__STRINGIFY(x)
|
||||
|
||||
#define __MINGW64_VERSION_MAJOR 8
|
||||
#define __MINGW64_VERSION_MAJOR 9
|
||||
#define __MINGW64_VERSION_MINOR 0
|
||||
#define __MINGW64_VERSION_BUGFIX 0
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/activation.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/activation.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/activaut.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/activaut.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/activdbg.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/activdbg.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -9223,6 +9223,8 @@ static FORCEINLINE HRESULT IProvideExpressionContexts_EnumExpressionContexts(IPr
|
||||
|
||||
#endif /* __IProvideExpressionContexts_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __ProcessDebugManagerLib_LIBRARY_DEFINED__
|
||||
#define __ProcessDebugManagerLib_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_ProcessDebugManagerLib, 0x78a51821, 0x51f4, 0x11d0, 0x8f,0x20, 0x00,0x80,0x5f,0x2c,0xd0,0x64);
|
||||
|
||||
@ -9776,6 +9778,7 @@ __CRT_UUID_DECL(DefaultDebugSessionProvider, 0x834128a2, 0x51f4, 0x11d0, 0x8f,0x
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __ProcessDebugManagerLib_LIBRARY_DEFINED__ */
|
||||
#endif
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/activdbg100.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/activdbg100.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/activprof.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/activprof.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -105,14 +105,14 @@ DEFINE_GUID(IID_IActiveScriptProfilerHeapEnum, 0x32e4694e, 0xd37, 0x419b, 0xb9,
|
||||
DEFINE_GUID(IID_IActiveScriptProfilerControl3, 0xb403015, 0xf381, 0x4023, 0xa5, 0xd0, 0x6f, 0xed, 0x7, 0x6d, 0xe7, 0x16);
|
||||
#endif
|
||||
|
||||
typedef enum __WIDL_activprof_generated_name_00000002 {
|
||||
typedef enum __WIDL_activprof_generated_name_0000000C {
|
||||
PROFILER_SCRIPT_TYPE_USER = 0,
|
||||
PROFILER_SCRIPT_TYPE_DYNAMIC = 1,
|
||||
PROFILER_SCRIPT_TYPE_NATIVE = 2,
|
||||
PROFILER_SCRIPT_TYPE_DOM = 3
|
||||
} PROFILER_SCRIPT_TYPE;
|
||||
|
||||
typedef enum __WIDL_activprof_generated_name_00000003 {
|
||||
typedef enum __WIDL_activprof_generated_name_0000000D {
|
||||
PROFILER_EVENT_MASK_TRACE_SCRIPT_FUNCTION_CALL = 0x1,
|
||||
PROFILER_EVENT_MASK_TRACE_NATIVE_FUNCTION_CALL = 0x2,
|
||||
PROFILER_EVENT_MASK_TRACE_DOM_FUNCTION_CALL = 0x4,
|
||||
@ -346,7 +346,7 @@ typedef DWORD_PTR PROFILER_HEAP_OBJECT_ID;
|
||||
typedef UINT PROFILER_HEAP_OBJECT_NAME_ID;
|
||||
typedef void *PROFILER_EXTERNAL_OBJECT_ADDRESS;
|
||||
|
||||
typedef enum __WIDL_activprof_generated_name_00000004 {
|
||||
typedef enum __WIDL_activprof_generated_name_0000000E {
|
||||
PROFILER_HEAP_OBJECT_FLAGS_NEW_OBJECT = 0x1,
|
||||
PROFILER_HEAP_OBJECT_FLAGS_IS_ROOT = 0x2,
|
||||
PROFILER_HEAP_OBJECT_FLAGS_SITE_CLOSED = 0x4,
|
||||
@ -362,7 +362,7 @@ typedef enum __WIDL_activprof_generated_name_00000004 {
|
||||
PROFILER_HEAP_OBJECT_FLAGS_WINRT_NAMESPACE = 0x1000
|
||||
} PROFILER_HEAP_OBJECT_FLAGS;
|
||||
|
||||
typedef enum __WIDL_activprof_generated_name_00000005 {
|
||||
typedef enum __WIDL_activprof_generated_name_0000000F {
|
||||
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_PROTOTYPE = 0x1,
|
||||
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_FUNCTION_NAME = 0x2,
|
||||
PROFILER_HEAP_OBJECT_OPTIONAL_INFO_SCOPE_LIST = 0x3,
|
||||
@ -381,7 +381,7 @@ typedef struct _PROFILER_HEAP_OBJECT_SCOPE_LIST {
|
||||
PROFILER_HEAP_OBJECT_ID scopes[1];
|
||||
} PROFILER_HEAP_OBJECT_SCOPE_LIST;
|
||||
|
||||
typedef enum __WIDL_activprof_generated_name_00000006 {
|
||||
typedef enum __WIDL_activprof_generated_name_00000010 {
|
||||
PROFILER_PROPERTY_TYPE_NUMBER = 0x1,
|
||||
PROFILER_PROPERTY_TYPE_STRING = 0x2,
|
||||
PROFILER_PROPERTY_TYPE_HEAP_OBJECT = 0x3,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/activscp.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/activscp.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/adhoc.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/adhoc.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -1438,6 +1438,8 @@ static FORCEINLINE HRESULT IDot11AdHocInterfaceNotificationSink_OnConnectionStat
|
||||
|
||||
#endif /* __IDot11AdHocInterfaceNotificationSink_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __ADHOCLib_LIBRARY_DEFINED__
|
||||
#define __ADHOCLib_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_ADHOCLib, 0x45357166, 0xff38, 0x4302, 0x8f,0x5c, 0xdf,0x5b,0x70,0x3a,0x6e,0x3d);
|
||||
|
||||
@ -1454,6 +1456,7 @@ __CRT_UUID_DECL(Dot11AdHocManager, 0xdd06a84f, 0x83bd, 0x4d01, 0x8a,0xb9, 0x23,0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __ADHOCLib_LIBRARY_DEFINED__ */
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/alg.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/alg.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -1477,6 +1477,8 @@ static FORCEINLINE HRESULT IApplicationGateway_Stop(IApplicationGateway* This) {
|
||||
|
||||
#endif /* __IApplicationGateway_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __ALGLib_LIBRARY_DEFINED__
|
||||
#define __ALGLib_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_ALGLib, 0xb6d1d098, 0xe235, 0x4b99, 0xba,0x98, 0x7c,0x62,0x4f,0xd8,0x75,0xdb);
|
||||
|
||||
@ -1584,6 +1586,7 @@ __CRT_UUID_DECL(PersistentDataChannel, 0xbc9b54ab, 0x7883, 0x4c13, 0x90,0x9f, 0x
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __ALGLib_LIBRARY_DEFINED__ */
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/amstream.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/amstream.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,318 +0,0 @@
|
||||
/*
|
||||
* Copyright 2004 Christian Costa
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "unknwn.idl";
|
||||
import "mmstream.idl";
|
||||
import "strmif.idl";
|
||||
|
||||
cpp_quote("#include <ddraw.h>")
|
||||
cpp_quote("#include <mmsystem.h>")
|
||||
cpp_quote("#include <mmstream.h>")
|
||||
cpp_quote("#include <ddstream.h>")
|
||||
cpp_quote("#include <austream.h>")
|
||||
|
||||
cpp_quote("#if 0")
|
||||
interface IDirectDraw;
|
||||
interface IDirectDrawSurface;
|
||||
cpp_quote("#endif")
|
||||
|
||||
interface IAMMultiMediaStream;
|
||||
interface IAMMediaStream;
|
||||
interface IMediaStreamFilter;
|
||||
interface IAMMediaTypeStream;
|
||||
interface IAMMediaTypeSample;
|
||||
|
||||
enum {
|
||||
AMMSF_NOGRAPHTHREAD = 0x00000001
|
||||
};
|
||||
|
||||
enum {
|
||||
AMMSF_ADDDEFAULTRENDERER = 0x00000001,
|
||||
AMMSF_CREATEPEER = 0x00000002,
|
||||
AMMSF_STOPIFNOSAMPLES = 0x00000004,
|
||||
AMMSF_NOSTALL = 0x00000008
|
||||
};
|
||||
|
||||
enum {
|
||||
AMMSF_RENDERTYPEMASK = 0x00000003,
|
||||
AMMSF_RENDERTOEXISTING = 0x00000000,
|
||||
AMMSF_RENDERALLSTREAMS = 0x00000001,
|
||||
AMMSF_NORENDER = 0x00000002,
|
||||
AMMSF_NOCLOCK = 0x00000004,
|
||||
AMMSF_RUN = 0x00000008
|
||||
};
|
||||
|
||||
|
||||
typedef [v1_enum] enum {
|
||||
Disabled = 0,
|
||||
ReadData = 1,
|
||||
RenderData = 2
|
||||
} OUTPUT_STATE;
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(7DB01C96-C0C3-11d0-8FF1-00C04FD9189D),
|
||||
dual,
|
||||
helpstring("IDirectShowStream Interface"),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDirectShowStream : IDispatch
|
||||
{
|
||||
[propget, id(1), helpstring("property FileName")] HRESULT FileName([out, retval] BSTR *pVal);
|
||||
[propput, id(1), helpstring("property FileName")] HRESULT FileName([in] BSTR newVal);
|
||||
[propget, id(2), helpstring("property Video")] HRESULT Video([out, retval] OUTPUT_STATE *pVal);
|
||||
[propput, id(2), helpstring("property Video")] HRESULT Video([in] OUTPUT_STATE newVal);
|
||||
[propget, id(3), helpstring("property Audio")] HRESULT Audio([out, retval] OUTPUT_STATE *pVal);
|
||||
[propput, id(3), helpstring("property Audio")] HRESULT Audio([in] OUTPUT_STATE newVal);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(BEBE595C-9A6F-11d0-8FDE-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IAMMultiMediaStream : IMultiMediaStream
|
||||
{
|
||||
HRESULT Initialize(
|
||||
[in] STREAM_TYPE StreamType,
|
||||
[in] DWORD dwFlags,
|
||||
[in] IGraphBuilder *pFilterGraph);
|
||||
|
||||
HRESULT GetFilterGraph(
|
||||
[out] IGraphBuilder **ppGraphBuilder);
|
||||
|
||||
HRESULT GetFilter(
|
||||
[out] IMediaStreamFilter **ppFilter);
|
||||
|
||||
HRESULT AddMediaStream(
|
||||
[in] IUnknown *pStreamObject,
|
||||
[in] const MSPID *PurposeId,
|
||||
[in] DWORD dwFlags,
|
||||
[out] IMediaStream **ppNewStream);
|
||||
|
||||
HRESULT OpenFile(
|
||||
[in] LPCWSTR pszFileName,
|
||||
[in] DWORD dwFlags);
|
||||
|
||||
HRESULT OpenMoniker(
|
||||
[in] IBindCtx *pCtx,
|
||||
[in] IMoniker *pMoniker,
|
||||
[in] DWORD dwFlags);
|
||||
|
||||
HRESULT Render(
|
||||
[in] DWORD dwFlags);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(BEBE595D-9A6F-11d0-8FDE-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IAMMediaStream : IMediaStream
|
||||
{
|
||||
HRESULT Initialize(
|
||||
[in] IUnknown *pSourceObject,
|
||||
[in] DWORD dwFlags,
|
||||
[in] REFMSPID PurposeId,
|
||||
[in] const STREAM_TYPE StreamType);
|
||||
|
||||
HRESULT SetState(
|
||||
[in] FILTER_STATE State);
|
||||
|
||||
HRESULT JoinAMMultiMediaStream(
|
||||
[in] IAMMultiMediaStream *pAMMultiMediaStream);
|
||||
|
||||
HRESULT JoinFilter(
|
||||
[in] IMediaStreamFilter *pMediaStreamFilter);
|
||||
|
||||
HRESULT JoinFilterGraph(
|
||||
[in] IFilterGraph *pFilterGraph);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(BEBE595E-9A6F-11d0-8FDE-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IMediaStreamFilter : IBaseFilter
|
||||
{
|
||||
HRESULT AddMediaStream(
|
||||
[in] IAMMediaStream *pAMMediaStream);
|
||||
|
||||
HRESULT GetMediaStream(
|
||||
[in] REFMSPID idPurpose,
|
||||
[out] IMediaStream **ppMediaStream);
|
||||
|
||||
HRESULT EnumMediaStreams(
|
||||
[in] long Index,
|
||||
[out] IMediaStream **ppMediaStream);
|
||||
|
||||
HRESULT SupportSeeking(
|
||||
[in] BOOL bRenderer);
|
||||
|
||||
HRESULT ReferenceTimeToStreamTime(
|
||||
[in] [out] REFERENCE_TIME *pTime);
|
||||
|
||||
HRESULT GetCurrentStreamTime(
|
||||
[out] REFERENCE_TIME *pCurrentStreamTime);
|
||||
|
||||
HRESULT WaitUntil(
|
||||
[in] REFERENCE_TIME WaitStreamTime);
|
||||
|
||||
HRESULT Flush(
|
||||
[in] BOOL bCancelEOS);
|
||||
|
||||
HRESULT EndOfStream();
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(AB6B4AFC-F6E4-11d0-900D-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDirectDrawMediaSampleAllocator : IUnknown
|
||||
{
|
||||
HRESULT GetDirectDraw(IDirectDraw **ppDirectDraw);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(AB6B4AFE-F6E4-11d0-900D-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDirectDrawMediaSample : IUnknown
|
||||
{
|
||||
HRESULT GetSurfaceAndReleaseLock(
|
||||
[out] IDirectDrawSurface **ppDirectDrawSurface,
|
||||
[out] RECT * pRect);
|
||||
|
||||
HRESULT LockMediaSamplePointer(void);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(AB6B4AFA-F6E4-11d0-900D-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
|
||||
interface IAMMediaTypeStream : IMediaStream
|
||||
{
|
||||
HRESULT GetFormat(
|
||||
[out] AM_MEDIA_TYPE * pMediaType,
|
||||
[in] DWORD dwFlags);
|
||||
|
||||
HRESULT SetFormat(
|
||||
[in] AM_MEDIA_TYPE * pMediaType,
|
||||
[in] DWORD dwFlags);
|
||||
|
||||
HRESULT CreateSample(
|
||||
[in] long lSampleSize,
|
||||
[in] BYTE * pbBuffer,
|
||||
[in] DWORD dwFlags,
|
||||
[in] IUnknown *pUnkOuter,
|
||||
[out] IAMMediaTypeSample ** ppAMMediaTypeSample);
|
||||
|
||||
HRESULT GetStreamAllocatorRequirements(
|
||||
[out] ALLOCATOR_PROPERTIES *pProps);
|
||||
|
||||
HRESULT SetStreamAllocatorRequirements(
|
||||
[in] ALLOCATOR_PROPERTIES *pProps);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(AB6B4AFB-F6E4-11d0-900D-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IAMMediaTypeSample : IStreamSample
|
||||
{
|
||||
HRESULT SetPointer(
|
||||
[in] BYTE *pBuffer,
|
||||
[in] long lSize);
|
||||
|
||||
HRESULT GetPointer(
|
||||
[out] BYTE ** ppBuffer);
|
||||
|
||||
long GetSize(void);
|
||||
|
||||
HRESULT GetTime(
|
||||
[out] REFERENCE_TIME * pTimeStart,
|
||||
[out] REFERENCE_TIME * pTimeEnd);
|
||||
|
||||
HRESULT SetTime(
|
||||
[in] REFERENCE_TIME * pTimeStart,
|
||||
[in] REFERENCE_TIME * pTimeEnd);
|
||||
|
||||
HRESULT IsSyncPoint(void);
|
||||
|
||||
HRESULT SetSyncPoint(
|
||||
BOOL bIsSyncPoint);
|
||||
|
||||
HRESULT IsPreroll(void);
|
||||
|
||||
HRESULT SetPreroll(
|
||||
BOOL bIsPreroll);
|
||||
|
||||
long GetActualDataLength(void);
|
||||
|
||||
HRESULT SetActualDataLength(long Len);
|
||||
|
||||
HRESULT GetMediaType(
|
||||
AM_MEDIA_TYPE **ppMediaType);
|
||||
|
||||
HRESULT SetMediaType(
|
||||
AM_MEDIA_TYPE *pMediaType);
|
||||
|
||||
HRESULT IsDiscontinuity(void);
|
||||
|
||||
HRESULT SetDiscontinuity(
|
||||
BOOL bDiscontinuity);
|
||||
|
||||
HRESULT GetMediaTime(
|
||||
[out] LONGLONG * pTimeStart,
|
||||
[out] LONGLONG * pTimeEnd);
|
||||
|
||||
HRESULT SetMediaTime(
|
||||
[in] LONGLONG * pTimeStart,
|
||||
[in] LONGLONG * pTimeEnd);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(49C47CE5-9BA4-11d0-8212-00C04FC32C45)
|
||||
]
|
||||
coclass AMMultiMediaStream
|
||||
{
|
||||
[default] dispinterface IDirectShowStream;
|
||||
}
|
||||
|
||||
cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);")
|
||||
cpp_quote("DEFINE_GUID(CLSID_AMAudioStream, 0x8496e040, 0xaf4c, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);")
|
||||
cpp_quote("DEFINE_GUID(CLSID_AMAudioData, 0xf2468580, 0xaf8a, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);")
|
||||
cpp_quote("DEFINE_GUID(CLSID_AMMediaTypeStream, 0xcf0f2f7c, 0xf7bf, 0x11d0, 0x90, 0x0d, 0x00, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);")
|
||||
cpp_quote("DEFINE_GUID(CLSID_MediaStreamFilter, 0x49c47ce0, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);")
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/amvideo.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/amvideo.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,241 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2003 Robert Shearman
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "objidl.idl";
|
||||
|
||||
/* trick widl into thinking that it knows the DirectDraw types
|
||||
* as there is no IDL file for them (yet) */
|
||||
cpp_quote("#if 0")
|
||||
interface IDirectDraw;
|
||||
typedef void DDSURFACEDESC,DDCAPS;
|
||||
typedef DWORD RGBQUAD;
|
||||
typedef LONGLONG REFERENCE_TIME;
|
||||
typedef struct
|
||||
{
|
||||
DWORD biSize;
|
||||
LONG biWidth;
|
||||
LONG biHeight;
|
||||
WORD biPlanes;
|
||||
WORD biBitCount;
|
||||
DWORD biCompression;
|
||||
DWORD biSizeImage;
|
||||
LONG biXPelsPerMeter;
|
||||
LONG biYPelsPerMeter;
|
||||
DWORD biClrUsed;
|
||||
DWORD biClrImportant;
|
||||
} BITMAPINFOHEADER, *PBITMAPINFOHEADER, *LPBITMAPINFOHEADER;
|
||||
cpp_quote("#endif")
|
||||
|
||||
cpp_quote("#include <ddraw.h>")
|
||||
|
||||
cpp_quote("#define AMDDS_NONE 0x00")
|
||||
cpp_quote("#define AMDDS_DCIPS 0x01")
|
||||
cpp_quote("#define AMDDS_PS 0x02")
|
||||
cpp_quote("#define AMDDS_RGBOVR 0x04")
|
||||
cpp_quote("#define AMDDS_YUVOVR 0x08")
|
||||
cpp_quote("#define AMDDS_RGBOFF 0x10")
|
||||
cpp_quote("#define AMDDS_YUVOFF 0x20")
|
||||
cpp_quote("#define AMDDS_RGBFLP 0x40")
|
||||
cpp_quote("#define AMDDS_YUVFLP 0x80")
|
||||
cpp_quote("#define AMDDS_ALL 0xFF")
|
||||
cpp_quote("#define AMDDS_DEFAULT AMDDS_ALL")
|
||||
|
||||
cpp_quote("#define AMDDS_YUV (AMDDS_YUVOFF | AMDDS_YUVOVR | AMDDS_YUVFLP)")
|
||||
cpp_quote("#define AMDDS_RGB (AMDDS_RGBOFF | AMDDS_RGBOVR | AMDDS_RGBFLP)")
|
||||
cpp_quote("#define AMDSS_PRIMARY (AMDDS_DCIPS | AMDDS_PS)")
|
||||
|
||||
[
|
||||
object,
|
||||
/* uuid(36d39eb0-dd75-11ce-bf0e-00aa0055595a) conflicts with uuids.h */
|
||||
pointer_default(unique),
|
||||
local
|
||||
]
|
||||
interface IDirectDrawVideo : IUnknown
|
||||
{
|
||||
HRESULT GetSwitches([out] DWORD * pSwitches);
|
||||
HRESULT SetSwitches([in] DWORD Switches);
|
||||
HRESULT GetCaps([out] DDCAPS * pCaps);
|
||||
HRESULT GetEmulatedCaps([out] DDCAPS *pCaps);
|
||||
HRESULT GetSurfaceDesc([out] DDSURFACEDESC * pSurfaceDesc);
|
||||
HRESULT GetFourCCCodes([out] DWORD * pCount, [out] DWORD * pCodes);
|
||||
HRESULT SetDirectDraw([in] IDirectDraw *ddraw);
|
||||
HRESULT GetDirectDraw([out] IDirectDraw **ddraw);
|
||||
HRESULT GetSurfaceType([out] DWORD * pSurfaceType);
|
||||
HRESULT SetDefault();
|
||||
HRESULT UseScanLine([in] long UseScanLine);
|
||||
HRESULT CanUseScanLine([out] long * UseScanLine);
|
||||
HRESULT UseOverlayStretch([in] long UseOverlayStretch);
|
||||
HRESULT CanUseOverlayStretch([out] long * UseOverlayStretch);
|
||||
HRESULT UseWhenFullScreen([in] long UseWhenFullScreen);
|
||||
HRESULT WillUseFullScreen([out] long * UseWhenFullScreen);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
/* uuid(1bd0ecb0-f8e2-11ce-aac6-0020af0b99a3) conflicts with uuids.h */
|
||||
pointer_default(unique),
|
||||
local
|
||||
]
|
||||
interface IQualProp : IUnknown
|
||||
{
|
||||
[propget] HRESULT FramesDroppedInRenderer([out] int * pcFrames);
|
||||
[propget] HRESULT FramesDrawn([out] int * pcFramesDrawn);
|
||||
[propget] HRESULT AvgFrameRate([out] int * piAvgFrameRate);
|
||||
[propget] HRESULT Jitter([out] int * iJitter);
|
||||
[propget] HRESULT AvgSyncOffset([out] int * piAvg);
|
||||
[propget] HRESULT DevSyncOffset([out] int * piDev);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
/* uuid(dd1d7110-7836-11cf-bf47-00aa0055595a) conflicts with uuids.h */
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IFullScreenVideo : IUnknown
|
||||
{
|
||||
HRESULT CountModes([out] long * pModes);
|
||||
HRESULT GetModeInfo([in] long Mode, [out] long * pWidth, [out] long * pHeight, [out] long * pDepth);
|
||||
HRESULT GetCurrentMode([out] long * pMode);
|
||||
HRESULT IsModeAvailable([in] long Mode);
|
||||
HRESULT IsModeEnabled([in] long Mode);
|
||||
HRESULT SetEnabled([in] long Mode, [in] long bEnabled);
|
||||
HRESULT GetClipFactor([out] long * pClipFactor);
|
||||
HRESULT SetClipFactor([in] long ClipFactor);
|
||||
HRESULT SetMessageDrain([in] HWND hwnd);
|
||||
HRESULT GetMessageDrain([out] HWND * hwnd);
|
||||
HRESULT SetMonitor([in] long Monitor);
|
||||
HRESULT GetMonitor([out] long * Monitor);
|
||||
HRESULT HideOnDeactivate([in] long Hide);
|
||||
HRESULT IsHideOnDeactivate();
|
||||
HRESULT SetCaption([in] BSTR strCaption);
|
||||
HRESULT GetCaption([out] BSTR * pstrCaption);
|
||||
HRESULT SetDefault();
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
/* uuid(53479470-f1dd-11cf-bc42-00aa00ac74f6) conflicts with uuids.h */
|
||||
pointer_default(unique),
|
||||
local
|
||||
]
|
||||
interface IFullScreenVideoEx : IFullScreenVideo
|
||||
{
|
||||
HRESULT SetAcceleratorTable([in] HWND hwnd, [in] HACCEL hAccel);
|
||||
HRESULT GetAcceleratorTable([out] HWND * phwnd, [out] HACCEL * phAccel);
|
||||
HRESULT KeepPixelAspectRatio([in] long KeepAspect);
|
||||
/* FIXME: not sure is this next method is an [out] */
|
||||
HRESULT IsKeepPixelAspectRatio([out] long * pKeepAspect);
|
||||
}
|
||||
|
||||
[
|
||||
object,
|
||||
/* uuid(61ded640-e912-11ce-a099-00aa00479a58) conflicts with uuids.h */
|
||||
pointer_default(unique),
|
||||
local
|
||||
]
|
||||
interface IBaseVideoMixer : IUnknown
|
||||
{
|
||||
HRESULT SetLeadPin([in] int iPin);
|
||||
HRESULT GetLeadPin([out] int * piPin);
|
||||
HRESULT GetInputPinCount([out] int * piPinCount);
|
||||
HRESULT IsUsingClock([out] int * pbValue);
|
||||
HRESULT SetUsingClock([in] int bValue);
|
||||
HRESULT GetClockPeriod([out] int * pbValue);
|
||||
HRESULT SetClockPeriod([in] int bValue);
|
||||
}
|
||||
|
||||
#define iPALETTE_COLORS 256
|
||||
#define iMASK_COLORS 3
|
||||
|
||||
cpp_quote("#define iPALETTE_COLORS 256")
|
||||
cpp_quote("#define iEGA_COLORS 16")
|
||||
cpp_quote("#define iMASK_COLORS 3")
|
||||
cpp_quote("#define iTRUECOLOR 16")
|
||||
cpp_quote("#define iRED 0")
|
||||
cpp_quote("#define iGREEN 1")
|
||||
cpp_quote("#define iBLUE 2")
|
||||
cpp_quote("#define iPALETTE 8")
|
||||
cpp_quote("#define iMAXBITS 8")
|
||||
|
||||
typedef struct tag_TRUECOLORINFO
|
||||
{
|
||||
DWORD dwBitMasks[iMASK_COLORS];
|
||||
RGBQUAD bmiColors[iPALETTE_COLORS];
|
||||
} TRUECOLORINFO;
|
||||
|
||||
typedef struct tagVIDEOINFOHEADER
|
||||
{
|
||||
RECT rcSource;
|
||||
RECT rcTarget;
|
||||
DWORD dwBitRate;
|
||||
DWORD dwBitErrorRate;
|
||||
REFERENCE_TIME AvgTimePerFrame;
|
||||
|
||||
BITMAPINFOHEADER bmiHeader;
|
||||
} VIDEOINFOHEADER;
|
||||
|
||||
typedef struct tagVIDEOINFO
|
||||
{
|
||||
RECT rcSource;
|
||||
RECT rcTarget;
|
||||
DWORD dwBitRate;
|
||||
DWORD dwBitErrorRate;
|
||||
REFERENCE_TIME AvgTimePerFrame;
|
||||
|
||||
BITMAPINFOHEADER bmiHeader;
|
||||
|
||||
union
|
||||
{
|
||||
RGBQUAD bmiColors[iPALETTE_COLORS];
|
||||
DWORD dwBitMasks[iMASK_COLORS];
|
||||
TRUECOLORINFO TrueColorInfo;
|
||||
};
|
||||
} VIDEOINFO;
|
||||
|
||||
typedef struct tagMPEG1VIDEOINFO
|
||||
{
|
||||
VIDEOINFOHEADER hdr;
|
||||
DWORD dwStartTimeCode;
|
||||
DWORD cbSequenceHeader;
|
||||
BYTE bSequenceHeader[1];
|
||||
} MPEG1VIDEOINFO;
|
||||
|
||||
cpp_quote("#define MAX_SIZE_MPEG1_SEQUENCE_INFO 140")
|
||||
cpp_quote("#define MPEG1_SEQUENCE_INFO(pv) ((const BYTE *)(pv)->bSequenceHeader)")
|
||||
|
||||
typedef struct tagAnalogVideoInfo
|
||||
{
|
||||
RECT rcSource;
|
||||
RECT rcTarget;
|
||||
DWORD dwActiveWidth;
|
||||
DWORD dwActiveHeight;
|
||||
REFERENCE_TIME AvgTimePerFrame;
|
||||
} ANALOGVIDEOINFO;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
AM_PROPERTY_FRAMESTEP_STEP = 0x01,
|
||||
AM_PROPERTY_FRAMESTEP_CANCEL = 0x02,
|
||||
AM_PROPERTY_FRAMESTEP_CANSTEP = 0x03,
|
||||
AM_PROPERTY_FRAMESTEP_CANSTEPMULTIPLE = 0x04
|
||||
} AM_PROPERTY_FRAMESTEP;
|
||||
|
||||
typedef struct _AM_FRAMESTEP_STEP
|
||||
{
|
||||
DWORD dwFramesToStep;
|
||||
} AM_FRAMESTEP_STEP;
|
||||
@ -21,27 +21,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _CRT_TERMINATE_DEFINED
|
||||
#define _CRT_TERMINATE_DEFINED
|
||||
void __cdecl __MINGW_NOTHROW exit(int _Code) __MINGW_ATTRIB_NORETURN;
|
||||
void __cdecl __MINGW_NOTHROW _exit(int _Code) __MINGW_ATTRIB_NORETURN;
|
||||
|
||||
#if !defined __NO_ISOCEXT /* extern stub in static libmingwex.a */
|
||||
/* C99 function name */
|
||||
void __cdecl _Exit(int) __MINGW_ATTRIB_NORETURN;
|
||||
#ifndef __CRT__NO_INLINE
|
||||
__CRT_INLINE __MINGW_ATTRIB_NORETURN void __cdecl _Exit(int status)
|
||||
{ _exit(status); }
|
||||
#endif /* !__CRT__NO_INLINE */
|
||||
#endif /* Not __NO_ISOCEXT */
|
||||
|
||||
#pragma push_macro("abort")
|
||||
#undef abort
|
||||
void __cdecl __MINGW_ATTRIB_NORETURN abort(void);
|
||||
#pragma pop_macro("abort")
|
||||
|
||||
#endif /* _CRT_TERMINATE_DEFINED */
|
||||
|
||||
_CRTIMP void __cdecl _wassert(const wchar_t *_Message,const wchar_t *_File,unsigned _Line);
|
||||
_CRTIMP void __cdecl _assert (const char *_Message, const char *_File, unsigned _Line);
|
||||
|
||||
|
||||
200
lib/libc/include/any-windows-any/asyncinfo.h
Normal file
200
lib/libc/include/any-windows-any/asyncinfo.h
Normal file
@ -0,0 +1,200 @@
|
||||
/*** Autogenerated by WIDL 6.4 from include/asyncinfo.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __asyncinfo_h__
|
||||
#define __asyncinfo_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __IAsyncInfo_FWD_DEFINED__
|
||||
#define __IAsyncInfo_FWD_DEFINED__
|
||||
typedef interface IAsyncInfo IAsyncInfo;
|
||||
#ifdef __cplusplus
|
||||
namespace ABI {
|
||||
interface IAsyncInfo;
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <inspectable.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum AsyncStatus {
|
||||
Started = 0,
|
||||
Completed = 1,
|
||||
Canceled = 2,
|
||||
Error = 3
|
||||
} AsyncStatus;
|
||||
/*****************************************************************************
|
||||
* IAsyncInfo interface
|
||||
*/
|
||||
#ifndef __IAsyncInfo_INTERFACE_DEFINED__
|
||||
#define __IAsyncInfo_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAsyncInfo, 0x00000036, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("00000036-0000-0000-c000-000000000046")
|
||||
IAsyncInfo : public IInspectable
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE get_Id(
|
||||
UINT32 *id) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE get_Status(
|
||||
AsyncStatus *status) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE get_ErrorCode(
|
||||
HRESULT *error_code) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Cancel(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Close(
|
||||
) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IAsyncInfo, 0x00000036, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IAsyncInfoVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAsyncInfo *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAsyncInfo *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAsyncInfo *This);
|
||||
|
||||
/*** IInspectable methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetIids)(
|
||||
IAsyncInfo *This,
|
||||
ULONG *iidCount,
|
||||
IID **iids);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
|
||||
IAsyncInfo *This,
|
||||
HSTRING *className);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
|
||||
IAsyncInfo *This,
|
||||
TrustLevel *trustLevel);
|
||||
|
||||
/*** IAsyncInfo methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *get_Id)(
|
||||
IAsyncInfo *This,
|
||||
UINT32 *id);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *get_Status)(
|
||||
IAsyncInfo *This,
|
||||
AsyncStatus *status);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *get_ErrorCode)(
|
||||
IAsyncInfo *This,
|
||||
HRESULT *error_code);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Cancel)(
|
||||
IAsyncInfo *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Close)(
|
||||
IAsyncInfo *This);
|
||||
|
||||
END_INTERFACE
|
||||
} IAsyncInfoVtbl;
|
||||
|
||||
interface IAsyncInfo {
|
||||
CONST_VTBL IAsyncInfoVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAsyncInfo_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IAsyncInfo_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IAsyncInfo_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IInspectable methods ***/
|
||||
#define IAsyncInfo_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
|
||||
#define IAsyncInfo_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
|
||||
#define IAsyncInfo_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
|
||||
/*** IAsyncInfo methods ***/
|
||||
#define IAsyncInfo_get_Id(This,id) (This)->lpVtbl->get_Id(This,id)
|
||||
#define IAsyncInfo_get_Status(This,status) (This)->lpVtbl->get_Status(This,status)
|
||||
#define IAsyncInfo_get_ErrorCode(This,error_code) (This)->lpVtbl->get_ErrorCode(This,error_code)
|
||||
#define IAsyncInfo_Cancel(This) (This)->lpVtbl->Cancel(This)
|
||||
#define IAsyncInfo_Close(This) (This)->lpVtbl->Close(This)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static FORCEINLINE HRESULT IAsyncInfo_QueryInterface(IAsyncInfo* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static FORCEINLINE ULONG IAsyncInfo_AddRef(IAsyncInfo* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static FORCEINLINE ULONG IAsyncInfo_Release(IAsyncInfo* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IInspectable methods ***/
|
||||
static FORCEINLINE HRESULT IAsyncInfo_GetIids(IAsyncInfo* This,ULONG *iidCount,IID **iids) {
|
||||
return This->lpVtbl->GetIids(This,iidCount,iids);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAsyncInfo_GetRuntimeClassName(IAsyncInfo* This,HSTRING *className) {
|
||||
return This->lpVtbl->GetRuntimeClassName(This,className);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAsyncInfo_GetTrustLevel(IAsyncInfo* This,TrustLevel *trustLevel) {
|
||||
return This->lpVtbl->GetTrustLevel(This,trustLevel);
|
||||
}
|
||||
/*** IAsyncInfo methods ***/
|
||||
static FORCEINLINE HRESULT IAsyncInfo_get_Id(IAsyncInfo* This,UINT32 *id) {
|
||||
return This->lpVtbl->get_Id(This,id);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAsyncInfo_get_Status(IAsyncInfo* This,AsyncStatus *status) {
|
||||
return This->lpVtbl->get_Status(This,status);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAsyncInfo_get_ErrorCode(IAsyncInfo* This,HRESULT *error_code) {
|
||||
return This->lpVtbl->get_ErrorCode(This,error_code);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAsyncInfo_Cancel(IAsyncInfo* This) {
|
||||
return This->lpVtbl->Cancel(This);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAsyncInfo_Close(IAsyncInfo* This) {
|
||||
return This->lpVtbl->Close(This);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __IAsyncInfo_INTERFACE_DEFINED__ */
|
||||
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __asyncinfo_h__ */
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/audioclient.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/audioclient.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -34,6 +34,14 @@ interface IAudioClient2;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IAudioClient3_FWD_DEFINED__
|
||||
#define __IAudioClient3_FWD_DEFINED__
|
||||
typedef interface IAudioClient3 IAudioClient3;
|
||||
#ifdef __cplusplus
|
||||
interface IAudioClient3;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IAudioRenderClient_FWD_DEFINED__
|
||||
#define __IAudioRenderClient_FWD_DEFINED__
|
||||
typedef interface IAudioRenderClient IAudioRenderClient;
|
||||
@ -90,6 +98,14 @@ interface IAudioStreamVolume;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IAudioAmbisonicsControl_FWD_DEFINED__
|
||||
#define __IAudioAmbisonicsControl_FWD_DEFINED__
|
||||
typedef interface IAudioAmbisonicsControl IAudioAmbisonicsControl;
|
||||
#ifdef __cplusplus
|
||||
interface IAudioAmbisonicsControl;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
#ifndef __IChannelAudioVolume_FWD_DEFINED__
|
||||
#define __IChannelAudioVolume_FWD_DEFINED__
|
||||
typedef interface IChannelAudioVolume IChannelAudioVolume;
|
||||
@ -144,6 +160,17 @@ typedef enum AUDCLNT_STREAMOPTIONS {
|
||||
AUDCLNT_STREAMOPTIONS_MATCH_FORMAT = 0x2,
|
||||
AUDCLNT_STREAMOPTIONS_AMBISONICS = 0x4
|
||||
} AUDCLNT_STREAMOPTIONS;
|
||||
DEFINE_ENUM_FLAG_OPERATORS(AUDCLNT_STREAMOPTIONS);
|
||||
typedef enum AMBISONICS_TYPE {
|
||||
AMBISONICS_TYPE_FULL3D = 0x0
|
||||
} AMBISONICS_TYPE;
|
||||
typedef enum AMBISONICS_CHANNEL_ORDERING {
|
||||
AMBISONICS_CHANNEL_ORDERING_ACN = 0x0
|
||||
} AMBISONICS_CHANNEL_ORDERING;
|
||||
typedef enum AMBISONICS_NORMALIZATION {
|
||||
AMBISONICS_NORMALIZATION_SN3D = 0x0,
|
||||
AMBISONICS_NORMALIZATION_N3D = 0x1
|
||||
} AMBISONICS_NORMALIZATION;
|
||||
|
||||
typedef struct AudioClientProperties {
|
||||
UINT32 cbSize;
|
||||
@ -151,6 +178,19 @@ typedef struct AudioClientProperties {
|
||||
AUDIO_STREAM_CATEGORY eCategory;
|
||||
AUDCLNT_STREAMOPTIONS Options;
|
||||
} AudioClientProperties;
|
||||
typedef struct AudioClient3ActivationParams {
|
||||
GUID tracingContextId;
|
||||
} AudioClient3ActivationParams;
|
||||
typedef struct AMBISONICS_PARAMS {
|
||||
UINT32 u32Size;
|
||||
UINT32 u32Version;
|
||||
AMBISONICS_TYPE u32Type;
|
||||
AMBISONICS_CHANNEL_ORDERING u32ChannelOrdering;
|
||||
AMBISONICS_NORMALIZATION u32Normalization;
|
||||
UINT32 u32Order;
|
||||
UINT32 u32NumChannels;
|
||||
UINT32 *pu32ChannelMap;
|
||||
} AMBISONICS_PARAMS;
|
||||
|
||||
/*****************************************************************************
|
||||
* IAudioClient interface
|
||||
@ -578,6 +618,257 @@ static FORCEINLINE HRESULT IAudioClient2_GetBufferSizeLimits(IAudioClient2* This
|
||||
|
||||
#endif /* __IAudioClient2_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IAudioClient3 interface
|
||||
*/
|
||||
#ifndef __IAudioClient3_INTERFACE_DEFINED__
|
||||
#define __IAudioClient3_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAudioClient3, 0x7ed4ee07, 0x8e67, 0x4cd4, 0x8c,0x1a, 0x2b,0x7a,0x59,0x87,0xad,0x42);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("7ed4ee07-8e67-4cd4-8c1a-2b7a5987ad42")
|
||||
IAudioClient3 : public IAudioClient2
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSharedModeEnginePeriod(
|
||||
const WAVEFORMATEX *pFormat,
|
||||
UINT32 *pDefaultPeriodInFrames,
|
||||
UINT32 *pFundamentalPeriodInFrames,
|
||||
UINT32 *pMinPeriodInFrames,
|
||||
UINT32 *pMaxPeriodInFrames) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetCurrentSharedModeEnginePeriod(
|
||||
WAVEFORMATEX **ppFormat,
|
||||
UINT32 *pCurrentPeriodInFrames) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE InitializeSharedAudioStream(
|
||||
DWORD StreamFlags,
|
||||
UINT32 PeriodInFrames,
|
||||
const WAVEFORMATEX *pFormat,
|
||||
LPCGUID AudioSessionGuid) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IAudioClient3, 0x7ed4ee07, 0x8e67, 0x4cd4, 0x8c,0x1a, 0x2b,0x7a,0x59,0x87,0xad,0x42)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IAudioClient3Vtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAudioClient3 *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAudioClient3 *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAudioClient3 *This);
|
||||
|
||||
/*** IAudioClient methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Initialize)(
|
||||
IAudioClient3 *This,
|
||||
AUDCLNT_SHAREMODE ShareMode,
|
||||
DWORD StreamFlags,
|
||||
REFERENCE_TIME hnsBufferDuration,
|
||||
REFERENCE_TIME hnsPeriodicity,
|
||||
const WAVEFORMATEX *pFormat,
|
||||
LPCGUID AudioSessionGuid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetBufferSize)(
|
||||
IAudioClient3 *This,
|
||||
UINT32 *pNumBufferFrames);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetStreamLatency)(
|
||||
IAudioClient3 *This,
|
||||
REFERENCE_TIME *phnsLatency);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetCurrentPadding)(
|
||||
IAudioClient3 *This,
|
||||
UINT32 *pNumPaddingFrames);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *IsFormatSupported)(
|
||||
IAudioClient3 *This,
|
||||
AUDCLNT_SHAREMODE ShareMode,
|
||||
const WAVEFORMATEX *pFormat,
|
||||
WAVEFORMATEX **ppClosestMatch);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetMixFormat)(
|
||||
IAudioClient3 *This,
|
||||
WAVEFORMATEX **ppDeviceFormat);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetDevicePeriod)(
|
||||
IAudioClient3 *This,
|
||||
REFERENCE_TIME *phnsDefaultDevicePeriod,
|
||||
REFERENCE_TIME *phnsMinimumDevicePeriod);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Start)(
|
||||
IAudioClient3 *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Stop)(
|
||||
IAudioClient3 *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IAudioClient3 *This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetEventHandle)(
|
||||
IAudioClient3 *This,
|
||||
HANDLE eventHandle);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetService)(
|
||||
IAudioClient3 *This,
|
||||
REFIID riid,
|
||||
void **ppv);
|
||||
|
||||
/*** IAudioClient2 methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *IsOffloadCapable)(
|
||||
IAudioClient3 *This,
|
||||
AUDIO_STREAM_CATEGORY Category,
|
||||
WINBOOL *pbOffloadCapable);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetClientProperties)(
|
||||
IAudioClient3 *This,
|
||||
const AudioClientProperties *pProperties);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetBufferSizeLimits)(
|
||||
IAudioClient3 *This,
|
||||
const WAVEFORMATEX *pFormat,
|
||||
WINBOOL bEventDriven,
|
||||
REFERENCE_TIME *phnsMinBufferDuration,
|
||||
REFERENCE_TIME *phnsMaxBufferDuration);
|
||||
|
||||
/*** IAudioClient3 methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetSharedModeEnginePeriod)(
|
||||
IAudioClient3 *This,
|
||||
const WAVEFORMATEX *pFormat,
|
||||
UINT32 *pDefaultPeriodInFrames,
|
||||
UINT32 *pFundamentalPeriodInFrames,
|
||||
UINT32 *pMinPeriodInFrames,
|
||||
UINT32 *pMaxPeriodInFrames);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetCurrentSharedModeEnginePeriod)(
|
||||
IAudioClient3 *This,
|
||||
WAVEFORMATEX **ppFormat,
|
||||
UINT32 *pCurrentPeriodInFrames);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *InitializeSharedAudioStream)(
|
||||
IAudioClient3 *This,
|
||||
DWORD StreamFlags,
|
||||
UINT32 PeriodInFrames,
|
||||
const WAVEFORMATEX *pFormat,
|
||||
LPCGUID AudioSessionGuid);
|
||||
|
||||
END_INTERFACE
|
||||
} IAudioClient3Vtbl;
|
||||
|
||||
interface IAudioClient3 {
|
||||
CONST_VTBL IAudioClient3Vtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAudioClient3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IAudioClient3_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IAudioClient3_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IAudioClient methods ***/
|
||||
#define IAudioClient3_Initialize(This,ShareMode,StreamFlags,hnsBufferDuration,hnsPeriodicity,pFormat,AudioSessionGuid) (This)->lpVtbl->Initialize(This,ShareMode,StreamFlags,hnsBufferDuration,hnsPeriodicity,pFormat,AudioSessionGuid)
|
||||
#define IAudioClient3_GetBufferSize(This,pNumBufferFrames) (This)->lpVtbl->GetBufferSize(This,pNumBufferFrames)
|
||||
#define IAudioClient3_GetStreamLatency(This,phnsLatency) (This)->lpVtbl->GetStreamLatency(This,phnsLatency)
|
||||
#define IAudioClient3_GetCurrentPadding(This,pNumPaddingFrames) (This)->lpVtbl->GetCurrentPadding(This,pNumPaddingFrames)
|
||||
#define IAudioClient3_IsFormatSupported(This,ShareMode,pFormat,ppClosestMatch) (This)->lpVtbl->IsFormatSupported(This,ShareMode,pFormat,ppClosestMatch)
|
||||
#define IAudioClient3_GetMixFormat(This,ppDeviceFormat) (This)->lpVtbl->GetMixFormat(This,ppDeviceFormat)
|
||||
#define IAudioClient3_GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod) (This)->lpVtbl->GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod)
|
||||
#define IAudioClient3_Start(This) (This)->lpVtbl->Start(This)
|
||||
#define IAudioClient3_Stop(This) (This)->lpVtbl->Stop(This)
|
||||
#define IAudioClient3_Reset(This) (This)->lpVtbl->Reset(This)
|
||||
#define IAudioClient3_SetEventHandle(This,eventHandle) (This)->lpVtbl->SetEventHandle(This,eventHandle)
|
||||
#define IAudioClient3_GetService(This,riid,ppv) (This)->lpVtbl->GetService(This,riid,ppv)
|
||||
/*** IAudioClient2 methods ***/
|
||||
#define IAudioClient3_IsOffloadCapable(This,Category,pbOffloadCapable) (This)->lpVtbl->IsOffloadCapable(This,Category,pbOffloadCapable)
|
||||
#define IAudioClient3_SetClientProperties(This,pProperties) (This)->lpVtbl->SetClientProperties(This,pProperties)
|
||||
#define IAudioClient3_GetBufferSizeLimits(This,pFormat,bEventDriven,phnsMinBufferDuration,phnsMaxBufferDuration) (This)->lpVtbl->GetBufferSizeLimits(This,pFormat,bEventDriven,phnsMinBufferDuration,phnsMaxBufferDuration)
|
||||
/*** IAudioClient3 methods ***/
|
||||
#define IAudioClient3_GetSharedModeEnginePeriod(This,pFormat,pDefaultPeriodInFrames,pFundamentalPeriodInFrames,pMinPeriodInFrames,pMaxPeriodInFrames) (This)->lpVtbl->GetSharedModeEnginePeriod(This,pFormat,pDefaultPeriodInFrames,pFundamentalPeriodInFrames,pMinPeriodInFrames,pMaxPeriodInFrames)
|
||||
#define IAudioClient3_GetCurrentSharedModeEnginePeriod(This,ppFormat,pCurrentPeriodInFrames) (This)->lpVtbl->GetCurrentSharedModeEnginePeriod(This,ppFormat,pCurrentPeriodInFrames)
|
||||
#define IAudioClient3_InitializeSharedAudioStream(This,StreamFlags,PeriodInFrames,pFormat,AudioSessionGuid) (This)->lpVtbl->InitializeSharedAudioStream(This,StreamFlags,PeriodInFrames,pFormat,AudioSessionGuid)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static FORCEINLINE HRESULT IAudioClient3_QueryInterface(IAudioClient3* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static FORCEINLINE ULONG IAudioClient3_AddRef(IAudioClient3* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static FORCEINLINE ULONG IAudioClient3_Release(IAudioClient3* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IAudioClient methods ***/
|
||||
static FORCEINLINE HRESULT IAudioClient3_Initialize(IAudioClient3* This,AUDCLNT_SHAREMODE ShareMode,DWORD StreamFlags,REFERENCE_TIME hnsBufferDuration,REFERENCE_TIME hnsPeriodicity,const WAVEFORMATEX *pFormat,LPCGUID AudioSessionGuid) {
|
||||
return This->lpVtbl->Initialize(This,ShareMode,StreamFlags,hnsBufferDuration,hnsPeriodicity,pFormat,AudioSessionGuid);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetBufferSize(IAudioClient3* This,UINT32 *pNumBufferFrames) {
|
||||
return This->lpVtbl->GetBufferSize(This,pNumBufferFrames);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetStreamLatency(IAudioClient3* This,REFERENCE_TIME *phnsLatency) {
|
||||
return This->lpVtbl->GetStreamLatency(This,phnsLatency);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetCurrentPadding(IAudioClient3* This,UINT32 *pNumPaddingFrames) {
|
||||
return This->lpVtbl->GetCurrentPadding(This,pNumPaddingFrames);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_IsFormatSupported(IAudioClient3* This,AUDCLNT_SHAREMODE ShareMode,const WAVEFORMATEX *pFormat,WAVEFORMATEX **ppClosestMatch) {
|
||||
return This->lpVtbl->IsFormatSupported(This,ShareMode,pFormat,ppClosestMatch);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetMixFormat(IAudioClient3* This,WAVEFORMATEX **ppDeviceFormat) {
|
||||
return This->lpVtbl->GetMixFormat(This,ppDeviceFormat);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetDevicePeriod(IAudioClient3* This,REFERENCE_TIME *phnsDefaultDevicePeriod,REFERENCE_TIME *phnsMinimumDevicePeriod) {
|
||||
return This->lpVtbl->GetDevicePeriod(This,phnsDefaultDevicePeriod,phnsMinimumDevicePeriod);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_Start(IAudioClient3* This) {
|
||||
return This->lpVtbl->Start(This);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_Stop(IAudioClient3* This) {
|
||||
return This->lpVtbl->Stop(This);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_Reset(IAudioClient3* This) {
|
||||
return This->lpVtbl->Reset(This);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_SetEventHandle(IAudioClient3* This,HANDLE eventHandle) {
|
||||
return This->lpVtbl->SetEventHandle(This,eventHandle);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetService(IAudioClient3* This,REFIID riid,void **ppv) {
|
||||
return This->lpVtbl->GetService(This,riid,ppv);
|
||||
}
|
||||
/*** IAudioClient2 methods ***/
|
||||
static FORCEINLINE HRESULT IAudioClient3_IsOffloadCapable(IAudioClient3* This,AUDIO_STREAM_CATEGORY Category,WINBOOL *pbOffloadCapable) {
|
||||
return This->lpVtbl->IsOffloadCapable(This,Category,pbOffloadCapable);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_SetClientProperties(IAudioClient3* This,const AudioClientProperties *pProperties) {
|
||||
return This->lpVtbl->SetClientProperties(This,pProperties);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetBufferSizeLimits(IAudioClient3* This,const WAVEFORMATEX *pFormat,WINBOOL bEventDriven,REFERENCE_TIME *phnsMinBufferDuration,REFERENCE_TIME *phnsMaxBufferDuration) {
|
||||
return This->lpVtbl->GetBufferSizeLimits(This,pFormat,bEventDriven,phnsMinBufferDuration,phnsMaxBufferDuration);
|
||||
}
|
||||
/*** IAudioClient3 methods ***/
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetSharedModeEnginePeriod(IAudioClient3* This,const WAVEFORMATEX *pFormat,UINT32 *pDefaultPeriodInFrames,UINT32 *pFundamentalPeriodInFrames,UINT32 *pMinPeriodInFrames,UINT32 *pMaxPeriodInFrames) {
|
||||
return This->lpVtbl->GetSharedModeEnginePeriod(This,pFormat,pDefaultPeriodInFrames,pFundamentalPeriodInFrames,pMinPeriodInFrames,pMaxPeriodInFrames);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_GetCurrentSharedModeEnginePeriod(IAudioClient3* This,WAVEFORMATEX **ppFormat,UINT32 *pCurrentPeriodInFrames) {
|
||||
return This->lpVtbl->GetCurrentSharedModeEnginePeriod(This,ppFormat,pCurrentPeriodInFrames);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioClient3_InitializeSharedAudioStream(IAudioClient3* This,DWORD StreamFlags,UINT32 PeriodInFrames,const WAVEFORMATEX *pFormat,LPCGUID AudioSessionGuid) {
|
||||
return This->lpVtbl->InitializeSharedAudioStream(This,StreamFlags,PeriodInFrames,pFormat,AudioSessionGuid);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IAudioClient3_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IAudioRenderClient interface
|
||||
@ -1292,6 +1583,124 @@ static FORCEINLINE HRESULT IAudioStreamVolume_GetAllVolumes(IAudioStreamVolume*
|
||||
|
||||
#endif /* __IAudioStreamVolume_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IAudioAmbisonicsControl interface
|
||||
*/
|
||||
#ifndef __IAudioAmbisonicsControl_INTERFACE_DEFINED__
|
||||
#define __IAudioAmbisonicsControl_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAudioAmbisonicsControl, 0x28724c91, 0xdf35, 0x4856, 0x9f,0x76, 0xd6,0xa2,0x64,0x13,0xf3,0xdf);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("28724c91-df35-4856-9f76-d6a26413f3df")
|
||||
IAudioAmbisonicsControl : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE SetData(
|
||||
const AMBISONICS_PARAMS *pAmbisonicsParams,
|
||||
UINT32 cbAmbisonicsParams) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetHeadTracking(
|
||||
WINBOOL bEnableHeadTracking) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetHeadTracking(
|
||||
WINBOOL *pbEnableHeadTracking) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetRotation(
|
||||
float X,
|
||||
float Y,
|
||||
float Z,
|
||||
float W) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(IAudioAmbisonicsControl, 0x28724c91, 0xdf35, 0x4856, 0x9f,0x76, 0xd6,0xa2,0x64,0x13,0xf3,0xdf)
|
||||
#endif
|
||||
#else
|
||||
typedef struct IAudioAmbisonicsControlVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAudioAmbisonicsControl *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAudioAmbisonicsControl *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAudioAmbisonicsControl *This);
|
||||
|
||||
/*** IAudioAmbisonicsControl methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *SetData)(
|
||||
IAudioAmbisonicsControl *This,
|
||||
const AMBISONICS_PARAMS *pAmbisonicsParams,
|
||||
UINT32 cbAmbisonicsParams);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetHeadTracking)(
|
||||
IAudioAmbisonicsControl *This,
|
||||
WINBOOL bEnableHeadTracking);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetHeadTracking)(
|
||||
IAudioAmbisonicsControl *This,
|
||||
WINBOOL *pbEnableHeadTracking);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetRotation)(
|
||||
IAudioAmbisonicsControl *This,
|
||||
float X,
|
||||
float Y,
|
||||
float Z,
|
||||
float W);
|
||||
|
||||
END_INTERFACE
|
||||
} IAudioAmbisonicsControlVtbl;
|
||||
|
||||
interface IAudioAmbisonicsControl {
|
||||
CONST_VTBL IAudioAmbisonicsControlVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAudioAmbisonicsControl_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define IAudioAmbisonicsControl_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define IAudioAmbisonicsControl_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** IAudioAmbisonicsControl methods ***/
|
||||
#define IAudioAmbisonicsControl_SetData(This,pAmbisonicsParams,cbAmbisonicsParams) (This)->lpVtbl->SetData(This,pAmbisonicsParams,cbAmbisonicsParams)
|
||||
#define IAudioAmbisonicsControl_SetHeadTracking(This,bEnableHeadTracking) (This)->lpVtbl->SetHeadTracking(This,bEnableHeadTracking)
|
||||
#define IAudioAmbisonicsControl_GetHeadTracking(This,pbEnableHeadTracking) (This)->lpVtbl->GetHeadTracking(This,pbEnableHeadTracking)
|
||||
#define IAudioAmbisonicsControl_SetRotation(This,X,Y,Z,W) (This)->lpVtbl->SetRotation(This,X,Y,Z,W)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static FORCEINLINE HRESULT IAudioAmbisonicsControl_QueryInterface(IAudioAmbisonicsControl* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static FORCEINLINE ULONG IAudioAmbisonicsControl_AddRef(IAudioAmbisonicsControl* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static FORCEINLINE ULONG IAudioAmbisonicsControl_Release(IAudioAmbisonicsControl* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** IAudioAmbisonicsControl methods ***/
|
||||
static FORCEINLINE HRESULT IAudioAmbisonicsControl_SetData(IAudioAmbisonicsControl* This,const AMBISONICS_PARAMS *pAmbisonicsParams,UINT32 cbAmbisonicsParams) {
|
||||
return This->lpVtbl->SetData(This,pAmbisonicsParams,cbAmbisonicsParams);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioAmbisonicsControl_SetHeadTracking(IAudioAmbisonicsControl* This,WINBOOL bEnableHeadTracking) {
|
||||
return This->lpVtbl->SetHeadTracking(This,bEnableHeadTracking);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioAmbisonicsControl_GetHeadTracking(IAudioAmbisonicsControl* This,WINBOOL *pbEnableHeadTracking) {
|
||||
return This->lpVtbl->GetHeadTracking(This,pbEnableHeadTracking);
|
||||
}
|
||||
static FORCEINLINE HRESULT IAudioAmbisonicsControl_SetRotation(IAudioAmbisonicsControl* This,float X,float Y,float Z,float W) {
|
||||
return This->lpVtbl->SetRotation(This,X,Y,Z,W);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __IAudioAmbisonicsControl_INTERFACE_DEFINED__ */
|
||||
|
||||
|
||||
/*****************************************************************************
|
||||
* IChannelAudioVolume interface
|
||||
@ -1463,6 +1872,11 @@ static FORCEINLINE HRESULT IChannelAudioVolume_GetAllVolumes(IChannelAudioVolume
|
||||
#define AUDCLNT_E_OFFLOAD_MODE_ONLY AUDCLNT_ERR(0x24)
|
||||
#define AUDCLNT_E_NONOFFLOAD_MODE_ONLY AUDCLNT_ERR(0x25)
|
||||
#define AUDCLNT_E_RESOURCES_INVALIDATED AUDCLNT_ERR(0x26)
|
||||
#define AUDCLNT_E_RAW_MODE_UNSUPPORTED AUDCLNT_ERR(0x027)
|
||||
#define AUDCLNT_E_ENGINE_PERIODICITY_LOCKED AUDCLNT_ERR(0x028)
|
||||
#define AUDCLNT_E_ENGINE_FORMAT_LOCKED AUDCLNT_ERR(0x029)
|
||||
#define AUDCLNT_E_HEADTRACKING_ENABLED AUDCLNT_ERR(0x030)
|
||||
#define AUDCLNT_E_HEADTRACKING_UNSUPPORTED AUDCLNT_ERR(0x040)
|
||||
#define AUDCLNT_S_BUFFER_EMPTY AUDCLNT_SUCCESS(0x1)
|
||||
#define AUDCLNT_S_THREAD_ALREADY_REGISTERED AUDCLNT_SUCCESS(0x2)
|
||||
#define AUDCLNT_S_POSITION_STALLED AUDCLNT_SUCCESS(0x3)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/audioendpoints.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/audioendpoints.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/audiopolicy.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/audiopolicy.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -50,6 +50,8 @@ typedef enum _AUDIO_STREAM_CATEGORY {
|
||||
#define AUDCLNT_STREAMFLAGS_EVENTCALLBACK 0x00040000
|
||||
#define AUDCLNT_STREAMFLAGS_NOPERSIST 0x00080000
|
||||
#define AUDCLNT_STREAMFLAGS_RATEADJUST 0x00100000
|
||||
#define AUDCLNT_STREAMFLAGS_SRC_DEFAULT_QUALITY 0x08000000
|
||||
#define AUDCLNT_STREAMFLAGS_AUTOCONVERTPCM 0x80000000
|
||||
#define AUDCLNT_SESSIONFLAGS_EXPIREWHENUNOWNED 0x10000000
|
||||
#define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDE 0x20000000
|
||||
#define AUDCLNT_SESSIONFLAGS_DISPLAY_HIDEWHENEXPIRED 0x40000000
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/austream.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/austream.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,108 +0,0 @@
|
||||
/*
|
||||
* Copyright 2004 Christian Costa
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "unknwn.idl";
|
||||
import "mmstream.idl";
|
||||
|
||||
cpp_quote("#if 0")
|
||||
typedef struct tWAVEFORMATEX WAVEFORMATEX;
|
||||
cpp_quote ("#endif")
|
||||
|
||||
interface IAudioMediaStream;
|
||||
interface IAudioStreamSample;
|
||||
interface IMemoryData;
|
||||
interface IAudioData;
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(f7537560-a3be-11d0-8212-00c04fc32c45),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IAudioMediaStream : IMediaStream
|
||||
{
|
||||
HRESULT GetFormat(
|
||||
[out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent
|
||||
);
|
||||
|
||||
HRESULT SetFormat(
|
||||
[in] const WAVEFORMATEX *lpWaveFormat);
|
||||
|
||||
HRESULT CreateSample(
|
||||
[in] IAudioData *pAudioData,
|
||||
[in] DWORD dwFlags,
|
||||
[out] IAudioStreamSample **ppSample
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(345fee00-aba5-11d0-8212-00c04fc32c45),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IAudioStreamSample : IStreamSample
|
||||
{
|
||||
HRESULT GetAudioData(
|
||||
[out] IAudioData **ppAudio
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(327fc560-af60-11d0-8212-00c04fc32c45),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IMemoryData : IUnknown
|
||||
{
|
||||
HRESULT SetBuffer(
|
||||
[in] DWORD cbSize,
|
||||
[in] BYTE *pbData,
|
||||
[in] DWORD dwFlags
|
||||
);
|
||||
|
||||
HRESULT GetInfo(
|
||||
[out] DWORD *pdwLength,
|
||||
[out] BYTE **ppbData,
|
||||
[out] DWORD *pcbActualData
|
||||
);
|
||||
HRESULT SetActual(
|
||||
[in] DWORD cbDataValid
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(54c719c0-af60-11d0-8212-00c04fc32c45),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IAudioData : IMemoryData
|
||||
{
|
||||
HRESULT GetFormat(
|
||||
[out] /*[optional]*/ WAVEFORMATEX *pWaveFormatCurrent
|
||||
);
|
||||
|
||||
HRESULT SetFormat(
|
||||
[in] const WAVEFORMATEX *lpWaveFormat
|
||||
);
|
||||
}
|
||||
@ -55,6 +55,14 @@ extern "C" {
|
||||
#define BCRYPT_KDF_TLS_PRF L"TLS_PRF"
|
||||
#define BCRYPT_KDF_SP80056A_CONCAT L"SP800_56A_CONCAT"
|
||||
|
||||
#if NTDDI_VERSION >= NTDDI_WINBLUE
|
||||
#define BCRYPT_KDF_RAW_SECRET L"TRUNCATE"
|
||||
#endif
|
||||
|
||||
#if NTDDI_VERSION >= NTDDI_WIN10_RS4
|
||||
#define BCRYPT_KDF_HKDF L"HKDF"
|
||||
#endif
|
||||
|
||||
#define KDF_HASH_ALGORITHM 0x0
|
||||
#define KDF_SECRET_PREPEND 0x1
|
||||
#define KDF_SECRET_APPEND 0x2
|
||||
@ -62,18 +70,26 @@ extern "C" {
|
||||
#define KDF_TLS_PRF_LABEL 0x4
|
||||
#define KDF_TLS_PRF_SEED 0x5
|
||||
#define KDF_SECRET_HANDLE 0x6
|
||||
#if NTDDI_VERSION >= NTDDI_WIN7
|
||||
#define KDF_TLS_PRF_PROTOCOL 0x7
|
||||
#define KDF_ALGORITHMID 0x8
|
||||
#define KDF_PARTYUINFO 0x9
|
||||
#define KDF_PARTYVINFO 0xa
|
||||
#define KDF_SUPPPUBINFO 0xb
|
||||
#define KDF_SUPPPRIVINFO 0xc
|
||||
#endif
|
||||
#if NTDDI_VERSION >= NTDDI_WIN8
|
||||
#define KDF_LABEL 0xd
|
||||
#define KDF_CONTEXT 0xe
|
||||
#define KDF_SALT 0xf
|
||||
#define KDF_ITERATION_COUNT 0x10
|
||||
#define KDF_GENERIC_PARAMETER 0x11
|
||||
#define KDF_KEYBITLENGTH 0x12
|
||||
#endif
|
||||
#if NTDDI_VERSION >= NTDDI_WIN10_RS4
|
||||
#define KDF_HKDF_SALT 0x13
|
||||
#define KDF_HKDF_INFO 0x14
|
||||
#endif
|
||||
|
||||
#define KDF_USE_SECRET_AS_HMAC_KEY_FLAG 1
|
||||
|
||||
@ -89,7 +105,9 @@ extern "C" {
|
||||
|
||||
#define BCRYPT_OPAQUE_KEY_BLOB L"OpaqueKeyBlob"
|
||||
#define BCRYPT_KEY_DATA_BLOB L"KeyDataBlob"
|
||||
#if NTDDI_VERSION >= NTDDI_WIN7
|
||||
#define BCRYPT_AES_WRAP_KEY_BLOB L"Rfc3565KeyWrapBlob"
|
||||
#endif
|
||||
|
||||
#define BCRYPT_ALGORITHM_NAME L"AlgorithmName"
|
||||
#define BCRYPT_AUTH_TAG_LENGTH L"AuthTagLength"
|
||||
@ -120,7 +138,17 @@ extern "C" {
|
||||
#define BCRYPT_PCP_PROVIDER_VERSION_PROPERTY L"PCP_PROVIDER_VERSION"
|
||||
#define BCRYPT_PRIMITIVE_TYPE L"PrimitiveType"
|
||||
#define BCRYPT_PROVIDER_HANDLE L"ProviderHandle"
|
||||
#define BCRYPT_PUBLIC_KEY_LENGTH L"PublicKeyLength"
|
||||
#define BCRYPT_SIGNATURE_LENGTH L"SignatureLength"
|
||||
#if (NTDDI_VERSION > NTDDI_WINBLUE || (NTDDI_VERSION == NTDDI_WINBLUE && defined(WINBLUE_KBSPRING14)))
|
||||
#define BCRYPT_MULTI_OBJECT_LENGTH L"MultiObjectLength"
|
||||
#endif
|
||||
#if NTDDI_VERSION >= NTDDI_WIN10_RS4
|
||||
#define BCRYPT_IS_IFX_TPM_WEAK_KEY L"IsIfxTpmWeakKey"
|
||||
#define BCRYPT_HKDF_HASH_ALGORITHM L"HkdfHashAlgorithm"
|
||||
#define BCRYPT_HKDF_SALT_AND_FINALIZE L"HkdfSaltAndFinalize"
|
||||
#define BCRYPT_HKDF_PRK_AND_FINALIZE L"HkdfPrkAndFinalize"
|
||||
#endif
|
||||
|
||||
#define BCRYPT_SUPPORTED_PAD_ROUTER 0x00000001
|
||||
#define BCRYPT_SUPPORTED_PAD_PKCS1_ENC 0x00000002
|
||||
@ -136,6 +164,9 @@ extern "C" {
|
||||
#define BCRYPT_PAD_PKCS1 0x00000002
|
||||
#define BCRYPT_PAD_OAEP 0x00000004
|
||||
#define BCRYPT_PAD_PSS 0x00000008
|
||||
#if NTDDI_VERSION >= NTDDI_WINBLUE
|
||||
#define BCRYPT_PAD_PKCS1_OPTIONAL_HASH_OID 0x00000010
|
||||
#endif
|
||||
|
||||
#define BCRYPTBUFFER_VERSION 0
|
||||
|
||||
@ -220,18 +251,30 @@ extern "C" {
|
||||
|
||||
#define BCRYPT_RSAFULLPRIVATE_MAGIC 0x33415352
|
||||
|
||||
#if NTDDI_VERSION >= NTDDI_WIN8
|
||||
#define BCRYPT_GLOBAL_PARAMETERS L"SecretAgreementParam"
|
||||
#define BCRYPT_PRIVATE_KEY L"PrivKeyVal"
|
||||
#endif
|
||||
|
||||
#define BCRYPT_ECCPUBLIC_BLOB L"ECCPUBLICBLOB"
|
||||
#define BCRYPT_ECCPRIVATE_BLOB L"ECCPRIVATEBLOB"
|
||||
|
||||
#if NTDDI_VERSION >= NTDDI_WINTHRESHOLD
|
||||
#define BCRYPT_ECCFULLPUBLIC_BLOB L"ECCFULLPUBLICBLOB"
|
||||
#define BCRYPT_ECCFULLPRIVATE_BLOB L"ECCFULLPRIVATEBLOB"
|
||||
#define SSL_ECCPUBLIC_BLOB L"SSLECCPUBLICBLOB"
|
||||
#endif
|
||||
|
||||
#define BCRYPT_ECDH_PUBLIC_P256_MAGIC 0x314b4345
|
||||
#define BCRYPT_ECDH_PRIVATE_P256_MAGIC 0x324b4345
|
||||
#define BCRYPT_ECDH_PUBLIC_P384_MAGIC 0x334b4345
|
||||
#define BCRYPT_ECDH_PRIVATE_P384_MAGIC 0x344b4345
|
||||
#define BCRYPT_ECDH_PUBLIC_P521_MAGIC 0x354b4345
|
||||
#define BCRYPT_ECDH_PRIVATE_P521_MAGIC 0x364b4345
|
||||
#if NTDDI_VERSION >= NTDDI_WINTHRESHOLD
|
||||
#define BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC 0x504B4345
|
||||
#define BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC 0x564B4345
|
||||
#endif
|
||||
|
||||
#define BCRYPT_ECDSA_PUBLIC_P256_MAGIC 0x31534345
|
||||
#define BCRYPT_ECDSA_PRIVATE_P256_MAGIC 0x32534345
|
||||
@ -239,6 +282,10 @@ extern "C" {
|
||||
#define BCRYPT_ECDSA_PRIVATE_P384_MAGIC 0x34534345
|
||||
#define BCRYPT_ECDSA_PUBLIC_P521_MAGIC 0x35534345
|
||||
#define BCRYPT_ECDSA_PRIVATE_P521_MAGIC 0x36534345
|
||||
#if NTDDI_VERSION >= NTDDI_WINTHRESHOLD
|
||||
#define BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC 0x50444345
|
||||
#define BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC 0x56444345
|
||||
#endif
|
||||
|
||||
#define BCRYPT_DH_PUBLIC_BLOB L"DHPUBLICBLOB"
|
||||
#define BCRYPT_DH_PRIVATE_BLOB L"DHPRIVATEBLOB"
|
||||
@ -460,6 +507,32 @@ typedef PVOID BCRYPT_HANDLE;
|
||||
UCHAR Count[4];
|
||||
} BCRYPT_DSA_PARAMETER_HEADER_V2;
|
||||
|
||||
typedef struct _BCRYPT_ECC_CURVE_NAMES {
|
||||
ULONG dwEccCurveNames;
|
||||
LPWSTR *pEccCurveNames;
|
||||
} BCRYPT_ECC_CURVE_NAMES;
|
||||
|
||||
typedef enum {
|
||||
BCRYPT_HASH_OPERATION_HASH_DATA = 1,
|
||||
BCRYPT_HASH_OPERATION_FINISH_HASH = 2
|
||||
} BCRYPT_HASH_OPERATION_TYPE;
|
||||
|
||||
typedef struct _BCRYPT_MULTI_HASH_OPERATION {
|
||||
ULONG iHash;
|
||||
BCRYPT_HASH_OPERATION_TYPE hashOperation;
|
||||
PUCHAR pbBuffer;
|
||||
ULONG cbBuffer;
|
||||
} BCRYPT_MULTI_HASH_OPERATION;
|
||||
|
||||
typedef enum {
|
||||
BCRYPT_OPERATION_TYPE_HASH = 1
|
||||
} BCRYPT_MULTI_OPERATION_TYPE;
|
||||
|
||||
typedef struct _BCRYPT_MULTI_OBJECT_LENGTH_STRUCT {
|
||||
ULONG cbPerObject;
|
||||
ULONG cbPerElement;
|
||||
} BCRYPT_MULTI_OBJECT_LENGTH_STRUCT;
|
||||
|
||||
typedef struct _BCRYPT_ALGORITHM_IDENTIFIER {
|
||||
LPWSTR pszName;
|
||||
ULONG dwClass;
|
||||
@ -577,8 +650,15 @@ typedef PVOID BCRYPT_HANDLE;
|
||||
NTSTATUS WINAPI BCryptCreateHash (BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_HASH_HANDLE *phHash, PUCHAR pbHashObject, ULONG cbHashObject, PUCHAR pbSecret, ULONG cbSecret, ULONG dwFlags);
|
||||
NTSTATUS WINAPI BCryptHashData (BCRYPT_HASH_HANDLE hHash, PUCHAR pbInput, ULONG cbInput, ULONG dwFlags);
|
||||
NTSTATUS WINAPI BCryptFinishHash (BCRYPT_HASH_HANDLE hHash, PUCHAR pbOutput, ULONG cbOutput, ULONG dwFlags);
|
||||
#if (NTDDI_VERSION > NTDDI_WINBLUE || (NTDDI_VERSION == NTDDI_WINBLUE && defined(WINBLUE_KBSPRING14)))
|
||||
NTSTATUS WINAPI BCryptCreateMultiHash (BCRYPT_ALG_HANDLE hAlgorithm, BCRYPT_HASH_HANDLE *phHash, ULONG nHashes, PUCHAR pbHashObject, ULONG cbHashObject, PUCHAR pbSecret, ULONG cbSecret, ULONG dwFlags);
|
||||
NTSTATUS WINAPI BCryptProcessMultiOperations (BCRYPT_HANDLE hObject, BCRYPT_MULTI_OPERATION_TYPE operationType, PVOID pOperations, ULONG cbOperations, ULONG dwFlags);
|
||||
#endif
|
||||
NTSTATUS WINAPI BCryptDuplicateHash (BCRYPT_HASH_HANDLE hHash, BCRYPT_HASH_HANDLE *phNewHash, PUCHAR pbHashObject, ULONG cbHashObject, ULONG dwFlags);
|
||||
NTSTATUS WINAPI BCryptDestroyHash (BCRYPT_HASH_HANDLE hHash);
|
||||
#if NTDDI_VERSION >= NTDDI_WINTHRESHOLD
|
||||
NTSTATUS WINAPI BCryptHash (BCRYPT_ALG_HANDLE hAlgorithm, PUCHAR pbSecret, ULONG cbSecret, PUCHAR pbInput, ULONG cbInput, PUCHAR pbOutput, ULONG cbOutput);
|
||||
#endif
|
||||
NTSTATUS WINAPI BCryptGenRandom (BCRYPT_ALG_HANDLE hAlgorithm, PUCHAR pbBuffer, ULONG cbBuffer, ULONG dwFlags);
|
||||
NTSTATUS WINAPI BCryptDeriveKeyCapi (BCRYPT_HASH_HANDLE hHash, BCRYPT_ALG_HANDLE hTargetAlg, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG dwFlags);
|
||||
NTSTATUS WINAPI BCryptDeriveKeyPBKDF2 (BCRYPT_ALG_HANDLE hPrf, PUCHAR pbPassword, ULONG cbPassword, PUCHAR pbSalt, ULONG cbSalt, ULONGLONG cIterations, PUCHAR pbDerivedKey, ULONG cbDerivedKey, ULONG dwFlags);
|
||||
@ -603,10 +683,10 @@ typedef PVOID BCRYPT_HANDLE;
|
||||
NTSTATUS WINAPI BCryptSetContextFunctionProperty (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, LPCWSTR pszProperty, ULONG cbValue, PUCHAR pbValue);
|
||||
NTSTATUS WINAPI BCryptQueryContextFunctionProperty (ULONG dwTable, LPCWSTR pszContext, ULONG dwInterface, LPCWSTR pszFunction, LPCWSTR pszProperty, ULONG *pcbValue, PUCHAR *ppbValue);
|
||||
NTSTATUS WINAPI BCryptRegisterConfigChangeNotify (HANDLE *phEvent);
|
||||
NTSTATUS WINAPI BCryptUnregisterConfigChangeNotify (HANDLE hEvent);
|
||||
#else
|
||||
NTSTATUS WINAPI BCryptRegisterConfigChangeNotify (PRKEVENT pEvent);
|
||||
NTSTATUS WINAPI BCryptUnregisterConfigChangeNotify (PRKEVENT pEvent);
|
||||
NTSTATUS WINAPI BCryptUnregisterConfigChangeNotify (HANDLE hEvent);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -15,11 +15,7 @@
|
||||
|
||||
typedef LONG PBDARESULT;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_EVENT_ID {
|
||||
typedef enum BDA_EVENT_ID {
|
||||
BDA_EVENT_SIGNAL_LOSS = 0,
|
||||
BDA_EVENT_SIGNAL_LOCK,
|
||||
BDA_EVENT_DATA_START,
|
||||
@ -42,70 +38,52 @@ typedef
|
||||
BDA_EVENT_SMART_CARD_REMOVED
|
||||
} BDA_EVENT_ID, *PBDA_EVENT_ID;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_MULTICAST_MODE {
|
||||
typedef enum BDA_MULTICAST_MODE {
|
||||
BDA_PROMISCUOUS_MULTICAST = 0,
|
||||
BDA_FILTERED_MULTICAST,
|
||||
BDA_NO_MULTICAST
|
||||
} BDA_MULTICAST_MODE, *PBDA_MULTICAST_MODE;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_SIGNAL_STATE {
|
||||
typedef enum BDA_SIGNAL_STATE {
|
||||
BDA_SIGNAL_UNAVAILABLE = 0,
|
||||
BDA_SIGNAL_INACTIVE,
|
||||
BDA_SIGNAL_ACTIVE
|
||||
} BDA_SIGNAL_STATE, *PBDA_SIGNAL_STATE;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_CHANGE_STATE {
|
||||
typedef enum BDA_CHANGE_STATE {
|
||||
BDA_CHANGES_COMPLETE = 0,
|
||||
BDA_CHANGES_PENDING
|
||||
} BDA_CHANGE_STATE, *PBDA_CHANGE_STATE;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum MEDIA_SAMPLE_CONTENT
|
||||
#else
|
||||
typedef enum MEDIA_SAMPLE_CONTENT
|
||||
#endif
|
||||
enum MEDIA_SAMPLE_CONTENT {
|
||||
{
|
||||
MEDIA_TRANSPORT_PACKET,
|
||||
MEDIA_ELEMENTARY_STREAM,
|
||||
MEDIA_MPEG2_PSI,
|
||||
MEDIA_TRANSPORT_PAYLOAD
|
||||
} MEDIA_SAMPLE_CONTENT;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum ISDBCAS_REQUEST_ID {
|
||||
typedef enum ISDBCAS_REQUEST_ID {
|
||||
ISDBCAS_REQUEST_ID_EMG = 0x38,
|
||||
ISDBCAS_REQUEST_ID_EMD = 0x3a,
|
||||
} ISDBCAS_REQUEST_ID;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum MUX_PID_TYPE {
|
||||
typedef enum MUX_PID_TYPE {
|
||||
PID_OTHER = -1,
|
||||
PID_ELEMENTARY_STREAM,
|
||||
PID_MPEG2_SECTION_PSI_SI
|
||||
} MUX_PID_TYPE;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum DVBSystemType
|
||||
#else
|
||||
typedef enum DVBSystemType
|
||||
#endif
|
||||
enum DVBSystemType {
|
||||
{
|
||||
DVB_Cable,
|
||||
DVB_Terrestrial,
|
||||
DVB_Satellite,
|
||||
@ -113,19 +91,16 @@ typedef
|
||||
ISDB_Satellite
|
||||
} DVBSystemType;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_Channel {
|
||||
typedef enum BDA_Channel {
|
||||
BDA_UNDEFINED_CHANNEL = -1
|
||||
} BDA_Channel;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum ComponentCategory
|
||||
#else
|
||||
typedef enum ComponentCategory
|
||||
#endif
|
||||
enum ComponentCategory {
|
||||
{
|
||||
CategoryNotSet = -1,
|
||||
CategoryOther = 0,
|
||||
CategoryVideo,
|
||||
@ -138,21 +113,23 @@ typedef
|
||||
CATEGORY_COUNT
|
||||
} ComponentCategory;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum ComponentStatus
|
||||
#else
|
||||
typedef enum ComponentStatus
|
||||
#endif
|
||||
enum ComponentStatus {
|
||||
{
|
||||
StatusActive,
|
||||
StatusInactive,
|
||||
StatusUnavailable
|
||||
} ComponentStatus;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum MPEG2StreamType
|
||||
#else
|
||||
typedef enum MPEG2StreamType
|
||||
#endif
|
||||
enum MPEG2StreamType {
|
||||
{
|
||||
BDA_UNITIALIZED_MPEG2STREAMTYPE = -1,
|
||||
Reserved1 = 0x00,
|
||||
ISO_IEC_11172_2_VIDEO = 0x01,
|
||||
@ -189,19 +166,16 @@ typedef
|
||||
DOLBY_DIGITAL_PLUS_AUDIO_ATSC = 0x87
|
||||
} MPEG2StreamType;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum ATSCComponentTypeFlags {
|
||||
typedef enum ATSCComponentTypeFlags {
|
||||
ATSCCT_AC3 = 0x1
|
||||
} ATSCComponentTypeFlags;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum BinaryConvolutionCodeRate
|
||||
#else
|
||||
typedef enum BinaryConvolutionCodeRate
|
||||
#endif
|
||||
enum BinaryConvolutionCodeRate {
|
||||
{
|
||||
BDA_BCC_RATE_NOT_SET = -1,
|
||||
BDA_BCC_RATE_NOT_DEFINED = 0,
|
||||
BDA_BCC_RATE_1_2 = 1,
|
||||
@ -221,11 +195,12 @@ typedef
|
||||
BDA_BCC_RATE_MAX
|
||||
} BinaryConvolutionCodeRate;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum FECMethod
|
||||
#else
|
||||
typedef enum FECMethod
|
||||
#endif
|
||||
enum FECMethod {
|
||||
{
|
||||
BDA_FEC_METHOD_NOT_SET = -1,
|
||||
BDA_FEC_METHOD_NOT_DEFINED = 0,
|
||||
BDA_FEC_VITERBI = 1,
|
||||
@ -236,11 +211,12 @@ typedef
|
||||
BDA_FEC_MAX
|
||||
} FECMethod;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum ModulationType
|
||||
#else
|
||||
typedef enum ModulationType
|
||||
#endif
|
||||
enum ModulationType {
|
||||
{
|
||||
BDA_MOD_NOT_SET = -1,
|
||||
BDA_MOD_NOT_DEFINED = 0,
|
||||
BDA_MOD_16QAM = 1,
|
||||
@ -281,11 +257,12 @@ typedef
|
||||
BDA_MOD_MAX
|
||||
} ModulationType;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum tagScanModulationTypes
|
||||
#else
|
||||
typedef enum tagScanModulationTypes
|
||||
#endif
|
||||
enum tagScanModulationTypes {
|
||||
{
|
||||
BDA_SCAN_MOD_16QAM = 0x00000001,
|
||||
BDA_SCAN_MOD_32QAM = 0x00000002,
|
||||
BDA_SCAN_MOD_64QAM = 0x00000004,
|
||||
@ -325,11 +302,12 @@ typedef
|
||||
BDA_SCAN_MOD_32APSK = 0x20000000,
|
||||
} ScanModulationTypes;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum SpectralInversion
|
||||
#else
|
||||
typedef enum SpectralInversion
|
||||
#endif
|
||||
enum SpectralInversion {
|
||||
{
|
||||
BDA_SPECTRAL_INVERSION_NOT_SET = -1,
|
||||
BDA_SPECTRAL_INVERSION_NOT_DEFINED = 0,
|
||||
BDA_SPECTRAL_INVERSION_AUTOMATIC = 1,
|
||||
@ -338,11 +316,12 @@ typedef
|
||||
BDA_SPECTRAL_INVERSION_MAX
|
||||
} SpectralInversion;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum Polarisation
|
||||
#else
|
||||
typedef enum Polarisation
|
||||
#endif
|
||||
enum Polarisation {
|
||||
{
|
||||
BDA_POLARISATION_NOT_SET = -1,
|
||||
BDA_POLARISATION_NOT_DEFINED = 0,
|
||||
BDA_POLARISATION_LINEAR_H = 1,
|
||||
@ -352,11 +331,12 @@ typedef
|
||||
BDA_POLARISATION_MAX
|
||||
} Polarisation;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum LNB_Source
|
||||
#else
|
||||
typedef enum LNB_Source
|
||||
#endif
|
||||
enum LNB_Source {
|
||||
{
|
||||
BDA_LNB_SOURCE_NOT_SET = -1,
|
||||
BDA_LNB_SOURCE_NOT_DEFINED = 0,
|
||||
BDA_LNB_SOURCE_A = 1,
|
||||
@ -366,11 +346,12 @@ typedef
|
||||
BDA_LNB_SOURCE_MAX
|
||||
} LNB_Source;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum GuardInterval
|
||||
#else
|
||||
typedef enum GuardInterval
|
||||
#endif
|
||||
enum GuardInterval {
|
||||
{
|
||||
BDA_GUARD_NOT_SET = -1,
|
||||
BDA_GUARD_NOT_DEFINED = 0,
|
||||
BDA_GUARD_1_32 = 1,
|
||||
@ -383,11 +364,12 @@ typedef
|
||||
BDA_GUARD_MAX
|
||||
} GuardInterval;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum HierarchyAlpha
|
||||
#else
|
||||
typedef enum HierarchyAlpha
|
||||
#endif
|
||||
enum HierarchyAlpha {
|
||||
{
|
||||
BDA_HALPHA_NOT_SET = -1,
|
||||
BDA_HALPHA_NOT_DEFINED = 0,
|
||||
BDA_HALPHA_1 = 1,
|
||||
@ -396,11 +378,12 @@ typedef
|
||||
BDA_HALPHA_MAX
|
||||
} HierarchyAlpha;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum TransmissionMode
|
||||
#else
|
||||
typedef enum TransmissionMode
|
||||
#endif
|
||||
enum TransmissionMode {
|
||||
{
|
||||
BDA_XMIT_MODE_NOT_SET = -1,
|
||||
BDA_XMIT_MODE_NOT_DEFINED = 0,
|
||||
BDA_XMIT_MODE_2K = 1,
|
||||
@ -414,11 +397,12 @@ typedef
|
||||
BDA_XMIT_MODE_MAX
|
||||
} TransmissionMode;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum RollOff
|
||||
#else
|
||||
typedef enum RollOff
|
||||
#endif
|
||||
enum RollOff {
|
||||
{
|
||||
BDA_ROLL_OFF_NOT_SET = -1,
|
||||
BDA_ROLL_OFF_NOT_DEFINED = 0,
|
||||
BDA_ROLL_OFF_20 = 1,
|
||||
@ -427,11 +411,12 @@ typedef
|
||||
BDA_ROLL_OFF_MAX
|
||||
} RollOff;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum Pilot
|
||||
#else
|
||||
typedef enum Pilot
|
||||
#endif
|
||||
enum Pilot {
|
||||
{
|
||||
BDA_PILOT_NOT_SET = -1,
|
||||
BDA_PILOT_NOT_DEFINED = 0,
|
||||
BDA_PILOT_OFF = 1,
|
||||
@ -439,58 +424,34 @@ typedef
|
||||
BDA_PILOT_MAX
|
||||
} Pilot;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_Frequency {
|
||||
typedef enum BDA_Frequency {
|
||||
BDA_FREQUENCY_NOT_SET = -1,
|
||||
BDA_FREQUENCY_NOT_DEFINED = 0
|
||||
} BDA_Frequency;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_Range {
|
||||
typedef enum BDA_Range {
|
||||
BDA_RANGE_NOT_SET = -1,
|
||||
BDA_RANGE_NOT_DEFINED = 0
|
||||
} BDA_Range;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_Channel_Bandwidth {
|
||||
typedef enum BDA_Channel_Bandwidth {
|
||||
BDA_CHAN_BANDWITH_NOT_SET = -1,
|
||||
BDA_CHAN_BANDWITH_NOT_DEFINED = 0
|
||||
} BDA_Channel_Bandwidth;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_Frequency_Multiplier {
|
||||
typedef enum BDA_Frequency_Multiplier {
|
||||
BDA_FREQUENCY_MULTIPLIER_NOT_SET = -1,
|
||||
BDA_FREQUENCY_MULTIPLIER_NOT_DEFINED = 0
|
||||
} BDA_Frequency_Multiplier;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_Comp_Flags {
|
||||
typedef enum BDA_Comp_Flags {
|
||||
BDACOMP_NOT_DEFINED = 0x00000000,
|
||||
BDACOMP_EXCLUDE_TS_FROM_TR = 0x00000001,
|
||||
BDACOMP_INCLUDE_LOCATOR_IN_TR = 0x00000002,
|
||||
BDACOMP_INCLUDE_COMPONENTS_IN_TR = 0x00000004
|
||||
} BDA_Comp_Flags;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum ApplicationTypeType {
|
||||
typedef enum ApplicationTypeType {
|
||||
SCTE28_ConditionalAccess = 0,
|
||||
SCTE28_POD_Host_Binding_Information,
|
||||
SCTE28_IPService,
|
||||
@ -502,22 +463,24 @@ typedef
|
||||
SCTE28_Reserved,
|
||||
} ApplicationTypeType;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum BDA_CONDITIONALACCESS_REQUESTTYPE
|
||||
#else
|
||||
typedef enum BDA_CONDITIONALACCESS_REQUESTTYPE
|
||||
#endif
|
||||
enum BDA_CONDITIONALACCESS_REQUESTTYPE {
|
||||
{
|
||||
CONDITIONALACCESS_ACCESS_UNSPECIFIED = 0,
|
||||
CONDITIONALACCESS_ACCESS_NOT_POSSIBLE,
|
||||
CONDITIONALACCESS_ACCESS_POSSIBLE,
|
||||
CONDITIONALACCESS_ACCESS_POSSIBLE_NO_STREAMING_DISRUPTION
|
||||
} BDA_CONDITIONALACCESS_REQUESTTYPE;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
typedef [v1_enum] enum BDA_CONDITIONALACCESS_MMICLOSEREASON
|
||||
#else
|
||||
typedef enum BDA_CONDITIONALACCESS_MMICLOSEREASON
|
||||
#endif
|
||||
enum BDA_CONDITIONALACCESS_MMICLOSEREASON {
|
||||
{
|
||||
CONDITIONALACCESS_UNSPECIFIED = 0,
|
||||
CONDITIONALACCESS_CLOSED_ITSELF,
|
||||
CONDITIONALACCESS_TUNER_REQUESTED_CLOSE,
|
||||
@ -527,21 +490,13 @@ typedef
|
||||
CONDITIONALACCESS_DIALOG_USER_NOT_AVAILABLE
|
||||
} BDA_CONDITIONALACCESS_MMICLOSEREASON;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_CONDITIONALACCESS_SESSION_RESULT {
|
||||
typedef enum BDA_CONDITIONALACCESS_SESSION_RESULT {
|
||||
CONDITIONALACCESS_SUCCESSFULL = 0,
|
||||
CONDITIONALACCESS_ENDED_NOCHANGE,
|
||||
CONDITIONALACCESS_ABORTED
|
||||
} BDA_CONDITIONALACCESS_SESSION_RESULT;
|
||||
|
||||
typedef
|
||||
#ifdef __WIDL__
|
||||
[v1_enum]
|
||||
#endif
|
||||
enum BDA_DISCOVERY_STATE {
|
||||
typedef enum BDA_DISCOVERY_STATE {
|
||||
BDA_DISCOVERY_UNSPECIFIED = 0,
|
||||
BDA_DISCOVERY_REQUIRED,
|
||||
BDA_DISCOVERY_COMPLETE
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/comadmin.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/comadmin.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -2092,6 +2092,8 @@ static FORCEINLINE HRESULT ICatalogCollection_PopulateByQuery(ICatalogCollection
|
||||
|
||||
#endif /* __ICatalogCollection_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __COMAdmin_LIBRARY_DEFINED__
|
||||
#define __COMAdmin_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_COMAdmin, 0xf618c513, 0xdfb8, 0x11d1, 0xa2,0xcf, 0x00,0x80,0x5f,0xc7,0x92,0x35);
|
||||
|
||||
@ -2172,6 +2174,7 @@ __CRT_UUID_DECL(COMAdminCatalogCollection, 0xf618c516, 0xdfb8, 0x11d1, 0xa2,0xcf
|
||||
|
||||
#define COMAdminCollectionPartitions ("Partitions")
|
||||
|
||||
#endif /* __COMAdmin_LIBRARY_DEFINED__ */
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/comcat.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/comcat.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/commoncontrols.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/commoncontrols.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -1114,6 +1114,8 @@ static FORCEINLINE HRESULT IImageList2_ReplaceFromImageList(IImageList2* This,in
|
||||
|
||||
#endif /* __IImageList2_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __CommonControlObjects_LIBRARY_DEFINED__
|
||||
#define __CommonControlObjects_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_CommonControlObjects, 0xbcada15b, 0xb428, 0x420c, 0x8d,0x28, 0x02,0x35,0x90,0x92,0x4c,0x9f);
|
||||
|
||||
@ -1130,6 +1132,7 @@ __CRT_UUID_DECL(ImageList, 0x7c476ba2, 0x02b1, 0x48f4, 0x80,0x48, 0xb2,0x46,0x19
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __CommonControlObjects_LIBRARY_DEFINED__ */
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
#define _INC_COMUTIL
|
||||
|
||||
#include <ole2.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifndef _COM_ASSERT
|
||||
#define _COM_ASSERT(x) ((void)0)
|
||||
|
||||
@ -39,7 +39,8 @@ extern "C" {
|
||||
__builtin_va_end(_ArgList);
|
||||
return _Ret;
|
||||
}
|
||||
__mingw_ovr int __cdecl _cscanf(const char * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
__mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
int __cdecl _cscanf(const char * __restrict__ _Format,...)
|
||||
{
|
||||
__builtin_va_list _ArgList;
|
||||
int _Ret;
|
||||
@ -48,7 +49,8 @@ extern "C" {
|
||||
__builtin_va_end(_ArgList);
|
||||
return _Ret;
|
||||
}
|
||||
__mingw_ovr int __cdecl _cscanf_l(const char * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
__mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
int __cdecl _cscanf_l(const char * __restrict__ _Format,_locale_t _Locale,...)
|
||||
{
|
||||
__builtin_va_list _ArgList;
|
||||
int _Ret;
|
||||
@ -122,10 +124,12 @@ extern "C" {
|
||||
|
||||
_CRTIMP int __cdecl _putch(int _Ch);
|
||||
_CRTIMP int __cdecl _ungetch(int _Ch);
|
||||
#if __MSVCRT_VERSION__ >= 0x800
|
||||
_CRTIMP int __cdecl _getch_nolock(void);
|
||||
_CRTIMP int __cdecl _getche_nolock(void);
|
||||
_CRTIMP int __cdecl _putch_nolock(int _Ch);
|
||||
_CRTIMP int __cdecl _ungetch_nolock(int _Ch);
|
||||
#endif
|
||||
|
||||
#ifndef _WCONIO_DEFINED
|
||||
#define _WCONIO_DEFINED
|
||||
@ -159,7 +163,8 @@ extern "C" {
|
||||
__builtin_va_end(_ArgList);
|
||||
return _Ret;
|
||||
}
|
||||
__mingw_ovr int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
__mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
int __cdecl _cwscanf(const wchar_t * __restrict__ _Format,...)
|
||||
{
|
||||
__builtin_va_list _ArgList;
|
||||
int _Ret;
|
||||
@ -168,7 +173,8 @@ extern "C" {
|
||||
__builtin_va_end(_ArgList);
|
||||
return _Ret;
|
||||
}
|
||||
__mingw_ovr int __cdecl _cwscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...) __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
__mingw_ovr __MINGW_ATTRIB_DEPRECATED_SEC_WARN
|
||||
int __cdecl _cwscanf_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...)
|
||||
{
|
||||
__builtin_va_list _ArgList;
|
||||
int _Ret;
|
||||
@ -228,11 +234,13 @@ extern "C" {
|
||||
_CRTIMP int __cdecl _cwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,...);
|
||||
_CRTIMP int __cdecl _vcwprintf_p_l(const wchar_t * __restrict__ _Format,_locale_t _Locale,va_list _ArgList);
|
||||
#endif
|
||||
#if __MSVCRT_VERSION__ >= 0x800
|
||||
_CRTIMP wint_t __cdecl _putwch_nolock(wchar_t _WCh);
|
||||
_CRTIMP wint_t __cdecl _getwch_nolock(void);
|
||||
_CRTIMP wint_t __cdecl _getwche_nolock(void);
|
||||
_CRTIMP wint_t __cdecl _ungetwch_nolock(wint_t _WCh);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef NO_OLDNAMES
|
||||
char *__cdecl cgets(char *_Buffer) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/control.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/control.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -123,6 +123,8 @@ typedef struct IPinInfo IPinInfo;
|
||||
#define __IAMStats_FWD_DEFINED__
|
||||
typedef struct IAMStats IAMStats;
|
||||
#endif
|
||||
#ifndef __QuartzTypeLib_LIBRARY_DEFINED__
|
||||
#define __QuartzTypeLib_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_QuartzTypeLib, 0x56a868b0, 0x0ad4, 0x11ce, 0xb0,0x3a, 0x00,0x20,0xaf,0x0b,0xa7,0x70);
|
||||
|
||||
@ -1600,6 +1602,7 @@ static FORCEINLINE HRESULT IMediaControl_StopWhenReady(IMediaControl* This) {
|
||||
HRESULT WINAPI IAMStats_AddValue_Proxy(IAMStats *This,__LONG32 lIndex,double dValue);
|
||||
void __RPC_STUB IAMStats_AddValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
|
||||
#endif
|
||||
#endif /* __QuartzTypeLib_LIBRARY_DEFINED__ */
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
|
||||
|
||||
@ -32,6 +32,8 @@ typedef int (__cdecl *_onexit_t)(void);
|
||||
_CRTIMP int __cdecl _initialize_onexit_table(_onexit_table_t*);
|
||||
_CRTIMP int __cdecl _register_onexit_function(_onexit_table_t*,_onexit_t);
|
||||
_CRTIMP int __cdecl _execute_onexit_table(_onexit_table_t*);
|
||||
_CRTIMP int __cdecl _crt_atexit(_PVFV func);
|
||||
_CRTIMP int __cdecl _crt_at_quick_exit(_PVFV func);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
@ -169,8 +169,10 @@ extern "C" {
|
||||
#define _wgetcwd_dbg(s,le,t,f,l) _wgetcwd(s,le)
|
||||
#define _getdcwd_dbg(d,s,le,t,f,l) _getdcwd(d,s,le)
|
||||
#define _wgetdcwd_dbg(d,s,le,t,f,l) _wgetdcwd(d,s,le)
|
||||
#if __MSVCRT_VERSION__ >= 0x800
|
||||
#define _getdcwd_lk_dbg(d,s,le,t,f,l) _getdcwd_nolock(d,s,le)
|
||||
#define _wgetdcwd_lk_dbg(d,s,le,t,f,l) _wgetdcwd_nolock(d,s,le)
|
||||
#endif
|
||||
|
||||
#define _CrtSetReportHook(f) ((_CRT_REPORT_HOOK)0)
|
||||
#define _CrtGetReportHook() ((_CRT_REPORT_HOOK)0)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/ctfutb.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/ctfutb.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -180,11 +180,13 @@ int __cdecl isblank(int _C);
|
||||
wint_t __cdecl towlower(wint_t _C);
|
||||
_CRTIMP wint_t __cdecl _towlower_l(wint_t _C,_locale_t _Locale);
|
||||
int __cdecl iswctype(wint_t _C,wctype_t _Type);
|
||||
#if __MSVCRT_VERSION__ >= 0x800
|
||||
_CRTIMP int __cdecl _iswctype_l(wint_t _C,wctype_t _Type,_locale_t _Locale);
|
||||
_CRTIMP int __cdecl __iswcsymf(wint_t _C);
|
||||
_CRTIMP int __cdecl _iswcsymf_l(wint_t _C,_locale_t _Locale);
|
||||
_CRTIMP int __cdecl __iswcsym(wint_t _C);
|
||||
_CRTIMP int __cdecl _iswcsym_l(wint_t _C,_locale_t _Locale);
|
||||
#endif
|
||||
#ifdef _CRT_USE_WINAPI_FAMILY_DESKTOP_APP
|
||||
int __cdecl is_wctype(wint_t _C,wctype_t _Type);
|
||||
#endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
|
||||
|
||||
@ -60,6 +60,31 @@ typedef enum D2D1_PROPERTY_TYPE {
|
||||
D2D1_PROPERTY_TYPE_FORCE_DWORD = 0xffffffff
|
||||
} D2D1_PROPERTY_TYPE;
|
||||
|
||||
typedef enum D2D1_PROPERTY {
|
||||
D2D1_PROPERTY_CLSID = 0x80000000,
|
||||
D2D1_PROPERTY_DISPLAYNAME = 0x80000001,
|
||||
D2D1_PROPERTY_AUTHOR = 0x80000002,
|
||||
D2D1_PROPERTY_CATEGORY = 0x80000003,
|
||||
D2D1_PROPERTY_DESCRIPTION = 0x80000004,
|
||||
D2D1_PROPERTY_INPUTS = 0x80000005,
|
||||
D2D1_PROPERTY_CACHED = 0x80000006,
|
||||
D2D1_PROPERTY_PRECISION = 0x80000007,
|
||||
D2D1_PROPERTY_MIN_INPUTS = 0x80000008,
|
||||
D2D1_PROPERTY_MAX_INPUTS = 0x80000009,
|
||||
D2D1_PROPERTY_FORCE_DWORD = 0xffffffff
|
||||
} D2D1_PROPERTY;
|
||||
|
||||
typedef enum D2D1_SUBPROPERTY {
|
||||
D2D1_SUBPROPERTY_DISPLAYNAME = 0x80000000,
|
||||
D2D1_SUBPROPERTY_ISREADONLY = 0x80000001,
|
||||
D2D1_SUBPROPERTY_MIN = 0x80000002,
|
||||
D2D1_SUBPROPERTY_MAX = 0x80000003,
|
||||
D2D1_SUBPROPERTY_DEFAULT = 0x80000004,
|
||||
D2D1_SUBPROPERTY_FIELDS = 0x80000005,
|
||||
D2D1_SUBPROPERTY_INDEX = 0x80000006,
|
||||
D2D1_SUBPROPERTY_FORCE_DWORD = 0xffffffff
|
||||
} D2D1_SUBPROPERTY;
|
||||
|
||||
typedef enum D2D1_CHANNEL_DEPTH {
|
||||
D2D1_CHANNEL_DEPTH_DEFAULT = 0,
|
||||
D2D1_CHANNEL_DEPTH_1 = 1,
|
||||
@ -154,6 +179,12 @@ typedef enum D2D1_PRIMITIVE_BLEND {
|
||||
D2D1_PRIMITIVE_BLEND_FORCE_DWORD = 0xffffffff
|
||||
} D2D1_PRIMITIVE_BLEND;
|
||||
|
||||
typedef enum D2D1_THREADING_MODE {
|
||||
D2D1_THREADING_MODE_SINGLE_THREADED = D2D1_FACTORY_TYPE_SINGLE_THREADED,
|
||||
D2D1_THREADING_MODE_MULTI_THREADED = D2D1_FACTORY_TYPE_MULTI_THREADED,
|
||||
D2D1_THREADING_MODE_FORCE_DWORD = 0xffffffff
|
||||
} D2D1_THREADING_MODE;
|
||||
|
||||
typedef enum D2D1_UNIT_MODE {
|
||||
D2D1_UNIT_MODE_DIPS = 0,
|
||||
D2D1_UNIT_MODE_PIXELS = 1,
|
||||
@ -243,6 +274,12 @@ typedef struct D2D1_PRINT_CONTROL_PROPERTIES {
|
||||
D2D1_COLOR_SPACE colorSpace;
|
||||
} D2D1_PRINT_CONTROL_PROPERTIES;
|
||||
|
||||
typedef struct D2D1_CREATION_PROPERTIES {
|
||||
D2D1_THREADING_MODE threadingMode;
|
||||
D2D1_DEBUG_LEVEL debugLevel;
|
||||
D2D1_DEVICE_CONTEXT_OPTIONS options;
|
||||
} D2D1_CREATION_PROPERTIES;
|
||||
|
||||
typedef struct D2D1_STROKE_STYLE_PROPERTIES1 {
|
||||
D2D1_CAP_STYLE startCap;
|
||||
D2D1_CAP_STYLE endCap;
|
||||
@ -579,6 +616,28 @@ ID2D1Bitmap1Vtbl;
|
||||
interface ID2D1Bitmap1 {
|
||||
const ID2D1Bitmap1Vtbl *lpVtbl;
|
||||
};
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define ID2D1Bitmap1_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ID2D1Bitmap1_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ID2D1Bitmap1_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ID2D1Resource methods ***/
|
||||
#define ID2D1Bitmap1_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory)
|
||||
/*** ID2D1Bitmap methods ***/
|
||||
#define ID2D1Bitmap1_GetSize(This) ID2D1Bitmap1_GetSize_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support
|
||||
#define ID2D1Bitmap1_GetPixelSize(This) ID2D1Bitmap1_GetPixelSize_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support
|
||||
#define ID2D1Bitmap1_GetPixelFormat(This) ID2D1Bitmap1_GetPixelFormat_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support
|
||||
#define ID2D1Bitmap1_GetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDpi(This,dpi_x,dpi_y)
|
||||
#define ID2D1Bitmap1_CopyFromBitmap(This,dst_point,bitmap,src_rect) (This)->lpVtbl->CopyFromBitmap(This,dst_point,bitmap,src_rect)
|
||||
#define ID2D1Bitmap1_CopyFromRenderTarget(This,dst_point,render_target,src_rect) (This)->lpVtbl->CopyFromRenderTarget(This,dst_point,render_target,src_rect)
|
||||
#define ID2D1Bitmap1_CopyFromMemory(This,dst_rect,src_data,pitch) (This)->lpVtbl->CopyFromMemory(This,dst_rect,src_data,pitch)
|
||||
/*** ID2D1Bitmap1 methods ***/
|
||||
#define ID2D1Bitmap1_GetColorContext(This,context) (This)->lpVtbl->GetColorContext(This,context)
|
||||
#define ID2D1Bitmap1_GetOptions(This) (This)->lpVtbl->GetOptions(This)
|
||||
#define ID2D1Bitmap1_GetSurface(This,surface) (This)->lpVtbl->GetSurface(This,surface)
|
||||
#define ID2D1Bitmap1_Map(This,options,mapped_rect) (This)->lpVtbl->Map(This,options,mapped_rect)
|
||||
#define ID2D1Bitmap1_Unmap(This) (This)->lpVtbl->Unmap(This)
|
||||
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(IID_ID2D1Bitmap1, 0xa898a84c,0x3873,0x4588,0xb0,0x8b,0xeb,0xbf,0x97,0x8d,0xf0,0x41);
|
||||
@ -1002,6 +1061,95 @@ interface ID2D1DeviceContext {
|
||||
const ID2D1DeviceContextVtbl *lpVtbl;
|
||||
};
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define ID2D1DeviceContext_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ID2D1DeviceContext_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ID2D1DeviceContext_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ID2D1Resource methods ***/
|
||||
#define ID2D1DeviceContext_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory)
|
||||
/*** ID2D1RenderTarget methods ***/
|
||||
#define ID2D1DeviceContext_CreateSharedBitmap(This,iid,data,desc,bitmap) (This)->lpVtbl->CreateSharedBitmap(This,iid,data,desc,bitmap)
|
||||
#define ID2D1DeviceContext_CreateSolidColorBrush(This,color,desc,brush) (This)->lpVtbl->CreateSolidColorBrush(This,color,desc,brush)
|
||||
#define ID2D1DeviceContext_CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush)
|
||||
#define ID2D1DeviceContext_CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradient_brush_desc,brush_desc,gradient,brush)
|
||||
#define ID2D1DeviceContext_CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target) (This)->lpVtbl->CreateCompatibleRenderTarget(This,size,pixel_size,format,options,render_target)
|
||||
#define ID2D1DeviceContext_CreateLayer(This,size,layer) (This)->lpVtbl->CreateLayer(This,size,layer)
|
||||
#define ID2D1DeviceContext_CreateMesh(This,mesh) (This)->lpVtbl->CreateMesh(This,mesh)
|
||||
#define ID2D1DeviceContext_DrawLine(This,p0,p1,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawLine(This,p0,p1,brush,stroke_width,stroke_style)
|
||||
#define ID2D1DeviceContext_DrawRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRectangle(This,rect,brush,stroke_width,stroke_style)
|
||||
#define ID2D1DeviceContext_FillRectangle(This,rect,brush) (This)->lpVtbl->FillRectangle(This,rect,brush)
|
||||
#define ID2D1DeviceContext_DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawRoundedRectangle(This,rect,brush,stroke_width,stroke_style)
|
||||
#define ID2D1DeviceContext_FillRoundedRectangle(This,rect,brush) (This)->lpVtbl->FillRoundedRectangle(This,rect,brush)
|
||||
#define ID2D1DeviceContext_DrawEllipse(This,ellipse,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawEllipse(This,ellipse,brush,stroke_width,stroke_style)
|
||||
#define ID2D1DeviceContext_FillEllipse(This,ellipse,brush) (This)->lpVtbl->FillEllipse(This,ellipse,brush)
|
||||
#define ID2D1DeviceContext_DrawGeometry(This,geometry,brush,stroke_width,stroke_style) (This)->lpVtbl->DrawGeometry(This,geometry,brush,stroke_width,stroke_style)
|
||||
#define ID2D1DeviceContext_FillGeometry(This,geometry,brush,opacity_brush) (This)->lpVtbl->FillGeometry(This,geometry,brush,opacity_brush)
|
||||
#define ID2D1DeviceContext_FillMesh(This,mesh,brush) (This)->lpVtbl->FillMesh(This,mesh,brush)
|
||||
#define ID2D1DeviceContext_DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode) (This)->lpVtbl->DrawText(This,string,string_len,text_format,layout_rect,brush,options,measuring_mode)
|
||||
#define ID2D1DeviceContext_DrawTextLayout(This,origin,layout,brush,options) (This)->lpVtbl->DrawTextLayout(This,origin,layout,brush,options)
|
||||
#define ID2D1DeviceContext_SetTransform(This,transform) (This)->lpVtbl->SetTransform(This,transform)
|
||||
#define ID2D1DeviceContext_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
|
||||
#define ID2D1DeviceContext_SetAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetAntialiasMode(This,antialias_mode)
|
||||
#define ID2D1DeviceContext_GetAntialiasMode(This) (This)->lpVtbl->GetAntialiasMode(This)
|
||||
#define ID2D1DeviceContext_SetTextAntialiasMode(This,antialias_mode) (This)->lpVtbl->SetTextAntialiasMode(This,antialias_mode)
|
||||
#define ID2D1DeviceContext_GetTextAntialiasMode(This) (This)->lpVtbl->GetTextAntialiasMode(This)
|
||||
#define ID2D1DeviceContext_SetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->SetTextRenderingParams(This,text_rendering_params)
|
||||
#define ID2D1DeviceContext_GetTextRenderingParams(This,text_rendering_params) (This)->lpVtbl->GetTextRenderingParams(This,text_rendering_params)
|
||||
#define ID2D1DeviceContext_SetTags(This,tag1,tag2) (This)->lpVtbl->SetTags(This,tag1,tag2)
|
||||
#define ID2D1DeviceContext_GetTags(This,tag1,tag2) (This)->lpVtbl->GetTags(This,tag1,tag2)
|
||||
#define ID2D1DeviceContext_PopLayer(This) (This)->lpVtbl->PopLayer(This)
|
||||
#define ID2D1DeviceContext_Flush(This,tag1,tag2) (This)->lpVtbl->Flush(This,tag1,tag2)
|
||||
#define ID2D1DeviceContext_SaveDrawingState(This,state_block) (This)->lpVtbl->SaveDrawingState(This,state_block)
|
||||
#define ID2D1DeviceContext_RestoreDrawingState(This,state_block) (This)->lpVtbl->RestoreDrawingState(This,state_block)
|
||||
#define ID2D1DeviceContext_PushAxisAlignedClip(This,clip_rect,antialias_mode) (This)->lpVtbl->PushAxisAlignedClip(This,clip_rect,antialias_mode)
|
||||
#define ID2D1DeviceContext_PopAxisAlignedClip(This) (This)->lpVtbl->PopAxisAlignedClip(This)
|
||||
#define ID2D1DeviceContext_Clear(This,color) (This)->lpVtbl->Clear(This,color)
|
||||
#define ID2D1DeviceContext_BeginDraw(This) (This)->lpVtbl->BeginDraw(This)
|
||||
#define ID2D1DeviceContext_EndDraw(This,tag1,tag2) (This)->lpVtbl->EndDraw(This,tag1,tag2)
|
||||
#define ID2D1DeviceContext_GetPixelFormat(This) ID2D1DeviceContext_GetPixelFormat_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support
|
||||
#define ID2D1DeviceContext_SetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->SetDpi(This,dpi_x,dpi_y)
|
||||
#define ID2D1DeviceContext_GetDpi(This,dpi_x,dpi_y) (This)->lpVtbl->GetDpi(This,dpi_x,dpi_y)
|
||||
#define ID2D1DeviceContext_GetSize(This) ID2D1DeviceContext_GetSize_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support
|
||||
#define ID2D1DeviceContext_GetPixelSize(This) ID2D1DeviceContext_GetPixelSize_define_WIDL_C_INLINE_WRAPPERS_for_aggregate_return_support
|
||||
#define ID2D1DeviceContext_GetMaximumBitmapSize(This) (This)->lpVtbl->GetMaximumBitmapSize(This)
|
||||
#define ID2D1DeviceContext_IsSupported(This,desc) (This)->lpVtbl->IsSupported(This,desc)
|
||||
/*** ID2D1DeviceContext methods ***/
|
||||
#define ID2D1DeviceContext_CreateBitmap(This,size,src_data,pitch,desc,bitmap) (This)->lpVtbl->ID2D1DeviceContext_CreateBitmap(This,size,src_data,pitch,desc,bitmap)
|
||||
#define ID2D1DeviceContext_CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap) (This)->lpVtbl->ID2D1DeviceContext_CreateBitmapFromWicBitmap(This,bitmap_source,desc,bitmap)
|
||||
#define ID2D1DeviceContext_CreateColorContext(This,space,profile,profile_size,color_context) (This)->lpVtbl->CreateColorContext(This,space,profile,profile_size,color_context)
|
||||
#define ID2D1DeviceContext_CreateColorContextFromFilename(This,filename,color_context) (This)->lpVtbl->CreateColorContextFromFilename(This,filename,color_context)
|
||||
#define ID2D1DeviceContext_CreateColorContextFromWicColorContext(This,wic_color_context,color_context) (This)->lpVtbl->CreateColorContextFromWicColorContext(This,wic_color_context,color_context)
|
||||
#define ID2D1DeviceContext_CreateBitmapFromDxgiSurface(This,surface,desc,bitmap) (This)->lpVtbl->CreateBitmapFromDxgiSurface(This,surface,desc,bitmap)
|
||||
#define ID2D1DeviceContext_CreateEffect(This,effect_id,effect) (This)->lpVtbl->CreateEffect(This,effect_id,effect)
|
||||
#define ID2D1DeviceContext_CreateGradientStopCollection(This,stops,stop_count,preinterpolation_space,postinterpolation_space,buffer_precision,extend_mode,color_interpolation_mode,gradient) (This)->lpVtbl->ID2D1DeviceContext_CreateGradientStopCollection(This,stops,stop_count,preinterpolation_space,postinterpolation_space,buffer_precision,extend_mode,color_interpolation_mode,gradient)
|
||||
#define ID2D1DeviceContext_CreateImageBrush(This,image,image_brush_desc,brush_desc,brush) (This)->lpVtbl->CreateImageBrush(This,image,image_brush_desc,brush_desc,brush)
|
||||
#define ID2D1DeviceContext_CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,bitmap_brush) (This)->lpVtbl->ID2D1DeviceContext_CreateBitmapBrush(This,bitmap,bitmap_brush_desc,brush_desc,bitmap_brush)
|
||||
#define ID2D1DeviceContext_CreateCommandList(This,command_list) (This)->lpVtbl->CreateCommandList(This,command_list)
|
||||
#define ID2D1DeviceContext_IsDxgiFormatSupported(This,format) (This)->lpVtbl->IsDxgiFormatSupported(This,format)
|
||||
#define ID2D1DeviceContext_IsBufferPrecisionSupported(This,buffer_precision) (This)->lpVtbl->IsBufferPrecisionSupported(This,buffer_precision)
|
||||
#define ID2D1DeviceContext_GetImageLocalBounds(This,image,local_bounds) (This)->lpVtbl->GetImageLocalBounds(This,image,local_bounds)
|
||||
#define ID2D1DeviceContext_GetImageWorldBounds(This,image,world_bounds) (This)->lpVtbl->GetImageWorldBounds(This,image,world_bounds)
|
||||
#define ID2D1DeviceContext_GetGlyphRunWorldBounds(This,baseline_origin,glyph_run,measuring_mode,bounds) (This)->lpVtbl->GetGlyphRunWorldBounds(This,baseline_origin,glyph_run,measuring_mode,bounds)
|
||||
#define ID2D1DeviceContext_GetDevice(This,device) (This)->lpVtbl->GetDevice(This,device)
|
||||
#define ID2D1DeviceContext_SetTarget(This,target) (This)->lpVtbl->SetTarget(This,target)
|
||||
#define ID2D1DeviceContext_GetTarget(This,target) (This)->lpVtbl->GetTarget(This,target)
|
||||
#define ID2D1DeviceContext_SetRenderingControls(This,rendering_controls) (This)->lpVtbl->SetRenderingControls(This,rendering_controls)
|
||||
#define ID2D1DeviceContext_GetRenderingControls(This,rendering_controls) (This)->lpVtbl->GetRenderingControls(This,rendering_controls)
|
||||
#define ID2D1DeviceContext_SetPrimitiveBlend(This,primitive_blend) (This)->lpVtbl->SetPrimitiveBlend(This,primitive_blend)
|
||||
#define ID2D1DeviceContext_GetPrimitiveBlend(This) (This)->lpVtbl->GetPrimitiveBlend(This)
|
||||
#define ID2D1DeviceContext_SetUnitMode(This,unit_mode) (This)->lpVtbl->SetUnitMode(This,unit_mode)
|
||||
#define ID2D1DeviceContext_GetUnitMode(This) (This)->lpVtbl->GetUnitMode(This)
|
||||
#define ID2D1DeviceContext_DrawGlyphRun(This,baseline_origin,glyph_run,glyph_run_desc,brush,measuring_mode) (This)->lpVtbl->ID2D1DeviceContext_DrawGlyphRun(This,baseline_origin,glyph_run,glyph_run_desc,brush,measuring_mode)
|
||||
#define ID2D1DeviceContext_DrawImage(This,image,target_offset,image_rect,interpolation_mode,composite_mode) (This)->lpVtbl->DrawImage(This,image,target_offset,image_rect,interpolation_mode,composite_mode)
|
||||
#define ID2D1DeviceContext_DrawGdiMetafile(This,metafile,target_offset) (This)->lpVtbl->DrawGdiMetafile(This,metafile,target_offset)
|
||||
#define ID2D1DeviceContext_DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect,perspective_transform) (This)->lpVtbl->ID2D1DeviceContext_DrawBitmap(This,bitmap,dst_rect,opacity,interpolation_mode,src_rect,perspective_transform)
|
||||
#define ID2D1DeviceContext_PushLayer(This,layer_parameters,layer) (This)->lpVtbl->ID2D1DeviceContext_PushLayer(This,layer_parameters,layer)
|
||||
#define ID2D1DeviceContext_InvalidateEffectInputRectangle(This,effect,input,input_rect) (This)->lpVtbl->InvalidateEffectInputRectangle(This,effect,input,input_rect)
|
||||
#define ID2D1DeviceContext_GetEffectInvalidRectangleCount(This,effect,rect_count) (This)->lpVtbl->GetEffectInvalidRectangleCount(This,effect,rect_count)
|
||||
#define ID2D1DeviceContext_GetEffectInvalidRectangles(This,effect,rectangles,rect_count) (This)->lpVtbl->GetEffectInvalidRectangles(This,effect,rectangles,rect_count)
|
||||
#define ID2D1DeviceContext_GetEffectRequiredInputRectangles(This,effect,image_rect,desc,input_rect,input_count) (This)->lpVtbl->GetEffectRequiredInputRectangles(This,effect,image_rect,desc,input_rect,input_count)
|
||||
#define ID2D1DeviceContext_FillOpacityMask(This,mask,brush,dst_rect,src_rect) (This)->lpVtbl->ID2D1DeviceContext_FillOpacityMask(This,mask,brush,dst_rect,src_rect)
|
||||
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(IID_ID2D1DeviceContext, 0xe8f7fe7a,0x191c,0x466d,0xad,0x95,0x97,0x56,0x78,0xbd,0xa9,0x98);
|
||||
@ -1051,6 +1199,19 @@ interface ID2D1Device {
|
||||
const ID2D1DeviceVtbl *lpVtbl;
|
||||
};
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
#define ID2D1Device_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ID2D1Device_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ID2D1Device_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ID2D1Resource methods ***/
|
||||
#define ID2D1Device_GetFactory(This,factory) (This)->lpVtbl->GetFactory(This,factory)
|
||||
/*** ID2D1Device methods ***/
|
||||
#define ID2D1Device_CreateDeviceContext(This,options,context) (This)->lpVtbl->CreateDeviceContext(This,options,context)
|
||||
#define ID2D1Device_CreatePrintControl(This,wic_factory,document_target,desc,print_control) (This)->lpVtbl->CreatePrintControl(This,wic_factory,document_target,desc,print_control)
|
||||
#define ID2D1Device_SetMaximumTextureMemory(This,max_texture_memory) (This)->lpVtbl->SetMaximumTextureMemory(This,max_texture_memory)
|
||||
#define ID2D1Device_GetMaximumTextureMemory(This) (This)->lpVtbl->GetMaximumTextureMemory(This)
|
||||
#define ID2D1Device_ClearResources(This,msec_since_use) (This)->lpVtbl->ClearResources(This,msec_since_use)
|
||||
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(IID_ID2D1Device, 0x47dd575d,0xac05,0x4cdd,0x80,0x49,0x9b,0x02,0xcd,0x16,0xf4,0x4c);
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d10.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d10.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -1232,6 +1232,9 @@ typedef enum D3D10_RESOURCE_MISC_FLAG {
|
||||
typedef enum D3D10_MAP_FLAG {
|
||||
D3D10_MAP_FLAG_DO_NOT_WAIT = 0x100000
|
||||
} D3D10_MAP_FLAG;
|
||||
typedef enum D3D10_RAISE_FLAG {
|
||||
D3D10_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1
|
||||
} D3D10_RAISE_FLAG;
|
||||
typedef enum D3D10_CLEAR_FLAG {
|
||||
D3D10_CLEAR_DEPTH = 0x1,
|
||||
D3D10_CLEAR_STENCIL = 0x2
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d10_1.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d10_1.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d10sdklayers.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d10sdklayers.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d11.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d11.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -1105,7 +1105,8 @@ typedef enum D3D11_FEATURE {
|
||||
D3D11_FEATURE_D3D11_OPTIONS3 = 15,
|
||||
D3D11_FEATURE_GPU_VIRTUAL_ADDRESS_SUPPORT = 16,
|
||||
D3D11_FEATURE_D3D11_OPTIONS4 = 17,
|
||||
D3D11_FEATURE_SHADER_CACHE = 18
|
||||
D3D11_FEATURE_SHADER_CACHE = 18,
|
||||
D3D11_FEATURE_D3D11_OPTIONS5 = 19
|
||||
} D3D11_FEATURE;
|
||||
typedef struct D3D11_FEATURE_DATA_THREADING {
|
||||
WINBOOL DriverConcurrentCreates;
|
||||
@ -1213,6 +1214,15 @@ typedef enum D3D11_SHADER_CACHE_SUPPORT_FLAGS {
|
||||
typedef struct D3D11_FEATURE_DATA_SHADER_CACHE {
|
||||
UINT SupportFlags;
|
||||
} D3D11_FEATURE_DATA_SHADER_CACHE;
|
||||
typedef enum D3D11_SHARED_RESOURCE_TIER {
|
||||
D3D11_SHARED_RESOURCE_TIER_0 = 0,
|
||||
D3D11_SHARED_RESOURCE_TIER_1 = 1,
|
||||
D3D11_SHARED_RESOURCE_TIER_2 = 2,
|
||||
D3D11_SHARED_RESOURCE_TIER_3 = 3
|
||||
} D3D11_SHARED_RESOURCE_TIER;
|
||||
typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS5 {
|
||||
D3D11_SHARED_RESOURCE_TIER SharedResourceTier;
|
||||
} D3D11_FEATURE_DATA_D3D11_OPTIONS5;
|
||||
typedef enum D3D11_FILL_MODE {
|
||||
D3D11_FILL_WIREFRAME = 2,
|
||||
D3D11_FILL_SOLID = 3
|
||||
@ -1329,6 +1339,9 @@ typedef enum D3D11_MAP {
|
||||
typedef enum D3D11_MAP_FLAG {
|
||||
D3D11_MAP_FLAG_DO_NOT_WAIT = 0x100000
|
||||
} D3D11_MAP_FLAG;
|
||||
typedef enum D3D11_RAISE_FLAG {
|
||||
D3D11_RAISE_FLAG_DRIVER_INTERNAL_ERROR = 0x1
|
||||
} D3D11_RAISE_FLAG;
|
||||
typedef struct D3D11_QUERY_DATA_SO_STATISTICS {
|
||||
UINT64 NumPrimitivesWritten;
|
||||
UINT64 PrimitivesStorageNeeded;
|
||||
@ -1704,6 +1717,20 @@ typedef enum D3D11_FORMAT_SUPPORT {
|
||||
D3D11_FORMAT_SUPPORT_VIDEO_PROCESSOR_INPUT = 0x20000000,
|
||||
D3D11_FORMAT_SUPPORT_VIDEO_ENCODER = 0x40000000
|
||||
} D3D11_FORMAT_SUPPORT;
|
||||
typedef enum D3D11_FORMAT_SUPPORT2 {
|
||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1,
|
||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_BITWISE_OPS = 0x2,
|
||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_COMPARE_STORE_OR_COMPARE_EXCHANGE = 0x4,
|
||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_EXCHANGE = 0x8,
|
||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_SIGNED_MIN_OR_MAX = 0x10,
|
||||
D3D11_FORMAT_SUPPORT2_UAV_ATOMIC_UNSIGNED_MIN_OR_MAX = 0x20,
|
||||
D3D11_FORMAT_SUPPORT2_UAV_TYPED_LOAD = 0x40,
|
||||
D3D11_FORMAT_SUPPORT2_UAV_TYPED_STORE = 0x80,
|
||||
D3D11_FORMAT_SUPPORT2_OUTPUT_MERGER_LOGIC_OP = 0x100,
|
||||
D3D11_FORMAT_SUPPORT2_TILED = 0x200,
|
||||
D3D11_FORMAT_SUPPORT2_SHAREABLE = 0x400,
|
||||
D3D11_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000
|
||||
} D3D11_FORMAT_SUPPORT2;
|
||||
typedef enum D3D11_CLEAR_FLAG {
|
||||
D3D11_CLEAR_DEPTH = 0x1,
|
||||
D3D11_CLEAR_STENCIL = 0x2
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d11_1.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d11_1.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,547 +0,0 @@
|
||||
/*
|
||||
* Copyright 2014 Jacek Caban for CodeWeavers
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
import "dxgi1_2.idl";
|
||||
import "d3dcommon.idl";
|
||||
import "d3d11.idl";
|
||||
|
||||
typedef enum D3D11_LOGIC_OP
|
||||
{
|
||||
D3D11_LOGIC_OP_CLEAR = 0,
|
||||
D3D11_LOGIC_OP_SET,
|
||||
D3D11_LOGIC_OP_COPY,
|
||||
D3D11_LOGIC_OP_COPY_INVERTED,
|
||||
D3D11_LOGIC_OP_NOOP,
|
||||
D3D11_LOGIC_OP_INVERT,
|
||||
D3D11_LOGIC_OP_AND,
|
||||
D3D11_LOGIC_OP_NAND,
|
||||
D3D11_LOGIC_OP_OR,
|
||||
D3D11_LOGIC_OP_NOR,
|
||||
D3D11_LOGIC_OP_XOR,
|
||||
D3D11_LOGIC_OP_EQUIV,
|
||||
D3D11_LOGIC_OP_AND_REVERSE,
|
||||
D3D11_LOGIC_OP_AND_INVERTED,
|
||||
D3D11_LOGIC_OP_OR_REVERSE,
|
||||
D3D11_LOGIC_OP_OR_INVERTED
|
||||
} D3D11_LOGIC_OP;
|
||||
|
||||
typedef enum D3D11_COPY_FLAGS
|
||||
{
|
||||
D3D11_COPY_NO_OVERWRITE = 0x00000001,
|
||||
D3D11_COPY_DISCARD = 0x00000002,
|
||||
} D3D11_COPY_FLAGS;
|
||||
|
||||
typedef enum D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG
|
||||
{
|
||||
D3D11_1_CREATE_DEVICE_CONTEXT_STATE_SINGLETHREADED = 0x1,
|
||||
} D3D11_1_CREATE_DEVICE_CONTEXT_STATE_FLAG;
|
||||
|
||||
typedef enum D3D11_VIDEO_DECODER_CAPS
|
||||
{
|
||||
D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE = 0x01,
|
||||
D3D11_VIDEO_DECODER_CAPS_NON_REAL_TIME = 0x02,
|
||||
D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_DYNAMIC = 0x04,
|
||||
D3D11_VIDEO_DECODER_CAPS_DOWNSAMPLE_REQUIRED = 0x08,
|
||||
D3D11_VIDEO_DECODER_CAPS_UNSUPPORTED = 0x10,
|
||||
} D3D11_VIDEO_DECODER_CAPS;
|
||||
|
||||
typedef enum D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS
|
||||
{
|
||||
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_ROTATION = 0x01,
|
||||
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_RESIZE = 0x02,
|
||||
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_MULTIPLANE_OVERLAY_COLOR_SPACE_CONVERSION = 0x04,
|
||||
D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINT_TRIPLE_BUFFER_OUTPUT = 0x08,
|
||||
} D3D11_VIDEO_PROCESSOR_BEHAVIOR_HINTS;
|
||||
|
||||
typedef enum D3D11_CRYPTO_SESSION_STATUS
|
||||
{
|
||||
D3D11_CRYPTO_SESSION_STATUS_OK = 0x0,
|
||||
D3D11_CRYPTO_SESSION_STATUS_KEY_LOST = 0x1,
|
||||
D3D11_CRYPTO_SESSION_STATUS_KEY_AND_CONTENT_LOST = 0x2,
|
||||
} D3D11_CRYPTO_SESSION_STATUS;
|
||||
|
||||
typedef struct D3D11_RENDER_TARGET_BLEND_DESC1
|
||||
{
|
||||
BOOL BlendEnable;
|
||||
BOOL LogicOpEnable;
|
||||
D3D11_BLEND SrcBlend;
|
||||
D3D11_BLEND DestBlend;
|
||||
D3D11_BLEND_OP BlendOp;
|
||||
D3D11_BLEND SrcBlendAlpha;
|
||||
D3D11_BLEND DestBlendAlpha;
|
||||
D3D11_BLEND_OP BlendOpAlpha;
|
||||
D3D11_LOGIC_OP LogicOp;
|
||||
UINT8 RenderTargetWriteMask;
|
||||
} D3D11_RENDER_TARGET_BLEND_DESC1;
|
||||
|
||||
typedef struct D3D11_BLEND_DESC1
|
||||
{
|
||||
BOOL AlphaToCoverageEnable;
|
||||
BOOL IndependentBlendEnable;
|
||||
D3D11_RENDER_TARGET_BLEND_DESC1 RenderTarget[D3D11_SIMULTANEOUS_RENDER_TARGET_COUNT];
|
||||
} D3D11_BLEND_DESC1;
|
||||
|
||||
typedef struct D3D11_RASTERIZER_DESC1
|
||||
{
|
||||
D3D11_FILL_MODE FillMode;
|
||||
D3D11_CULL_MODE CullMode;
|
||||
BOOL FrontCounterClockwise;
|
||||
INT DepthBias;
|
||||
FLOAT DepthBiasClamp;
|
||||
FLOAT SlopeScaledDepthBias;
|
||||
BOOL DepthClipEnable;
|
||||
BOOL ScissorEnable;
|
||||
BOOL MultisampleEnable;
|
||||
BOOL AntialiasedLineEnable;
|
||||
UINT ForcedSampleCount;
|
||||
} D3D11_RASTERIZER_DESC1;
|
||||
|
||||
typedef struct D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK
|
||||
{
|
||||
UINT ClearSize;
|
||||
UINT EncryptedSize;
|
||||
} D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK;
|
||||
|
||||
typedef struct D3D11_VIDEO_DECODER_BUFFER_DESC1
|
||||
{
|
||||
D3D11_VIDEO_DECODER_BUFFER_TYPE BufferType;
|
||||
UINT DataOffset;
|
||||
UINT DataSize;
|
||||
void *pIV;
|
||||
UINT IVSize;
|
||||
D3D11_VIDEO_DECODER_SUB_SAMPLE_MAPPING_BLOCK *pSubSampleMappingBlock;
|
||||
UINT SubSampleMappingCount;
|
||||
} D3D11_VIDEO_DECODER_BUFFER_DESC1;
|
||||
|
||||
typedef struct D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION
|
||||
{
|
||||
ID3D11CryptoSession *pCryptoSession;
|
||||
UINT BlobSize;
|
||||
void *pBlob;
|
||||
GUID *pKeyInfoId;
|
||||
UINT PrivateDataSize;
|
||||
void *pPrivateData;
|
||||
} D3D11_VIDEO_DECODER_BEGIN_FRAME_CRYPTO_SESSION;
|
||||
|
||||
typedef struct D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT
|
||||
{
|
||||
BOOL Enable;
|
||||
UINT Width;
|
||||
UINT Height;
|
||||
DXGI_FORMAT Format;
|
||||
} D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT;
|
||||
|
||||
typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA
|
||||
{
|
||||
UINT PrivateDataSize;
|
||||
UINT HWProtectionDataSize;
|
||||
BYTE pbInput[4];
|
||||
} D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA;
|
||||
|
||||
typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA
|
||||
{
|
||||
UINT PrivateDataSize;
|
||||
UINT MaxHWProtectionDataSize;
|
||||
UINT HWProtectionDataSize;
|
||||
UINT64 TransportTime;
|
||||
UINT64 ExecutionTime;
|
||||
BYTE pbOutput[4];
|
||||
} D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA;
|
||||
|
||||
typedef struct D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA
|
||||
{
|
||||
UINT HWProtectionFunctionID;
|
||||
D3D11_KEY_EXCHANGE_HW_PROTECTION_INPUT_DATA *pInputData;
|
||||
D3D11_KEY_EXCHANGE_HW_PROTECTION_OUTPUT_DATA *pOutputData;
|
||||
HRESULT Status;
|
||||
} D3D11_KEY_EXCHANGE_HW_PROTECTION_DATA;
|
||||
|
||||
typedef struct D3D11_VIDEO_SAMPLE_DESC
|
||||
{
|
||||
UINT Width;
|
||||
UINT Height;
|
||||
DXGI_FORMAT Format;
|
||||
DXGI_COLOR_SPACE_TYPE ColorSpace;
|
||||
} D3D11_VIDEO_SAMPLE_DESC;
|
||||
|
||||
[
|
||||
uuid(cc86fabe-da55-401d-85e7-e3c9de2877e9),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11BlendState1 : ID3D11BlendState
|
||||
{
|
||||
void GetDesc1(D3D11_BLEND_DESC1 *pDesc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(5c1e0d8a-7c23-48f9-8c59-a92958ceff11),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3DDeviceContextState : ID3D11DeviceChild
|
||||
{
|
||||
}
|
||||
|
||||
[
|
||||
uuid(bb2c6faa-b5fb-4082-8e6b-388b8cfa90e1),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11DeviceContext1 : ID3D11DeviceContext
|
||||
{
|
||||
void CopySubresourceRegion1(
|
||||
ID3D11Resource *pDstResource,
|
||||
UINT DstSubresource,
|
||||
UINT DstX,
|
||||
UINT DstY,
|
||||
UINT DstZ,
|
||||
ID3D11Resource *pSrcResource,
|
||||
UINT SrcSubresource,
|
||||
const D3D11_BOX *pSrcBox,
|
||||
UINT CopyFlags);
|
||||
|
||||
void UpdateSubresource1(
|
||||
ID3D11Resource *pDstResource,
|
||||
UINT DstSubresource,
|
||||
const D3D11_BOX *pDstBox,
|
||||
const void *pSrcData,
|
||||
UINT SrcRowPitch,
|
||||
UINT SrcDepthPitch,
|
||||
UINT CopyFlags);
|
||||
|
||||
void DiscardResource(ID3D11Resource *pResource);
|
||||
|
||||
void DiscardView(ID3D11View *pResourceView);
|
||||
|
||||
void VSSetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer *const *ppConstantBuffers,
|
||||
const UINT *pFirstConstant,
|
||||
const UINT *pNumConstants);
|
||||
|
||||
void HSSetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer *const *ppConstantBuffers,
|
||||
const UINT *pFirstConstant,
|
||||
const UINT *pNumConstants);
|
||||
|
||||
void DSSetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer *const *ppConstantBuffers,
|
||||
const UINT *pFirstConstant,
|
||||
const UINT *pNumConstants);
|
||||
|
||||
void GSSetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer *const *ppConstantBuffers,
|
||||
const UINT *pFirstConstant,
|
||||
const UINT *pNumConstants);
|
||||
|
||||
void PSSetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer *const *ppConstantBuffers,
|
||||
const UINT *pFirstConstant,
|
||||
const UINT *pNumConstants);
|
||||
|
||||
void CSSetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer *const *ppConstantBuffers,
|
||||
const UINT *pFirstConstant,
|
||||
const UINT *pNumConstants);
|
||||
|
||||
void VSGetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer **ppConstantBuffers,
|
||||
UINT *pFirstConstant,
|
||||
UINT *pNumConstants);
|
||||
|
||||
void HSGetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer **ppConstantBuffers,
|
||||
UINT *pFirstConstant,
|
||||
UINT *pNumConstants);
|
||||
|
||||
void DSGetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer **ppConstantBuffers,
|
||||
UINT *pFirstConstant,
|
||||
UINT *pNumConstants);
|
||||
|
||||
void GSGetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer **ppConstantBuffers,
|
||||
UINT *pFirstConstant,
|
||||
UINT *pNumConstants);
|
||||
|
||||
void PSGetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer **ppConstantBuffers,
|
||||
UINT *pFirstConstant,
|
||||
UINT *pNumConstants);
|
||||
|
||||
void CSGetConstantBuffers1(
|
||||
UINT StartSlot,
|
||||
UINT NumBuffers,
|
||||
ID3D11Buffer **ppConstantBuffers,
|
||||
UINT *pFirstConstant,
|
||||
UINT *pNumConstants);
|
||||
|
||||
void SwapDeviceContextState(
|
||||
ID3DDeviceContextState *pState,
|
||||
ID3DDeviceContextState **ppPreviousState);
|
||||
|
||||
void ClearView(
|
||||
ID3D11View *pView,
|
||||
const FLOAT Color[4],
|
||||
const D3D11_RECT *pRect,
|
||||
UINT NumRects);
|
||||
|
||||
void DiscardView1(
|
||||
ID3D11View *pResourceView,
|
||||
const D3D11_RECT *pRects,
|
||||
UINT NumRects);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(a7f026da-a5f8-4487-a564-15e34357651e),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11VideoContext1 : ID3D11VideoContext
|
||||
{
|
||||
HRESULT SubmitDecoderBuffers1(
|
||||
ID3D11VideoDecoder *decoder,
|
||||
UINT buffer_count,
|
||||
const D3D11_VIDEO_DECODER_BUFFER_DESC1 *buffer_desc
|
||||
);
|
||||
HRESULT GetDataForNewHardwareKey(
|
||||
ID3D11CryptoSession *session,
|
||||
UINT input_size,
|
||||
const void *input_data,
|
||||
UINT64 *output_data
|
||||
);
|
||||
HRESULT CheckCryptoSessionStatus(
|
||||
ID3D11CryptoSession *session,
|
||||
D3D11_CRYPTO_SESSION_STATUS *status
|
||||
);
|
||||
HRESULT DecoderEnableDownsampling(
|
||||
ID3D11VideoDecoder *decoder,
|
||||
DXGI_COLOR_SPACE_TYPE colour_space,
|
||||
const D3D11_VIDEO_SAMPLE_DESC *output_desc,
|
||||
UINT reference_frame_count
|
||||
);
|
||||
HRESULT DecoderUpdateDownsampling(
|
||||
ID3D11VideoDecoder *decoder,
|
||||
const D3D11_VIDEO_SAMPLE_DESC *output_desc
|
||||
);
|
||||
void VideoProcessorSetOutputColorSpace1(
|
||||
ID3D11VideoProcessor *processor,
|
||||
DXGI_COLOR_SPACE_TYPE colour_space
|
||||
);
|
||||
void VideoProcessorSetOutputShaderUsage(
|
||||
ID3D11VideoProcessor *processor,
|
||||
BOOL shader_usage
|
||||
);
|
||||
void VideoProcessorGetOutputColorSpace1(
|
||||
ID3D11VideoProcessor *processor,
|
||||
DXGI_COLOR_SPACE_TYPE *colour_space
|
||||
);
|
||||
void VideoProcessorGetOutputShaderUsage(
|
||||
ID3D11VideoProcessor *processor,
|
||||
BOOL *shader_usage
|
||||
);
|
||||
void VideoProcessorSetStreamColorSpace1(
|
||||
ID3D11VideoProcessor *processor,
|
||||
UINT stream_index,
|
||||
DXGI_COLOR_SPACE_TYPE colour_space
|
||||
);
|
||||
void VideoProcessorSetStreamMirror(
|
||||
ID3D11VideoProcessor *processor,
|
||||
UINT stream_index,
|
||||
BOOL enable,
|
||||
BOOL flip_horizontal,
|
||||
BOOL flip_vertical
|
||||
);
|
||||
void VideoProcessorGetStreamColorSpace1(
|
||||
ID3D11VideoProcessor *processor,
|
||||
UINT stream_index,
|
||||
DXGI_COLOR_SPACE_TYPE *colour_space
|
||||
);
|
||||
void VideoProcessorGetStreamMirror(
|
||||
ID3D11VideoProcessor *processor,
|
||||
UINT stream_index,
|
||||
BOOL *enable,
|
||||
BOOL *flip_horizontal,
|
||||
BOOL *flip_vertical
|
||||
);
|
||||
HRESULT VideoProcessorGetBehaviorHints(
|
||||
ID3D11VideoProcessor *processor,
|
||||
UINT output_width,
|
||||
UINT output_height,
|
||||
DXGI_FORMAT output_format,
|
||||
UINT stream_count,
|
||||
const D3D11_VIDEO_PROCESSOR_STREAM_BEHAVIOR_HINT *streams,
|
||||
UINT *behaviour_hints
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(29da1d51-1321-4454-804b-f5fc9f861f0f),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11VideoDevice1 : ID3D11VideoDevice
|
||||
{
|
||||
HRESULT GetCryptoSessionPrivateDataSize(
|
||||
const GUID *crypto_type,
|
||||
const GUID *decoder_profile,
|
||||
const GUID *key_exchange_type,
|
||||
UINT *input_size,
|
||||
UINT *output_size
|
||||
);
|
||||
HRESULT GetVideoDecoderCaps(
|
||||
const GUID *decoder_profile,
|
||||
UINT sample_width,
|
||||
UINT sample_height,
|
||||
const DXGI_RATIONAL *framerate,
|
||||
UINT bitrate,
|
||||
const GUID *crypto_type,
|
||||
UINT *decoder_caps
|
||||
);
|
||||
HRESULT CheckVideoDecoderDownsampling(
|
||||
const D3D11_VIDEO_DECODER_DESC *input_desc,
|
||||
DXGI_COLOR_SPACE_TYPE input_colour_space,
|
||||
const D3D11_VIDEO_DECODER_CONFIG *input_config,
|
||||
const DXGI_RATIONAL *framerate,
|
||||
const D3D11_VIDEO_SAMPLE_DESC *output_desc,
|
||||
BOOL *supported,
|
||||
BOOL *real_time_hint
|
||||
);
|
||||
HRESULT RecommendVideoDecoderDownsampleParameters(
|
||||
const D3D11_VIDEO_DECODER_DESC *input_desc,
|
||||
DXGI_COLOR_SPACE_TYPE input_colour_space,
|
||||
const D3D11_VIDEO_DECODER_CONFIG *input_config,
|
||||
const DXGI_RATIONAL *framerate,
|
||||
D3D11_VIDEO_SAMPLE_DESC *recommended_output_desc
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(465217f2-5568-43cf-b5b9-f61d54531ca1),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11VideoProcessorEnumerator1 : ID3D11VideoProcessorEnumerator
|
||||
{
|
||||
HRESULT CheckVideoProcessorFormatConversion(
|
||||
DXGI_FORMAT input_format,
|
||||
DXGI_COLOR_SPACE_TYPE input_colour_space,
|
||||
DXGI_FORMAT output_format,
|
||||
DXGI_COLOR_SPACE_TYPE output_colour_space,
|
||||
BOOL *supported
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(b2daad8b-03d4-4dbf-95eb-32ab4b63d0ab),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3DUserDefinedAnnotation : IUnknown
|
||||
{
|
||||
INT BeginEvent(LPCWSTR Name);
|
||||
INT EndEvent();
|
||||
void SetMarker(LPCWSTR Name);
|
||||
BOOL GetStatus();
|
||||
}
|
||||
|
||||
[
|
||||
uuid(1217d7a6-5039-418c-b042-9cbe256afd6e),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11RasterizerState1 : ID3D11RasterizerState
|
||||
{
|
||||
void GetDesc1(D3D11_RASTERIZER_DESC1 *pDesc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(a04bfb29-08ef-43d6-a49c-a9bdbdcbe686),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Device1 : ID3D11Device
|
||||
{
|
||||
void GetImmediateContext1(
|
||||
ID3D11DeviceContext1 **ppImmediateContext);
|
||||
|
||||
HRESULT CreateDeferredContext1(
|
||||
UINT ContextFlags,
|
||||
ID3D11DeviceContext1 **ppDeferredContext);
|
||||
|
||||
HRESULT CreateBlendState1(
|
||||
const D3D11_BLEND_DESC1 *pBlendStateDesc,
|
||||
ID3D11BlendState1 **ppBlendState);
|
||||
|
||||
HRESULT CreateRasterizerState1(
|
||||
const D3D11_RASTERIZER_DESC1 *pRasterizerDesc,
|
||||
ID3D11RasterizerState1 **ppRasterizerState);
|
||||
|
||||
HRESULT CreateDeviceContextState(
|
||||
UINT Flags,
|
||||
const D3D_FEATURE_LEVEL *pFeatureLevels,
|
||||
UINT FeatureLevels,
|
||||
UINT SDKVersion,
|
||||
REFIID EmulatedInterface,
|
||||
D3D_FEATURE_LEVEL *pChosenFeatureLevel,
|
||||
ID3DDeviceContextState **ppContextState);
|
||||
|
||||
HRESULT OpenSharedResource1(
|
||||
HANDLE hResource,
|
||||
REFIID returnedInterface,
|
||||
void **ppResource);
|
||||
|
||||
HRESULT OpenSharedResourceByName(
|
||||
LPCWSTR lpName,
|
||||
DWORD dwDesiredAccess,
|
||||
REFIID returnedInterface,
|
||||
void **ppResource);
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d11_2.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d11_2.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,173 +0,0 @@
|
||||
/*
|
||||
* Copyright 2017 Ihsan Akmal
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
import "dxgi1_3.idl";
|
||||
import "d3dcommon.idl";
|
||||
import "d3d11_1.idl";
|
||||
|
||||
const UINT D3D11_PACKED_TILE = 0xffffffff;
|
||||
|
||||
typedef enum D3D11_TILE_MAPPING_FLAG
|
||||
{
|
||||
D3D11_TILE_MAPPING_NO_OVERWRITE = 0x1,
|
||||
} D3D11_TILE_MAPPING_FLAG;
|
||||
|
||||
typedef enum D3D11_TILE_RANGE_FLAG
|
||||
{
|
||||
D3D11_TILE_RANGE_NULL = 0x1,
|
||||
D3D11_TILE_RANGE_SKIP = 0x2,
|
||||
D3D11_TILE_RANGE_REUSE_SINGLE_TILE = 0x4,
|
||||
} D3D11_TILE_RANGE_FLAG;
|
||||
|
||||
typedef enum D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG
|
||||
{
|
||||
D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_TILED_RESOURCE = 0x1,
|
||||
} D3D11_CHECK_MULTISAMPLE_QUALITY_LEVELS_FLAG;
|
||||
|
||||
typedef enum D3D11_TILE_COPY_FLAG
|
||||
{
|
||||
D3D11_TILE_COPY_NO_OVERWRITE = 0x1,
|
||||
D3D11_TILE_COPY_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE = 0x2,
|
||||
D3D11_TILE_COPY_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4,
|
||||
} D3D11_TILE_COPY_FLAG;
|
||||
|
||||
typedef struct D3D11_TILED_RESOURCE_COORDINATE
|
||||
{
|
||||
UINT X;
|
||||
UINT Y;
|
||||
UINT Z;
|
||||
UINT Subresource;
|
||||
} D3D11_TILED_RESOURCE_COORDINATE;
|
||||
|
||||
typedef struct D3D11_TILE_REGION_SIZE
|
||||
{
|
||||
UINT NumTiles;
|
||||
BOOL bUseBox;
|
||||
UINT Width;
|
||||
UINT16 Height;
|
||||
UINT16 Depth;
|
||||
} D3D11_TILE_REGION_SIZE;
|
||||
|
||||
typedef struct D3D11_SUBRESOURCE_TILING
|
||||
{
|
||||
UINT WidthInTiles;
|
||||
UINT16 HeightInTiles;
|
||||
UINT16 DepthInTiles;
|
||||
UINT StartTileIndexInOverallResource;
|
||||
} D3D11_SUBRESOURCE_TILING;
|
||||
|
||||
typedef struct D3D11_TILE_SHAPE
|
||||
{
|
||||
UINT WidthInTexels;
|
||||
UINT HeightInTexels;
|
||||
UINT DepthInTexels;
|
||||
} D3D11_TILE_SHAPE;
|
||||
|
||||
typedef struct D3D11_PACKED_MIP_DESC
|
||||
{
|
||||
UINT8 NumStandardMips;
|
||||
UINT8 NumPackedMips;
|
||||
UINT NumTilesForPackedMips;
|
||||
UINT StartTileIndexInOverallResource;
|
||||
} D3D11_PACKED_MIP_DESC;
|
||||
|
||||
[
|
||||
uuid(420d5b32-b90c-4da4-bef0-359f6a24a83a),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11DeviceContext2 : ID3D11DeviceContext1
|
||||
{
|
||||
HRESULT UpdateTileMappings(
|
||||
ID3D11Resource *resource,
|
||||
UINT region_count,
|
||||
const D3D11_TILED_RESOURCE_COORDINATE *region_start_coordinates,
|
||||
const D3D11_TILE_REGION_SIZE *region_sizes,
|
||||
ID3D11Buffer *pool,
|
||||
UINT range_count,
|
||||
const UINT *range_flags,
|
||||
const UINT *pool_start_offsets,
|
||||
const UINT *range_tile_counts,
|
||||
UINT flags
|
||||
);
|
||||
HRESULT CopyTileMappings(
|
||||
ID3D11Resource *dst_resource,
|
||||
const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,
|
||||
ID3D11Resource *src_resource,
|
||||
const D3D11_TILED_RESOURCE_COORDINATE *src_start_coordinate,
|
||||
const D3D11_TILE_REGION_SIZE *region_size,
|
||||
UINT flags
|
||||
);
|
||||
void CopyTiles(
|
||||
ID3D11Resource *resource,
|
||||
const D3D11_TILED_RESOURCE_COORDINATE *start_coordinate,
|
||||
const D3D11_TILE_REGION_SIZE *size,
|
||||
ID3D11Buffer *buffer,
|
||||
UINT64 start_offset,
|
||||
UINT flags
|
||||
);
|
||||
void UpdateTiles(
|
||||
ID3D11Resource *dst_resource,
|
||||
const D3D11_TILED_RESOURCE_COORDINATE *dst_start_coordinate,
|
||||
const D3D11_TILE_REGION_SIZE *dst_region_size,
|
||||
const void *src_data,
|
||||
UINT flags
|
||||
);
|
||||
HRESULT ResizeTilePool(
|
||||
ID3D11Buffer *pool,
|
||||
UINT64 size
|
||||
);
|
||||
void TiledResourceBarrier(
|
||||
ID3D11DeviceChild *before_barrier,
|
||||
ID3D11DeviceChild *after_barrier
|
||||
);
|
||||
BOOL IsAnnotationEnabled();
|
||||
void SetMarkerInt(const WCHAR *label, int data);
|
||||
void BeginEventInt(const WCHAR *label, int data);
|
||||
void EndEvent();
|
||||
}
|
||||
|
||||
[
|
||||
uuid(9d06dffa-d1e5-4d07-83a8-1bb123f2f841),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Device2 : ID3D11Device1
|
||||
{
|
||||
void GetImmediateContext2(ID3D11DeviceContext2 **context);
|
||||
HRESULT CreateDeferredContext2(UINT flags, ID3D11DeviceContext2 **context);
|
||||
void GetResourceTiling(
|
||||
ID3D11Resource *resource,
|
||||
UINT *tile_count,
|
||||
D3D11_PACKED_MIP_DESC *mip_desc,
|
||||
D3D11_TILE_SHAPE *tile_shape,
|
||||
UINT *subresource_tiling_count,
|
||||
UINT first_subresource_tiling,
|
||||
D3D11_SUBRESOURCE_TILING *subresource_tiling
|
||||
);
|
||||
HRESULT CheckMultisampleQualityLevels1(
|
||||
DXGI_FORMAT format,
|
||||
UINT sample_count,
|
||||
UINT flags,
|
||||
UINT *quality_level_count
|
||||
);
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d11_3.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d11_3.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -137,7 +137,8 @@ typedef enum D3D11_CONSERVATIVE_RASTERIZATION_MODE {
|
||||
typedef enum D3D11_FENCE_FLAG {
|
||||
D3D11_FENCE_FLAG_NONE = 0x1,
|
||||
D3D11_FENCE_FLAG_SHARED = 0x2,
|
||||
D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4
|
||||
D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4,
|
||||
D3D11_FENCE_FLAG_NON_MONITORED = 0x8
|
||||
} D3D11_FENCE_FLAG;
|
||||
typedef struct D3D11_TEXTURE2D_DESC1 {
|
||||
UINT Width;
|
||||
|
||||
@ -1,384 +0,0 @@
|
||||
/*
|
||||
* Copyright 2017 Ihsan Akmal
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
import "dxgi1_3.idl";
|
||||
import "d3dcommon.idl";
|
||||
import "d3d11_2.idl";
|
||||
|
||||
typedef enum D3D11_CONTEXT_TYPE
|
||||
{
|
||||
D3D11_CONTEXT_TYPE_ALL = 0x0,
|
||||
D3D11_CONTEXT_TYPE_3D = 0x1,
|
||||
D3D11_CONTEXT_TYPE_COMPUTE = 0x2,
|
||||
D3D11_CONTEXT_TYPE_COPY = 0x3,
|
||||
D3D11_CONTEXT_TYPE_VIDEO = 0x4,
|
||||
} D3D11_CONTEXT_TYPE;
|
||||
|
||||
typedef enum D3D11_TEXTURE_LAYOUT
|
||||
{
|
||||
D3D11_TEXTURE_LAYOUT_UNDEFINED = 0x0,
|
||||
D3D11_TEXTURE_LAYOUT_ROW_MAJOR = 0x1,
|
||||
D3D11_TEXTURE_LAYOUT_64K_STANDARD_SWIZZLE = 0x2,
|
||||
} D3D11_TEXTURE_LAYOUT;
|
||||
|
||||
typedef enum D3D11_CONSERVATIVE_RASTERIZATION_MODE
|
||||
{
|
||||
D3D11_CONSERVATIVE_RASTERIZATION_MODE_OFF = 0x0,
|
||||
D3D11_CONSERVATIVE_RASTERIZATION_MODE_ON = 0x1,
|
||||
} D3D11_CONSERVATIVE_RASTERIZATION_MODE;
|
||||
|
||||
typedef enum D3D11_FENCE_FLAG
|
||||
{
|
||||
D3D11_FENCE_FLAG_NONE = 0x1,
|
||||
D3D11_FENCE_FLAG_SHARED = 0x2,
|
||||
D3D11_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x4,
|
||||
} D3D11_FENCE_FLAG;
|
||||
|
||||
typedef struct D3D11_TEXTURE2D_DESC1
|
||||
{
|
||||
UINT Width;
|
||||
UINT Height;
|
||||
UINT MipLevels;
|
||||
UINT ArraySize;
|
||||
DXGI_FORMAT Format;
|
||||
DXGI_SAMPLE_DESC SampleDesc;
|
||||
D3D11_USAGE Usage;
|
||||
UINT BindFlags;
|
||||
UINT CPUAccessFlags;
|
||||
UINT MiscFlags;
|
||||
D3D11_TEXTURE_LAYOUT TextureLayout;
|
||||
} D3D11_TEXTURE2D_DESC1;
|
||||
|
||||
typedef struct D3D11_TEXTURE3D_DESC1
|
||||
{
|
||||
UINT Width;
|
||||
UINT Height;
|
||||
UINT Depth;
|
||||
UINT MipLevels;
|
||||
DXGI_FORMAT Format;
|
||||
D3D11_USAGE Usage;
|
||||
UINT BindFlags;
|
||||
UINT CPUAccessFlags;
|
||||
UINT MiscFlags;
|
||||
D3D11_TEXTURE_LAYOUT TextureLayout;
|
||||
} D3D11_TEXTURE3D_DESC1;
|
||||
|
||||
typedef struct D3D11_RASTERIZER_DESC2
|
||||
{
|
||||
D3D11_FILL_MODE FillMode;
|
||||
D3D11_CULL_MODE CullMode;
|
||||
BOOL FrontCounterClockwise;
|
||||
int DepthBias;
|
||||
float DepthBiasClamp;
|
||||
float SlopeScaledDepthBias;
|
||||
BOOL DepthClipEnable;
|
||||
BOOL ScissorEnable;
|
||||
BOOL MultisampleEnable;
|
||||
BOOL AntialiasedLineEnable;
|
||||
UINT ForcedSampleCount;
|
||||
D3D11_CONSERVATIVE_RASTERIZATION_MODE ConservativeRaster;
|
||||
} D3D11_RASTERIZER_DESC2;
|
||||
|
||||
typedef struct D3D11_TEX2D_SRV1
|
||||
{
|
||||
UINT MostDetailedMip;
|
||||
UINT MipLevels;
|
||||
UINT PlaneSlice;
|
||||
} D3D11_TEX2D_SRV1;
|
||||
|
||||
typedef struct D3D11_TEX2D_ARRAY_SRV1
|
||||
{
|
||||
UINT MostDetailedMip;
|
||||
UINT MipLevels;
|
||||
UINT FirstArraySlice;
|
||||
UINT ArraySize;
|
||||
UINT PlaneSlice;
|
||||
} D3D11_TEX2D_ARRAY_SRV1;
|
||||
|
||||
typedef struct D3D11_SHADER_RESOURCE_VIEW_DESC1
|
||||
{
|
||||
DXGI_FORMAT Format;
|
||||
D3D11_SRV_DIMENSION ViewDimension;
|
||||
|
||||
union
|
||||
{
|
||||
D3D11_BUFFER_SRV Buffer;
|
||||
D3D11_TEX1D_SRV Texture1D;
|
||||
D3D11_TEX1D_ARRAY_SRV Texture1DArray;
|
||||
D3D11_TEX2D_SRV1 Texture2D;
|
||||
D3D11_TEX2D_ARRAY_SRV1 Texture2DArray;
|
||||
D3D11_TEX2DMS_SRV Texture2DMS;
|
||||
D3D11_TEX2DMS_ARRAY_SRV Texture2DMSArray;
|
||||
D3D11_TEX3D_SRV Texture3D;
|
||||
D3D11_TEXCUBE_SRV TextureCube;
|
||||
D3D11_TEXCUBE_ARRAY_SRV TextureCubeArray;
|
||||
D3D11_BUFFEREX_SRV BufferEx;
|
||||
};
|
||||
} D3D11_SHADER_RESOURCE_VIEW_DESC1;
|
||||
|
||||
typedef struct D3D11_TEX2D_RTV1
|
||||
{
|
||||
UINT MipSlice;
|
||||
UINT PlaneSlice;
|
||||
} D3D11_TEX2D_RTV1;
|
||||
|
||||
typedef struct D3D11_TEX2D_ARRAY_RTV1
|
||||
{
|
||||
UINT MipSlice;
|
||||
UINT FirstArraySlice;
|
||||
UINT ArraySize;
|
||||
UINT PlaneSlice;
|
||||
} D3D11_TEX2D_ARRAY_RTV1;
|
||||
|
||||
typedef struct D3D11_RENDER_TARGET_VIEW_DESC1
|
||||
{
|
||||
DXGI_FORMAT Format;
|
||||
D3D11_RTV_DIMENSION ViewDimension;
|
||||
|
||||
union
|
||||
{
|
||||
D3D11_BUFFER_RTV Buffer;
|
||||
D3D11_TEX1D_RTV Texture1D;
|
||||
D3D11_TEX1D_ARRAY_RTV Texture1DArray;
|
||||
D3D11_TEX2D_RTV1 Texture2D;
|
||||
D3D11_TEX2D_ARRAY_RTV1 Texture2DArray;
|
||||
D3D11_TEX2DMS_RTV Texture2DMS;
|
||||
D3D11_TEX2DMS_ARRAY_RTV Texture2DMSArray;
|
||||
D3D11_TEX3D_RTV Texture3D;
|
||||
};
|
||||
} D3D11_RENDER_TARGET_VIEW_DESC1;
|
||||
|
||||
typedef struct D3D11_TEX2D_UAV1
|
||||
{
|
||||
UINT MipSlice;
|
||||
UINT PlaneSlice;
|
||||
} D3D11_TEX2D_UAV1;
|
||||
|
||||
typedef struct D3D11_TEX2D_ARRAY_UAV1
|
||||
{
|
||||
UINT MipSlice;
|
||||
UINT FirstArraySlice;
|
||||
UINT ArraySize;
|
||||
UINT PlaneSlice;
|
||||
} D3D11_TEX2D_ARRAY_UAV1;
|
||||
|
||||
typedef struct D3D11_UNORDERED_ACCESS_VIEW_DESC1
|
||||
{
|
||||
DXGI_FORMAT Format;
|
||||
D3D11_UAV_DIMENSION ViewDimension;
|
||||
|
||||
union
|
||||
{
|
||||
D3D11_BUFFER_UAV Buffer;
|
||||
D3D11_TEX1D_UAV Texture1D;
|
||||
D3D11_TEX1D_ARRAY_UAV Texture1DArray;
|
||||
D3D11_TEX2D_UAV1 Texture2D;
|
||||
D3D11_TEX2D_ARRAY_UAV1 Texture2DArray;
|
||||
D3D11_TEX3D_UAV Texture3D;
|
||||
};
|
||||
} D3D11_UNORDERED_ACCESS_VIEW_DESC1;
|
||||
|
||||
typedef struct D3D11_QUERY_DESC1
|
||||
{
|
||||
D3D11_QUERY Query;
|
||||
UINT MiscFlags;
|
||||
D3D11_CONTEXT_TYPE ContextType;
|
||||
} D3D11_QUERY_DESC1;
|
||||
|
||||
[
|
||||
uuid(51218251-1e33-4617-9ccb-4d3a4367e7bb),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Texture2D1 : ID3D11Texture2D
|
||||
{
|
||||
void GetDesc1(D3D11_TEXTURE2D_DESC1 *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(0c711683-2853-4846-9bb0-f3e60639e46a),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Texture3D1 : ID3D11Texture3D
|
||||
{
|
||||
void GetDesc1(D3D11_TEXTURE3D_DESC1 *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(6fbd02fb-209f-46c4-b059-2ed15586a6ac),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11RasterizerState2 : ID3D11RasterizerState1
|
||||
{
|
||||
void GetDesc2(D3D11_RASTERIZER_DESC2 *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(91308b87-9040-411d-8c67-c39253ce3802),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11ShaderResourceView1 : ID3D11ShaderResourceView
|
||||
{
|
||||
void GetDesc1(D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(ffbe2e23-f011-418a-ac56-5ceed7c5b94b),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11RenderTargetView1 : ID3D11RenderTargetView
|
||||
{
|
||||
void GetDesc1(D3D11_RENDER_TARGET_VIEW_DESC1 *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(7b3b6153-a886-4544-ab37-6537c8500403),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11UnorderedAccessView1 : ID3D11UnorderedAccessView
|
||||
{
|
||||
void GetDesc1(D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(631b4766-36dc-461d-8db6-c47e13e60916),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Query1 : ID3D11Query
|
||||
{
|
||||
void GetDesc1(D3D11_QUERY_DESC1 *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(b4e3c01d-e79e-4637-91b2-510e9f4c9b8f),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11DeviceContext3 : ID3D11DeviceContext2
|
||||
{
|
||||
void Flush1(D3D11_CONTEXT_TYPE type, HANDLE event);
|
||||
void SetHardwareProtectionState(BOOL enable);
|
||||
void GetHardwareProtectionState(BOOL *enable);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(affde9d1-1df7-4bb7-8a34-0f46251dab80),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Fence : ID3D11DeviceChild
|
||||
{
|
||||
HRESULT CreateSharedHandle(
|
||||
const SECURITY_ATTRIBUTES *attributes,
|
||||
DWORD access,
|
||||
const WCHAR *name,
|
||||
HANDLE *handle
|
||||
);
|
||||
UINT64 GetCompletedValue();
|
||||
HRESULT SetEventOnCompletion(
|
||||
UINT64 value,
|
||||
HANDLE event
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(917600da-f58c-4c33-98d8-3e15b390fa24),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11DeviceContext4 : ID3D11DeviceContext3
|
||||
{
|
||||
HRESULT Signal(ID3D11Fence *fence, UINT64 value);
|
||||
HRESULT Wait(ID3D11Fence *fence, UINT64 value);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(a05c8c37-d2c6-4732-b3a0-9ce0b0dc9ae6),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Device3 : ID3D11Device2
|
||||
{
|
||||
HRESULT CreateTexture2D1(
|
||||
const D3D11_TEXTURE2D_DESC1 *desc,
|
||||
const D3D11_SUBRESOURCE_DATA *initial_data,
|
||||
ID3D11Texture2D1 **texture
|
||||
);
|
||||
HRESULT CreateTexture3D1(
|
||||
const D3D11_TEXTURE3D_DESC1 *desc,
|
||||
const D3D11_SUBRESOURCE_DATA *initial_data,
|
||||
ID3D11Texture3D1 **texture
|
||||
);
|
||||
HRESULT CreateRasterizerState2(
|
||||
const D3D11_RASTERIZER_DESC2 *desc,
|
||||
ID3D11RasterizerState2 **state
|
||||
);
|
||||
HRESULT CreateShaderResourceView1(
|
||||
ID3D11Resource *resource,
|
||||
const D3D11_SHADER_RESOURCE_VIEW_DESC1 *desc,
|
||||
ID3D11ShaderResourceView1 **view
|
||||
);
|
||||
HRESULT CreateUnorderedAccessView1(
|
||||
ID3D11Resource *resource,
|
||||
const D3D11_UNORDERED_ACCESS_VIEW_DESC1 *desc,
|
||||
ID3D11UnorderedAccessView1 **view
|
||||
);
|
||||
HRESULT CreateRenderTargetView1(
|
||||
ID3D11Resource *resource,
|
||||
const D3D11_RENDER_TARGET_VIEW_DESC1 *desc,
|
||||
ID3D11RenderTargetView1 **view
|
||||
);
|
||||
HRESULT CreateQuery1(const D3D11_QUERY_DESC1 *desc, ID3D11Query1 **query);
|
||||
void GetImmediateContext3(ID3D11DeviceContext3 **context);
|
||||
HRESULT CreateDeferredContext3(UINT flags, ID3D11DeviceContext3 **context);
|
||||
void WriteToSubresource(
|
||||
ID3D11Resource *dst_resource,
|
||||
UINT dst_subresource,
|
||||
const D3D11_BOX *dst_box,
|
||||
const void *src_data,
|
||||
UINT src_row_pitch,
|
||||
UINT src_depth_pitch
|
||||
);
|
||||
void ReadFromSubresource(
|
||||
void *dst_data,
|
||||
UINT dst_row_pitch,
|
||||
UINT dst_depth_pitch,
|
||||
ID3D11Resource *src_resource,
|
||||
UINT src_subresource,
|
||||
const D3D11_BOX *src_box
|
||||
);
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d11_4.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d11_4.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,120 +0,0 @@
|
||||
/*
|
||||
* Copyright 2017 Ihsan Akmal
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
import "dxgi1_5.idl";
|
||||
import "d3dcommon.idl";
|
||||
import "d3d11_3.idl";
|
||||
|
||||
typedef struct D3D11_FEATURE_DATA_D3D11_OPTIONS4
|
||||
{
|
||||
BOOL ExtendedNV12SharedTextureSupported;
|
||||
} D3D11_FEATURE_DATA_D3D11_OPTIONS4;
|
||||
|
||||
[
|
||||
uuid(8992ab71-02e6-4b8d-ba48-b056dcda42c4),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Device4 : ID3D11Device3
|
||||
{
|
||||
HRESULT RegisterDeviceRemovedEvent(
|
||||
[in] HANDLE event,
|
||||
[out] DWORD *cookie
|
||||
);
|
||||
void UnregisterDeviceRemoved(
|
||||
[in] DWORD cookie
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(8ffde202-a0e7-45df-9e01-e837801b5ea0),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Device5 : ID3D11Device4
|
||||
{
|
||||
HRESULT OpenSharedFence(
|
||||
[in] HANDLE handle,
|
||||
[in] REFIID iid,
|
||||
[out] void **fence
|
||||
);
|
||||
HRESULT CreateFence(
|
||||
[in] UINT64 initial_value,
|
||||
[in] D3D11_FENCE_FLAG flags,
|
||||
[in] REFIID iid,
|
||||
[out] void **fence
|
||||
);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(9b7e4e00-342c-4106-a19f-4f2704f689f0),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11Multithread : IUnknown
|
||||
{
|
||||
void Enter();
|
||||
void Leave();
|
||||
BOOL SetMultithreadProtected(
|
||||
[in] BOOL enable
|
||||
);
|
||||
BOOL GetMultithreadProtected();
|
||||
}
|
||||
|
||||
[
|
||||
uuid(c4e7374c-6243-4d1b-ae87-52b4f740e261),
|
||||
object,
|
||||
local,
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface ID3D11VideoContext2 : ID3D11VideoContext1
|
||||
{
|
||||
void VideoProcessorSetOutputHDRMetaData(
|
||||
[in] ID3D11VideoProcessor *processor,
|
||||
[in] DXGI_HDR_METADATA_TYPE type,
|
||||
[in] UINT size,
|
||||
[in] const void *meta_data
|
||||
);
|
||||
void VideoProcessorGetOutputHDRMetaData(
|
||||
[in] ID3D11VideoProcessor *processor,
|
||||
[out] DXGI_HDR_METADATA_TYPE *type,
|
||||
[in] UINT size,
|
||||
[out] void *meta_data
|
||||
);
|
||||
|
||||
void VideoProcessorSetStreamHDRMetaData(
|
||||
[in] ID3D11VideoProcessor *processor,
|
||||
[in] UINT stream_index,
|
||||
[in] DXGI_HDR_METADATA_TYPE type,
|
||||
[in] UINT size,
|
||||
[in] const void *meta_data
|
||||
);
|
||||
|
||||
void VideoProcessorGetStreamHDRMetaData(
|
||||
[in] ID3D11VideoProcessor *processor,
|
||||
[in] UINT stream_index,
|
||||
[out] DXGI_HDR_METADATA_TYPE *type,
|
||||
[in] UINT size,
|
||||
[out] void *meta_data
|
||||
);
|
||||
}
|
||||
171
lib/libc/include/any-windows-any/d3d11on12.h
Normal file
171
lib/libc/include/any-windows-any/d3d11on12.h
Normal file
@ -0,0 +1,171 @@
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d11on12.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
#define __REQUIRED_RPCNDR_H_VERSION__ 475
|
||||
#endif
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef __d3d11on12_h__
|
||||
#define __d3d11on12_h__
|
||||
|
||||
/* Forward declarations */
|
||||
|
||||
#ifndef __ID3D11On12Device_FWD_DEFINED__
|
||||
#define __ID3D11On12Device_FWD_DEFINED__
|
||||
typedef interface ID3D11On12Device ID3D11On12Device;
|
||||
#ifdef __cplusplus
|
||||
interface ID3D11On12Device;
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
/* Headers for imported files */
|
||||
|
||||
#include <oaidl.h>
|
||||
#include <ocidl.h>
|
||||
#include <d3d11.h>
|
||||
#include <d3d12.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct D3D11_RESOURCE_FLAGS {
|
||||
UINT BindFlags;
|
||||
UINT MiscFlags;
|
||||
UINT CPUAccessFlags;
|
||||
UINT StructureByteStride;
|
||||
} D3D11_RESOURCE_FLAGS;
|
||||
/*****************************************************************************
|
||||
* ID3D11On12Device interface
|
||||
*/
|
||||
#ifndef __ID3D11On12Device_INTERFACE_DEFINED__
|
||||
#define __ID3D11On12Device_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ID3D11On12Device, 0x85611e73, 0x70a9, 0x490e, 0x96,0x14, 0xa9,0xe3,0x02,0x77,0x79,0x04);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
MIDL_INTERFACE("85611e73-70a9-490e-9614-a9e302777904")
|
||||
ID3D11On12Device : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateWrappedResource(
|
||||
IUnknown *d3d12_resource,
|
||||
const D3D11_RESOURCE_FLAGS *flags,
|
||||
D3D12_RESOURCE_STATES input_state,
|
||||
D3D12_RESOURCE_STATES output_state,
|
||||
REFIID iid,
|
||||
void **d3d11_resource) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE ReleaseWrappedResources(
|
||||
ID3D11Resource *const *resources,
|
||||
UINT count) = 0;
|
||||
|
||||
virtual void STDMETHODCALLTYPE AcquireWrappedResources(
|
||||
ID3D11Resource *const *resources,
|
||||
UINT count) = 0;
|
||||
|
||||
};
|
||||
#ifdef __CRT_UUID_DECL
|
||||
__CRT_UUID_DECL(ID3D11On12Device, 0x85611e73, 0x70a9, 0x490e, 0x96,0x14, 0xa9,0xe3,0x02,0x77,0x79,0x04)
|
||||
#endif
|
||||
#else
|
||||
typedef struct ID3D11On12DeviceVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ID3D11On12Device *This,
|
||||
REFIID riid,
|
||||
void **ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ID3D11On12Device *This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ID3D11On12Device *This);
|
||||
|
||||
/*** ID3D11On12Device methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *CreateWrappedResource)(
|
||||
ID3D11On12Device *This,
|
||||
IUnknown *d3d12_resource,
|
||||
const D3D11_RESOURCE_FLAGS *flags,
|
||||
D3D12_RESOURCE_STATES input_state,
|
||||
D3D12_RESOURCE_STATES output_state,
|
||||
REFIID iid,
|
||||
void **d3d11_resource);
|
||||
|
||||
void (STDMETHODCALLTYPE *ReleaseWrappedResources)(
|
||||
ID3D11On12Device *This,
|
||||
ID3D11Resource *const *resources,
|
||||
UINT count);
|
||||
|
||||
void (STDMETHODCALLTYPE *AcquireWrappedResources)(
|
||||
ID3D11On12Device *This,
|
||||
ID3D11Resource *const *resources,
|
||||
UINT count);
|
||||
|
||||
END_INTERFACE
|
||||
} ID3D11On12DeviceVtbl;
|
||||
|
||||
interface ID3D11On12Device {
|
||||
CONST_VTBL ID3D11On12DeviceVtbl* lpVtbl;
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
#ifndef WIDL_C_INLINE_WRAPPERS
|
||||
/*** IUnknown methods ***/
|
||||
#define ID3D11On12Device_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
|
||||
#define ID3D11On12Device_AddRef(This) (This)->lpVtbl->AddRef(This)
|
||||
#define ID3D11On12Device_Release(This) (This)->lpVtbl->Release(This)
|
||||
/*** ID3D11On12Device methods ***/
|
||||
#define ID3D11On12Device_CreateWrappedResource(This,d3d12_resource,flags,input_state,output_state,iid,d3d11_resource) (This)->lpVtbl->CreateWrappedResource(This,d3d12_resource,flags,input_state,output_state,iid,d3d11_resource)
|
||||
#define ID3D11On12Device_ReleaseWrappedResources(This,resources,count) (This)->lpVtbl->ReleaseWrappedResources(This,resources,count)
|
||||
#define ID3D11On12Device_AcquireWrappedResources(This,resources,count) (This)->lpVtbl->AcquireWrappedResources(This,resources,count)
|
||||
#else
|
||||
/*** IUnknown methods ***/
|
||||
static FORCEINLINE HRESULT ID3D11On12Device_QueryInterface(ID3D11On12Device* This,REFIID riid,void **ppvObject) {
|
||||
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
|
||||
}
|
||||
static FORCEINLINE ULONG ID3D11On12Device_AddRef(ID3D11On12Device* This) {
|
||||
return This->lpVtbl->AddRef(This);
|
||||
}
|
||||
static FORCEINLINE ULONG ID3D11On12Device_Release(ID3D11On12Device* This) {
|
||||
return This->lpVtbl->Release(This);
|
||||
}
|
||||
/*** ID3D11On12Device methods ***/
|
||||
static FORCEINLINE HRESULT ID3D11On12Device_CreateWrappedResource(ID3D11On12Device* This,IUnknown *d3d12_resource,const D3D11_RESOURCE_FLAGS *flags,D3D12_RESOURCE_STATES input_state,D3D12_RESOURCE_STATES output_state,REFIID iid,void **d3d11_resource) {
|
||||
return This->lpVtbl->CreateWrappedResource(This,d3d12_resource,flags,input_state,output_state,iid,d3d11_resource);
|
||||
}
|
||||
static FORCEINLINE void ID3D11On12Device_ReleaseWrappedResources(ID3D11On12Device* This,ID3D11Resource *const *resources,UINT count) {
|
||||
This->lpVtbl->ReleaseWrappedResources(This,resources,count);
|
||||
}
|
||||
static FORCEINLINE void ID3D11On12Device_AcquireWrappedResources(ID3D11On12Device* This,ID3D11Resource *const *resources,UINT count) {
|
||||
This->lpVtbl->AcquireWrappedResources(This,resources,count);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* __ID3D11On12Device_INTERFACE_DEFINED__ */
|
||||
|
||||
HRESULT __stdcall D3D11On12CreateDevice(IUnknown *device,UINT flags,const D3D_FEATURE_LEVEL *feature_levels,UINT feature_level_count,IUnknown *const *queues,UINT queue_count,UINT node_mask,ID3D11Device **d3d11_device,ID3D11DeviceContext **d3d11_immediate_context,D3D_FEATURE_LEVEL *obtained_feature_level);
|
||||
|
||||
typedef HRESULT (__stdcall *PFN_D3D11ON12_CREATE_DEVICE)(IUnknown *device,UINT flags,const D3D_FEATURE_LEVEL *feature_levels,UINT feature_level_count,IUnknown *const *queues,UINT queue_count,UINT node_mask,ID3D11Device **d3d11_device,ID3D11DeviceContext **d3d11_immediate_context,D3D_FEATURE_LEVEL *obtained_feature_level);
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
/* End additional prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __d3d11on12_h__ */
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d11sdklayers.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d11sdklayers.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -22,6 +22,11 @@
|
||||
|
||||
#include "d3dcommon.h"
|
||||
|
||||
/* If not defined set d3dcompiler_47 by default. */
|
||||
#ifndef D3D_COMPILER_VERSION
|
||||
#define D3D_COMPILER_VERSION 47
|
||||
#endif
|
||||
|
||||
/* These are defined as version-neutral in d3dcommon.h */
|
||||
typedef D3D_CBUFFER_TYPE D3D11_CBUFFER_TYPE;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1586
lib/libc/include/any-windows-any/d3d12sdklayers.h
Normal file
1586
lib/libc/include/any-windows-any/d3d12sdklayers.h
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3d12shader.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3d12shader.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -84,6 +84,15 @@ interface ID3D12LibraryReflection;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef enum D3D12_SHADER_VERSION_TYPE {
|
||||
D3D12_SHVER_PIXEL_SHADER = 0x0,
|
||||
D3D12_SHVER_VERTEX_SHADER = 0x1,
|
||||
D3D12_SHVER_GEOMETRY_SHADER = 0x2,
|
||||
D3D12_SHVER_HULL_SHADER = 0x3,
|
||||
D3D12_SHVER_DOMAIN_SHADER = 0x4,
|
||||
D3D12_SHVER_COMPUTE_SHADER = 0x5,
|
||||
D3D12_SHVER_RESERVED0 = 0xfff0
|
||||
} D3D12_SHADER_VERSION_TYPE;
|
||||
typedef struct _D3D12_SHADER_DESC {
|
||||
UINT Version;
|
||||
const char *Creator;
|
||||
|
||||
@ -1,296 +0,0 @@
|
||||
/*
|
||||
* Copyright 2020 Paul Gofman for CodeWeavers
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "oaidl.idl";
|
||||
import "ocidl.idl";
|
||||
import "d3dcommon.idl";
|
||||
|
||||
typedef struct _D3D12_SHADER_DESC
|
||||
{
|
||||
UINT Version;
|
||||
const char *Creator;
|
||||
UINT Flags;
|
||||
UINT ConstantBuffers;
|
||||
UINT BoundResources;
|
||||
UINT InputParameters;
|
||||
UINT OutputParameters;
|
||||
UINT InstructionCount;
|
||||
UINT TempRegisterCount;
|
||||
UINT TempArrayCount;
|
||||
UINT DefCount;
|
||||
UINT DclCount;
|
||||
UINT TextureNormalInstructions;
|
||||
UINT TextureLoadInstructions;
|
||||
UINT TextureCompInstructions;
|
||||
UINT TextureBiasInstructions;
|
||||
UINT TextureGradientInstructions;
|
||||
UINT FloatInstructionCount;
|
||||
UINT IntInstructionCount;
|
||||
UINT UintInstructionCount;
|
||||
UINT StaticFlowControlCount;
|
||||
UINT DynamicFlowControlCount;
|
||||
UINT MacroInstructionCount;
|
||||
UINT ArrayInstructionCount;
|
||||
UINT CutInstructionCount;
|
||||
UINT EmitInstructionCount;
|
||||
D3D_PRIMITIVE_TOPOLOGY GSOutputTopology;
|
||||
UINT GSMaxOutputVertexCount;
|
||||
D3D_PRIMITIVE InputPrimitive;
|
||||
UINT PatchConstantParameters;
|
||||
UINT cGSInstanceCount;
|
||||
UINT cControlPoints;
|
||||
D3D_TESSELLATOR_OUTPUT_PRIMITIVE HSOutputPrimitive;
|
||||
D3D_TESSELLATOR_PARTITIONING HSPartitioning;
|
||||
D3D_TESSELLATOR_DOMAIN TessellatorDomain;
|
||||
UINT cBarrierInstructions;
|
||||
UINT cInterlockedInstructions;
|
||||
UINT cTextureStoreInstructions;
|
||||
} D3D12_SHADER_DESC;
|
||||
|
||||
typedef struct _D3D12_SHADER_VARIABLE_DESC
|
||||
{
|
||||
const char *Name;
|
||||
UINT StartOffset;
|
||||
UINT Size;
|
||||
UINT uFlags;
|
||||
void *DefaultValue;
|
||||
UINT StartTexture;
|
||||
UINT TextureSize;
|
||||
UINT StartSampler;
|
||||
UINT SamplerSize;
|
||||
} D3D12_SHADER_VARIABLE_DESC;
|
||||
|
||||
typedef struct _D3D12_SHADER_TYPE_DESC
|
||||
{
|
||||
D3D_SHADER_VARIABLE_CLASS Class;
|
||||
D3D_SHADER_VARIABLE_TYPE Type;
|
||||
UINT Rows;
|
||||
UINT Columns;
|
||||
UINT Elements;
|
||||
UINT Members;
|
||||
UINT Offset;
|
||||
const char *Name;
|
||||
} D3D12_SHADER_TYPE_DESC;
|
||||
|
||||
typedef struct _D3D12_SHADER_BUFFER_DESC
|
||||
{
|
||||
const char *Name;
|
||||
D3D_CBUFFER_TYPE Type;
|
||||
UINT Variables;
|
||||
UINT Size;
|
||||
UINT uFlags;
|
||||
} D3D12_SHADER_BUFFER_DESC;
|
||||
|
||||
typedef struct _D3D12_SHADER_INPUT_BIND_DESC
|
||||
{
|
||||
const char *Name;
|
||||
D3D_SHADER_INPUT_TYPE Type;
|
||||
UINT BindPoint;
|
||||
UINT BindCount;
|
||||
UINT uFlags;
|
||||
D3D_RESOURCE_RETURN_TYPE ReturnType;
|
||||
D3D_SRV_DIMENSION Dimension;
|
||||
UINT NumSamples;
|
||||
UINT Space;
|
||||
UINT uID;
|
||||
} D3D12_SHADER_INPUT_BIND_DESC;
|
||||
|
||||
typedef struct _D3D12_SIGNATURE_PARAMETER_DESC
|
||||
{
|
||||
const char *SemanticName;
|
||||
UINT SemanticIndex;
|
||||
UINT Register;
|
||||
D3D_NAME SystemValueType;
|
||||
D3D_REGISTER_COMPONENT_TYPE ComponentType;
|
||||
BYTE Mask;
|
||||
BYTE ReadWriteMask;
|
||||
UINT Stream;
|
||||
D3D_MIN_PRECISION MinPrecision;
|
||||
} D3D12_SIGNATURE_PARAMETER_DESC;
|
||||
|
||||
typedef struct _D3D12_PARAMETER_DESC
|
||||
{
|
||||
const char *Name;
|
||||
const char *SemanticName;
|
||||
D3D_SHADER_VARIABLE_TYPE Type;
|
||||
D3D_SHADER_VARIABLE_CLASS Class;
|
||||
UINT Rows;
|
||||
UINT Columns;
|
||||
D3D_INTERPOLATION_MODE InterpolationMode;
|
||||
D3D_PARAMETER_FLAGS Flags;
|
||||
UINT FirstInRegister;
|
||||
UINT FirstInComponent;
|
||||
UINT FirstOutRegister;
|
||||
UINT FirstOutComponent;
|
||||
} D3D12_PARAMETER_DESC;
|
||||
|
||||
typedef struct _D3D12_FUNCTION_DESC
|
||||
{
|
||||
UINT Version;
|
||||
const char *Creator;
|
||||
UINT Flags;
|
||||
UINT ConstantBuffers;
|
||||
UINT BoundResources;
|
||||
UINT InstructionCount;
|
||||
UINT TempRegisterCount;
|
||||
UINT TempArrayCount;
|
||||
UINT DefCount;
|
||||
UINT DclCount;
|
||||
UINT TextureNormalInstructions;
|
||||
UINT TextureLoadInstructions;
|
||||
UINT TextureCompInstructions;
|
||||
UINT TextureBiasInstructions;
|
||||
UINT TextureGradientInstructions;
|
||||
UINT FloatInstructionCount;
|
||||
UINT IntInstructionCount;
|
||||
UINT UintInstructionCount;
|
||||
UINT StaticFlowControlCount;
|
||||
UINT DynamicFlowControlCount;
|
||||
UINT MacroInstructionCount;
|
||||
UINT ArrayInstructionCount;
|
||||
UINT MovInstructionCount;
|
||||
UINT MovcInstructionCount;
|
||||
UINT ConversionInstructionCount;
|
||||
UINT BitwiseInstructionCount;
|
||||
D3D_FEATURE_LEVEL MinFeatureLevel;
|
||||
UINT64 RequiredFeatureFlags;
|
||||
const char *Name;
|
||||
INT FunctionParameterCount;
|
||||
BOOL HasReturn;
|
||||
BOOL Has10Level9VertexShader;
|
||||
BOOL Has10Level9PixelShader;
|
||||
} D3D12_FUNCTION_DESC;
|
||||
|
||||
typedef struct _D3D12_LIBRARY_DESC
|
||||
{
|
||||
const char *Creator;
|
||||
UINT Flags;
|
||||
UINT FunctionCount;
|
||||
} D3D12_LIBRARY_DESC;
|
||||
|
||||
interface ID3D12ShaderReflectionConstantBuffer;
|
||||
|
||||
[
|
||||
uuid(e913c351-783d-48ca-a1d1-4f306284ad56),
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3D12ShaderReflectionType
|
||||
{
|
||||
HRESULT GetDesc(D3D12_SHADER_TYPE_DESC *desc);
|
||||
ID3D12ShaderReflectionType *GetMemberTypeByIndex(UINT index);
|
||||
ID3D12ShaderReflectionType *GetMemberTypeByName(const char *name);
|
||||
const char *GetMemberTypeName(UINT index);
|
||||
HRESULT IsEqual(ID3D12ShaderReflectionType *type);
|
||||
ID3D12ShaderReflectionType *GetSubType();
|
||||
ID3D12ShaderReflectionType *GetBaseClass();
|
||||
UINT GetNumInterfaces();
|
||||
ID3D12ShaderReflectionType *GetInterfaceByIndex(UINT index);
|
||||
HRESULT IsOfType(ID3D12ShaderReflectionType *type);
|
||||
HRESULT ImplementsInterface(ID3D12ShaderReflectionType *base);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(8337a8a6-a216-444a-b2f4-314733a73aea),
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3D12ShaderReflectionVariable
|
||||
{
|
||||
HRESULT GetDesc(D3D12_SHADER_VARIABLE_DESC *desc);
|
||||
ID3D12ShaderReflectionType *GetType();
|
||||
ID3D12ShaderReflectionConstantBuffer *GetBuffer();
|
||||
UINT GetInterfaceSlot(UINT index);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(c59598b4-48b3-4869-b9b1-b1618b14a8b7),
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3D12ShaderReflectionConstantBuffer
|
||||
{
|
||||
HRESULT GetDesc(D3D12_SHADER_BUFFER_DESC *desc);
|
||||
ID3D12ShaderReflectionVariable *GetVariableByIndex(UINT index);
|
||||
ID3D12ShaderReflectionVariable *GetVariableByName(const char *name);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(5a58797d-a72c-478d-8ba2-efc6b0efe88e),
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3D12ShaderReflection : IUnknown
|
||||
{
|
||||
HRESULT GetDesc(D3D12_SHADER_DESC *desc);
|
||||
ID3D12ShaderReflectionConstantBuffer *GetConstantBufferByIndex(UINT index);
|
||||
ID3D12ShaderReflectionConstantBuffer *GetConstantBufferByName(const char *name);
|
||||
HRESULT GetResourceBindingDesc(UINT index, D3D12_SHADER_INPUT_BIND_DESC *desc);
|
||||
HRESULT GetInputParameterDesc(UINT index, D3D12_SIGNATURE_PARAMETER_DESC *desc);
|
||||
HRESULT GetOutputParameterDesc(UINT index, D3D12_SIGNATURE_PARAMETER_DESC *desc);
|
||||
HRESULT GetPatchConstantParameterDesc(UINT index, D3D12_SIGNATURE_PARAMETER_DESC *desc);
|
||||
ID3D12ShaderReflectionVariable *GetVariableByName(const char *name);
|
||||
HRESULT GetResourceBindingDescByName(const char *name, D3D12_SHADER_INPUT_BIND_DESC *desc);
|
||||
UINT GetMovInstructionCount();
|
||||
UINT GetMovcInstructionCount();
|
||||
UINT GetConversionInstructionCount();
|
||||
UINT GetBitwiseInstructionCount();
|
||||
D3D_PRIMITIVE GetGSInputPrimitive();
|
||||
BOOL IsSampleFrequencyShader();
|
||||
UINT GetNumInterfaceSlots();
|
||||
HRESULT GetMinFeatureLevel(D3D_FEATURE_LEVEL *level);
|
||||
UINT GetThreadGroupSize(UINT *sizex, UINT *sizey, UINT *sizez);
|
||||
UINT64 GetRequiresFlags();
|
||||
}
|
||||
|
||||
[
|
||||
uuid(ec25f42d-7006-4f2b-b33e-02cc3375733f),
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3D12FunctionParameterReflection
|
||||
{
|
||||
HRESULT GetDesc(D3D12_PARAMETER_DESC *desc);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(1108795c-2772-4ba9-b2a8-d464dc7e2799),
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3D12FunctionReflection
|
||||
{
|
||||
HRESULT GetDesc(D3D12_FUNCTION_DESC *desc);
|
||||
ID3D12ShaderReflectionConstantBuffer *GetConstantBufferByIndex(UINT index);
|
||||
ID3D12ShaderReflectionConstantBuffer *GetConstantBufferByName(const char *name);
|
||||
HRESULT GetResourceBindingDesc(UINT index, D3D12_SHADER_INPUT_BIND_DESC *desc);
|
||||
ID3D12ShaderReflectionVariable *GetVariableByName(const char *name);
|
||||
HRESULT GetResourceBindingDescByName(const char *name, D3D12_SHADER_INPUT_BIND_DESC *desc);
|
||||
ID3D12FunctionParameterReflection *GetFunctionParameter(INT index);
|
||||
}
|
||||
|
||||
[
|
||||
uuid(8e349d19-54db-4a56-9dc9-119d87bdb804),
|
||||
object,
|
||||
local,
|
||||
]
|
||||
interface ID3D12LibraryReflection : IUnknown
|
||||
{
|
||||
HRESULT GetDesc(D3D12_LIBRARY_DESC *desc);
|
||||
ID3D12FunctionReflection *GetFunctionByIndex(INT index);
|
||||
}
|
||||
@ -62,7 +62,7 @@
|
||||
*/
|
||||
#define D3D_SDK_VERSION 32
|
||||
#define D3DADAPTER_DEFAULT 0
|
||||
#define D3DENUM_NO_WHQL_LEVEL __MSABI_LONG(0x00000002)
|
||||
#define D3DENUM_WHQL_LEVEL __MSABI_LONG(0x00000002)
|
||||
#define D3DPRESENT_DONOTWAIT __MSABI_LONG(1)
|
||||
#define D3DPRESENT_LINEAR_CONTENT __MSABI_LONG(2)
|
||||
#define D3DPRESENT_BACK_BUFFERS_MAX __MSABI_LONG(3)
|
||||
|
||||
@ -258,9 +258,7 @@
|
||||
#define D3DCAPS3_DXVAHD_LIMITED __MSABI_LONG(0x00000800)
|
||||
#define D3DCAPS3_RESERVED __MSABI_LONG(0x8000001F)
|
||||
|
||||
#define D3DCAPS2_NO2DDURING3DSCENE __MSABI_LONG(0x00000002)
|
||||
#define D3DCAPS2_FULLSCREENGAMMA __MSABI_LONG(0x00020000)
|
||||
#define D3DCAPS2_CANRENDERWINDOWED __MSABI_LONG(0x00080000)
|
||||
#define D3DCAPS2_CANCALIBRATEGAMMA __MSABI_LONG(0x00100000)
|
||||
#define D3DCAPS2_RESERVED __MSABI_LONG(0x02000000)
|
||||
#define D3DCAPS2_CANMANAGERESOURCE __MSABI_LONG(0x10000000)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/d3dcommon.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/d3dcommon.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,258 +0,0 @@
|
||||
/*
|
||||
* d3dnthal.h
|
||||
*
|
||||
* Direct3D NT driver interface
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Ge van Geldorp
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __DDK_D3DNTHAL_H
|
||||
#define __DDK_D3DNTHAL_H
|
||||
|
||||
#include <ddrawint.h>
|
||||
#include <d3dtypes.h>
|
||||
#include <d3dcaps.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
DEFINE_GUID(GUID_D3DCallbacks, 0x7BF06990, 0x8794, 0x11D0, 0x91, 0x39, 0x08, 0x00, 0x36, 0xD2, 0xEF, 0x02);
|
||||
DEFINE_GUID(GUID_D3DCallbacks3, 0xDDF41230, 0xEC0A, 0x11D0, 0xA9, 0xB6, 0x00, 0xAA, 0x00, 0xC0, 0x99, 0x3E);
|
||||
DEFINE_GUID(GUID_D3DExtendedCaps, 0x7DE41F80, 0x9D93, 0x11D0, 0x89, 0xAB, 0x00, 0xA0, 0xC9, 0x05, 0x41, 0x29);
|
||||
DEFINE_GUID(GUID_D3DParseUnknownCommandCallback, 0x2E04FFA0, 0x98E4, 0x11D1, 0x8C, 0xE1, 0x00, 0xA0, 0xC9, 0x06, 0x29, 0xA8);
|
||||
DEFINE_GUID(GUID_ZPixelFormats, 0x93869880, 0x36CF, 0x11D1, 0x9B, 0x1B, 0x00, 0xAA, 0x00, 0xBB, 0xB8, 0xAE);
|
||||
DEFINE_GUID(GUID_DDStereoMode, 0xF828169C, 0xA8E8, 0x11D2, 0xA1, 0xF2, 0x00, 0xA0, 0xC9, 0x83, 0xEA, 0xF6);
|
||||
|
||||
typedef struct _D3DNTHAL_CONTEXTCREATEDATA {
|
||||
__GNU_EXTENSION union {
|
||||
PDD_DIRECTDRAW_GLOBAL lpDDGbl;
|
||||
PDD_DIRECTDRAW_LOCAL lpDDLcl;
|
||||
};
|
||||
__GNU_EXTENSION union {
|
||||
PDD_SURFACE_LOCAL lpDDS;
|
||||
PDD_SURFACE_LOCAL lpDDSLcl;
|
||||
};
|
||||
__GNU_EXTENSION union {
|
||||
PDD_SURFACE_LOCAL lpDDSZ;
|
||||
PDD_SURFACE_LOCAL lpDDSZLcl;
|
||||
};
|
||||
DWORD dwPID;
|
||||
ULONG_PTR dwhContext;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_CONTEXTCREATEDATA, *LPD3DNTHAL_CONTEXTCREATEDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_CONTEXTDESTROYDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_CONTEXTDESTROYDATA, *LPD3DNTHAL_CONTEXTDESTROYDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_CONTEXTDESTROYALLDATA {
|
||||
DWORD dwPID;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_CONTEXTDESTROYALLDATA, *LPD3DNTHAL_CONTEXTDESTROYALLDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_SCENECAPTUREDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
DWORD dwFlag;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_SCENECAPTUREDATA, *LPD3DNTHAL_SCENECAPTUREDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_TEXTURECREATEDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
HANDLE hDDS;
|
||||
ULONG_PTR dwHandle;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_TEXTURECREATEDATA, *LPD3DNTHAL_TEXTURECREATEDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_TEXTUREDESTROYDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
ULONG_PTR dwHandle;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_TEXTUREDESTROYDATA, *LPD3DNTHAL_TEXTUREDESTROYDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_TEXTURESWAPDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
ULONG_PTR dwHandle1;
|
||||
ULONG_PTR dwHandle2;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_TEXTURESWAPDATA, *LPD3DNTHAL_TEXTURESWAPDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_TEXTUREGETSURFDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
HANDLE hDDS;
|
||||
ULONG_PTR dwHandle;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_TEXTUREGETSURFDATA, *LPD3DNTHAL_TEXTUREGETSURFDATA;
|
||||
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_CONTEXTCREATECB)(LPD3DNTHAL_CONTEXTCREATEDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_CONTEXTDESTROYCB)(LPD3DNTHAL_CONTEXTDESTROYDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_CONTEXTDESTROYALLCB)(LPD3DNTHAL_CONTEXTDESTROYALLDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_SCENECAPTURECB)(LPD3DNTHAL_SCENECAPTUREDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_TEXTURECREATECB)(LPD3DNTHAL_TEXTURECREATEDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_TEXTUREDESTROYCB)(LPD3DNTHAL_TEXTUREDESTROYDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_TEXTURESWAPCB)(LPD3DNTHAL_TEXTURESWAPDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_TEXTUREGETSURFCB)(LPD3DNTHAL_TEXTUREGETSURFDATA);
|
||||
|
||||
typedef struct _D3DNTHALDeviceDesc_V1 {
|
||||
DWORD dwSize;
|
||||
DWORD dwFlags;
|
||||
D3DCOLORMODEL dcmColorModel;
|
||||
DWORD dwDevCaps;
|
||||
D3DTRANSFORMCAPS dtcTransformCaps;
|
||||
WINBOOL bClipping;
|
||||
D3DLIGHTINGCAPS dlcLightingCaps;
|
||||
D3DPRIMCAPS dpcLineCaps;
|
||||
D3DPRIMCAPS dpcTriCaps;
|
||||
DWORD dwDeviceRenderBitDepth;
|
||||
DWORD dwDeviceZBufferBitDepth;
|
||||
DWORD dwMaxBufferSize;
|
||||
DWORD dwMaxVertexCount;
|
||||
} D3DNTHALDEVICEDESC_V1, *LPD3DNTHALDEVICEDESC_V1;
|
||||
|
||||
typedef struct _D3DNTHAL_GLOBALDRIVERDATA {
|
||||
DWORD dwSize;
|
||||
D3DNTHALDEVICEDESC_V1 hwCaps;
|
||||
DWORD dwNumVertices;
|
||||
DWORD dwNumClipVertices;
|
||||
DWORD dwNumTextureFormats;
|
||||
LPDDSURFACEDESC lpTextureFormats;
|
||||
} D3DNTHAL_GLOBALDRIVERDATA, *LPD3DNTHAL_GLOBALDRIVERDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_CALLBACKS {
|
||||
DWORD dwSize;
|
||||
LPD3DNTHAL_CONTEXTCREATECB ContextCreate;
|
||||
LPD3DNTHAL_CONTEXTDESTROYCB ContextDestroy;
|
||||
LPD3DNTHAL_CONTEXTDESTROYALLCB ContextDestroyAll;
|
||||
LPD3DNTHAL_SCENECAPTURECB SceneCapture;
|
||||
LPVOID dwReserved10;
|
||||
LPVOID dwReserved11;
|
||||
LPVOID dwReserved22;
|
||||
LPVOID dwReserved23;
|
||||
ULONG_PTR dwReserved;
|
||||
LPD3DNTHAL_TEXTURECREATECB TextureCreate;
|
||||
LPD3DNTHAL_TEXTUREDESTROYCB TextureDestroy;
|
||||
LPD3DNTHAL_TEXTURESWAPCB TextureSwap;
|
||||
LPD3DNTHAL_TEXTUREGETSURFCB TextureGetSurf;
|
||||
LPVOID dwReserved12;
|
||||
LPVOID dwReserved13;
|
||||
LPVOID dwReserved14;
|
||||
LPVOID dwReserved15;
|
||||
LPVOID dwReserved16;
|
||||
LPVOID dwReserved17;
|
||||
LPVOID dwReserved18;
|
||||
LPVOID dwReserved19;
|
||||
LPVOID dwReserved20;
|
||||
LPVOID dwReserved21;
|
||||
LPVOID dwReserved24;
|
||||
ULONG_PTR dwReserved0;
|
||||
ULONG_PTR dwReserved1;
|
||||
ULONG_PTR dwReserved2;
|
||||
ULONG_PTR dwReserved3;
|
||||
ULONG_PTR dwReserved4;
|
||||
ULONG_PTR dwReserved5;
|
||||
ULONG_PTR dwReserved6;
|
||||
ULONG_PTR dwReserved7;
|
||||
ULONG_PTR dwReserved8;
|
||||
ULONG_PTR dwReserved9;
|
||||
} D3DNTHAL_CALLBACKS, *LPD3DNTHAL_CALLBACKS;
|
||||
|
||||
|
||||
typedef struct _D3DNTHAL_SETRENDERTARGETDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
PDD_SURFACE_LOCAL lpDDS;
|
||||
PDD_SURFACE_LOCAL lpDDSZ;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_SETRENDERTARGETDATA;
|
||||
typedef D3DNTHAL_SETRENDERTARGETDATA *LPD3DNTHAL_SETRENDERTARGETDATA;
|
||||
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_SETRENDERTARGETCB)(LPD3DNTHAL_SETRENDERTARGETDATA);
|
||||
|
||||
|
||||
typedef struct _D3DNTHAL_CALLBACKS2 {
|
||||
DWORD dwSize;
|
||||
DWORD dwFlags;
|
||||
|
||||
LPD3DNTHAL_SETRENDERTARGETCB SetRenderTarget;
|
||||
LPVOID dwReserved1;
|
||||
LPVOID dwReserved2;
|
||||
LPVOID dwReserved3;
|
||||
LPVOID dwReserved4;
|
||||
} D3DNTHAL_CALLBACKS2, *LPD3DNTHAL_CALLBACKS2;
|
||||
|
||||
|
||||
typedef struct _D3DNTHAL_CLEAR2DATA {
|
||||
ULONG_PTR dwhContext;
|
||||
DWORD dwFlags;
|
||||
DWORD dwFillColor;
|
||||
D3DVALUE dvFillDepth;
|
||||
DWORD dwFillStencil;
|
||||
LPD3DRECT lpRects;
|
||||
DWORD dwNumRects;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_CLEAR2DATA;
|
||||
typedef D3DNTHAL_CLEAR2DATA FAR *LPD3DNTHAL_CLEAR2DATA;
|
||||
|
||||
typedef struct _D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA {
|
||||
ULONG_PTR dwhContext;
|
||||
DWORD dwFlags;
|
||||
ULONG_PTR dwReserved;
|
||||
DWORD dwNumPasses;
|
||||
HRESULT ddrval;
|
||||
} D3DNTHAL_VALIDATETEXTURESTAGESTATEDATA, FAR *LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA;
|
||||
|
||||
typedef struct _D3DNTHAL_DRAWPRIMITIVES2DATA {
|
||||
ULONG_PTR dwhContext;
|
||||
DWORD dwFlags;
|
||||
DWORD dwVertexType;
|
||||
PDD_SURFACE_LOCAL lpDDCommands;
|
||||
DWORD dwCommandOffset;
|
||||
DWORD dwCommandLength;
|
||||
__GNU_EXTENSION union {
|
||||
PDD_SURFACE_LOCAL lpDDVertex;
|
||||
LPVOID lpVertices;
|
||||
};
|
||||
DWORD dwVertexOffset;
|
||||
DWORD dwVertexLength;
|
||||
DWORD dwReqVertexBufSize;
|
||||
DWORD dwReqCommandBufSize;
|
||||
LPDWORD lpdwRStates;
|
||||
__GNU_EXTENSION union {
|
||||
DWORD dwVertexSize;
|
||||
HRESULT ddrval;
|
||||
};
|
||||
DWORD dwErrorOffset;
|
||||
} D3DNTHAL_DRAWPRIMITIVES2DATA, FAR *LPD3DNTHAL_DRAWPRIMITIVES2DATA;
|
||||
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_CLEAR2CB)(LPD3DNTHAL_CLEAR2DATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB)(LPD3DNTHAL_VALIDATETEXTURESTAGESTATEDATA);
|
||||
typedef DWORD (APIENTRY *LPD3DNTHAL_DRAWPRIMITIVES2CB)(LPD3DNTHAL_DRAWPRIMITIVES2DATA);
|
||||
|
||||
typedef struct _D3DNTHAL_CALLBACKS3 {
|
||||
DWORD dwSize;
|
||||
DWORD dwFlags;
|
||||
|
||||
LPD3DNTHAL_CLEAR2CB Clear2;
|
||||
LPVOID lpvReserved;
|
||||
LPD3DNTHAL_VALIDATETEXTURESTAGESTATECB ValidateTextureStageState;
|
||||
LPD3DNTHAL_DRAWPRIMITIVES2CB DrawPrimitives2;
|
||||
} D3DNTHAL_CALLBACKS3, *LPD3DNTHAL_CALLBACKS3;
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /* __DDK_D3DNTHAL_H */
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/dbgprop.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dbgprop.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/dcommon.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dcommon.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -60,16 +60,24 @@ DECLARE_INTERFACE_IID_(IDCompositionTransform,IDCompositionTransform3D,"fd55faa7
|
||||
#define INTERFACE IDCompositionTranslateTransform
|
||||
DECLARE_INTERFACE_IID_(IDCompositionTranslateTransform,IDCompositionTransform,"06791122-c6f0-417d-8323-269e987f5954")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetOffsetX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetOffsetX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionScaleTransform
|
||||
DECLARE_INTERFACE_IID_(IDCompositionScaleTransform,IDCompositionTransform,"71fde914-40ef-45ef-bd51-68b037c339f9")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetScaleX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetScaleX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetScaleY)(THIS_ float) PURE;
|
||||
@ -78,24 +86,44 @@ DECLARE_INTERFACE_IID_(IDCompositionScaleTransform,IDCompositionTransform,"71fde
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetScaleX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetScaleX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetScaleY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetScaleY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionRotateTransform
|
||||
DECLARE_INTERFACE_IID_(IDCompositionRotateTransform,IDCompositionTransform,"641ed83c-ae96-46c5-90dc-32774cc5c6d5")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetAngle)(THIS_ float) PURE;
|
||||
STDMETHOD(SetAngle)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetAngle)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAngle)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionSkewTransform
|
||||
DECLARE_INTERFACE_IID_(IDCompositionSkewTransform,IDCompositionTransform,"e57aa735-dcdb-4c72-9c61-0591f58889ee")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetAngleX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetAngleX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAngleY)(THIS_ float) PURE;
|
||||
@ -104,6 +132,16 @@ DECLARE_INTERFACE_IID_(IDCompositionSkewTransform,IDCompositionTransform,"e57aa7
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetAngleX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAngleX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetAngleY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAngleY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
@ -111,26 +149,41 @@ DECLARE_INTERFACE_IID_(IDCompositionSkewTransform,IDCompositionTransform,"e57aa7
|
||||
DECLARE_INTERFACE_IID_(IDCompositionMatrixTransform,IDCompositionTransform,"16cdff07-c503-419c-83f2-0965c7af1fa6")
|
||||
{
|
||||
STDMETHOD(SetMatrix)(THIS_ const D2D_MATRIX_3X2_F&) PURE;
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,float) PURE;
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionTranslateTransform3D
|
||||
DECLARE_INTERFACE_IID_(IDCompositionTranslateTransform3D,IDCompositionTransform3D,"91636d4b-9ba1-4532-aaf7-e3344994d788")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetOffsetX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetZ)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetOffsetX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetZ)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionScaleTransform3D
|
||||
DECLARE_INTERFACE_IID_(IDCompositionScaleTransform3D,IDCompositionTransform3D,"2a9e9ead-364b-4b15-a7c4-a1997f78b389")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetScaleX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetScaleX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetScaleY)(THIS_ float) PURE;
|
||||
@ -143,12 +196,27 @@ DECLARE_INTERFACE_IID_(IDCompositionScaleTransform3D,IDCompositionTransform3D,"2
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetScaleX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetScaleX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetScaleY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetScaleY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetScaleZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetScaleZ)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionRotateTransform3D
|
||||
DECLARE_INTERFACE_IID_(IDCompositionRotateTransform3D,IDCompositionTransform3D,"d8f5b23f-d429-4a91-b55a-d2f45fd75b18")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetAngle)(THIS_ float) PURE;
|
||||
STDMETHOD(SetAngle)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAxisX)(THIS_ float) PURE;
|
||||
@ -163,6 +231,22 @@ DECLARE_INTERFACE_IID_(IDCompositionRotateTransform3D,IDCompositionTransform3D,"
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetAngle)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAngle)(THIS_ float) PURE;
|
||||
STDMETHOD(SetAxisX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAxisX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetAxisY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAxisY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetAxisZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetAxisZ)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetCenterZ)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
@ -170,16 +254,26 @@ DECLARE_INTERFACE_IID_(IDCompositionRotateTransform3D,IDCompositionTransform3D,"
|
||||
DECLARE_INTERFACE_IID_(IDCompositionMatrixTransform3D,IDCompositionTransform3D,"4b3363f0-643b-41b7-b6e0-ccf22d34467c")
|
||||
{
|
||||
STDMETHOD(SetMatrix)(THIS_ const D3DMATRIX&) PURE;
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,float) PURE;
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetMatrixElement)(THIS_ int,int,float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionEffectGroup
|
||||
DECLARE_INTERFACE_IID_(IDCompositionEffectGroup,IDCompositionEffect,"a7929a74-e6b2-4bd6-8b95-4040119ca34d")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetOpacity)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOpacity)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetOpacity)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOpacity)(THIS_ float) PURE;
|
||||
#endif
|
||||
STDMETHOD(SetTransform3D)(THIS_ IDCompositionTransform3D*) PURE;
|
||||
};
|
||||
|
||||
@ -193,6 +287,7 @@ DECLARE_INTERFACE_IID_(IDCompositionClip,IUnknown,"64ac3703-9d3f-45ec-a109-7cac0
|
||||
#define INTERFACE IDCompositionRectangleClip
|
||||
DECLARE_INTERFACE_IID_(IDCompositionRectangleClip,IDCompositionClip,"9842ad7d-d9cf-4908-aed7-48b51da5e7c2")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetLeft)(THIS_ float) PURE;
|
||||
STDMETHOD(SetLeft)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetTop)(THIS_ float) PURE;
|
||||
@ -217,24 +312,64 @@ DECLARE_INTERFACE_IID_(IDCompositionRectangleClip,IDCompositionClip,"9842ad7d-d9
|
||||
STDMETHOD(SetBottomRightRadiusX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetBottomRightRadiusY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetBottomRightRadiusY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetLeft)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetLeft)(THIS_ float) PURE;
|
||||
STDMETHOD(SetTop)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetTop)(THIS_ float) PURE;
|
||||
STDMETHOD(SetRight)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetRight)(THIS_ float) PURE;
|
||||
STDMETHOD(SetBottom)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetBottom)(THIS_ float) PURE;
|
||||
STDMETHOD(SetTopLeftRadiusX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetTopLeftRadiusX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetTopLeftRadiusY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetTopLeftRadiusY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetTopRightRadiusX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetTopRightRadiusX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetTopRightRadiusY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetTopRightRadiusY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetBottomLeftRadiusX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetBottomLeftRadiusX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetBottomLeftRadiusY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetBottomLeftRadiusY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetBottomRightRadiusX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetBottomRightRadiusX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetBottomRightRadiusY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetBottomRightRadiusY)(THIS_ float) PURE;
|
||||
#endif
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDCompositionVisual
|
||||
DECLARE_INTERFACE_IID_(IDCompositionVisual,IUnknown,"4d93059d-097b-4651-9a60-f0f25116e2f3")
|
||||
{
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetOffsetX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetTransform)(THIS_ const D2D_MATRIX_3X2_F&) PURE;
|
||||
STDMETHOD(SetTransform)(THIS_ IDCompositionTransform*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetOffsetX)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetX)(THIS_ float) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ IDCompositionAnimation*) PURE;
|
||||
STDMETHOD(SetOffsetY)(THIS_ float) PURE;
|
||||
STDMETHOD(SetTransform)(THIS_ IDCompositionTransform*) PURE;
|
||||
STDMETHOD(SetTransform)(THIS_ const D2D_MATRIX_3X2_F&) PURE;
|
||||
#endif
|
||||
STDMETHOD(SetTransformParent)(THIS_ IDCompositionVisual*) PURE;
|
||||
STDMETHOD(SetEffect)(THIS_ IDCompositionEffect*) PURE;
|
||||
STDMETHOD(SetBitmapInterpolationMode)(THIS_ DCOMPOSITION_BITMAP_INTERPOLATION_MODE) PURE;
|
||||
STDMETHOD(SetBorderMode)(THIS_ DCOMPOSITION_BORDER_MODE) PURE;
|
||||
#if defined(_MSC_VER) && defined(__cplusplus)
|
||||
STDMETHOD(SetClip)(THIS_ const D2D_RECT_F&) PURE;
|
||||
STDMETHOD(SetClip)(THIS_ IDCompositionClip*) PURE;
|
||||
#else
|
||||
STDMETHOD(SetClip)(THIS_ IDCompositionClip*) PURE;
|
||||
STDMETHOD(SetClip)(THIS_ const D2D_RECT_F&) PURE;
|
||||
#endif
|
||||
STDMETHOD(SetContent)(THIS_ IUnknown*) PURE;
|
||||
STDMETHOD(AddVisual)(THIS_ IDCompositionVisual*,BOOL,IDCompositionVisual*) PURE;
|
||||
STDMETHOD(RemoveVisual)(THIS_ IDCompositionVisual*) PURE;
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/dcompanimation.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dcompanimation.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,97 +0,0 @@
|
||||
/* $Id$
|
||||
*
|
||||
* COPYRIGHT: This file is in the public domain.
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE:
|
||||
* PURPOSE: Directx headers
|
||||
* PROGRAMMER: Magnus Olsen (greatlrd)
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __DDKM_INCLUDED__
|
||||
#define __DDKM_INCLUDED__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if defined (_WIN32) && !defined (_NO_COM)
|
||||
DEFINE_GUID (IID_IDirectDrawKernel, 0x8D56C120,0x6A08,0x11D0,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
|
||||
DEFINE_GUID (IID_IDirectDrawSurfaceKernel, 0x60755DA0,0x6A40,0x11D0,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
|
||||
#endif
|
||||
|
||||
typedef struct _DDKERNELCAPS {
|
||||
DWORD dwSize;
|
||||
DWORD dwCaps;
|
||||
DWORD dwIRQCaps;
|
||||
} DDKERNELCAPS, *LPDDKERNELCAPS;
|
||||
|
||||
#define DDKERNELCAPS_SKIPFIELDS 0x00000001
|
||||
#define DDKERNELCAPS_AUTOFLIP 0x00000002
|
||||
#define DDKERNELCAPS_SETSTATE 0x00000004
|
||||
#define DDKERNELCAPS_LOCK 0x00000008
|
||||
#define DDKERNELCAPS_FLIPVIDEOPORT 0x00000010
|
||||
#define DDKERNELCAPS_FLIPOVERLAY 0x00000020
|
||||
#define DDKERNELCAPS_CAPTURE_SYSMEM 0x00000040
|
||||
#define DDKERNELCAPS_CAPTURE_NONLOCALVIDMEM 0x00000080
|
||||
#define DDKERNELCAPS_FIELDPOLARITY 0x00000100
|
||||
#define DDKERNELCAPS_CAPTURE_INVERTED 0x00000200
|
||||
#define DDIRQ_DISPLAY_VSYNC 0x00000001
|
||||
#define DDIRQ_RESERVED1 0x00000002
|
||||
#define DDIRQ_VPORT0_VSYNC 0x00000004
|
||||
#define DDIRQ_VPORT0_LINE 0x00000008
|
||||
#define DDIRQ_VPORT1_VSYNC 0x00000010
|
||||
#define DDIRQ_VPORT1_LINE 0x00000020
|
||||
#define DDIRQ_VPORT2_VSYNC 0x00000040
|
||||
#define DDIRQ_VPORT2_LINE 0x00000080
|
||||
#define DDIRQ_VPORT3_VSYNC 0x00000100
|
||||
#define DDIRQ_VPORT3_LINE 0x00000200
|
||||
#define DDIRQ_VPORT4_VSYNC 0x00000400
|
||||
#define DDIRQ_VPORT4_LINE 0x00000800
|
||||
#define DDIRQ_VPORT5_VSYNC 0x00001000
|
||||
#define DDIRQ_VPORT5_LINE 0x00002000
|
||||
#define DDIRQ_VPORT6_VSYNC 0x00004000
|
||||
#define DDIRQ_VPORT6_LINE 0x00008000
|
||||
#define DDIRQ_VPORT7_VSYNC 0x00010000
|
||||
#define DDIRQ_VPORT7_LINE 0x00020000
|
||||
#define DDIRQ_VPORT8_VSYNC 0x00040000
|
||||
#define DDIRQ_VPORT8_LINE 0x00080000
|
||||
#define DDIRQ_VPORT9_VSYNC 0x00010000
|
||||
#define DDIRQ_VPORT9_LINE 0x00020000
|
||||
|
||||
typedef struct IDirectDrawKernel* LPDIRECTDRAWKERNEL;
|
||||
typedef struct IDirectDrawSurfaceKernel* LPDIRECTDRAWSURFACEKERNEL;
|
||||
|
||||
#if defined(_WIN32) && !defined(_NO_COM)
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDirectDrawKernel
|
||||
DECLARE_INTERFACE_ (IDirectDrawKernel, IUnknown)
|
||||
{
|
||||
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE;
|
||||
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||
STDMETHOD(GetKernelHandle) (THIS_ ULONG*) PURE;
|
||||
STDMETHOD(ReleaseKernelHandle) (THIS) PURE;
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDirectDrawSurfaceKernel
|
||||
DECLARE_INTERFACE_ (IDirectDrawSurfaceKernel, IUnknown)
|
||||
{
|
||||
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID* ppvObj) PURE;
|
||||
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||
STDMETHOD(GetKernelHandle) (THIS_ ULONG*) PURE;
|
||||
STDMETHOD(ReleaseKernelHandle) (THIS) PURE;
|
||||
};
|
||||
|
||||
#undef INTERFACE
|
||||
#endif /* defined(_WIN32) && !defined(_NO_COM) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
@ -1,307 +0,0 @@
|
||||
/*
|
||||
* ddkmapi.h
|
||||
*
|
||||
* DirectDraw support for DxApi function
|
||||
*
|
||||
* Contributors:
|
||||
* Created by Magnus Olsen
|
||||
*
|
||||
* THIS SOFTWARE IS NOT COPYRIGHTED
|
||||
*
|
||||
* This source code is offered for use in the public domain. You may
|
||||
* use, modify or distribute it freely.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful but
|
||||
* WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
|
||||
* DISCLAIMED. This includes but is not limited to warranties of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __DDKMAPI_INCLUDED__
|
||||
#define __DDKMAPI_INCLUDED__
|
||||
|
||||
#if defined(_DXAPI_)
|
||||
#define DXAPI
|
||||
#else
|
||||
#define DXAPI DECLSPEC_IMPORT
|
||||
#endif
|
||||
|
||||
#define DXAPI_MAJORVERSION 1
|
||||
#define DXAPI_MINORVERSION 0
|
||||
|
||||
#define DD_FIRST_DXAPI 0x500
|
||||
#define DD_DXAPI_GETVERSIONNUMBER (DD_FIRST_DXAPI)
|
||||
#define DD_DXAPI_CLOSEHANDLE (DD_FIRST_DXAPI+1)
|
||||
#define DD_DXAPI_OPENDIRECTDRAW (DD_FIRST_DXAPI+2)
|
||||
#define DD_DXAPI_OPENSURFACE (DD_FIRST_DXAPI+3)
|
||||
#define DD_DXAPI_OPENVIDEOPORT (DD_FIRST_DXAPI+4)
|
||||
#define DD_DXAPI_GETKERNELCAPS (DD_FIRST_DXAPI+5)
|
||||
#define DD_DXAPI_GET_VP_FIELD_NUMBER (DD_FIRST_DXAPI+6)
|
||||
#define DD_DXAPI_SET_VP_FIELD_NUMBER (DD_FIRST_DXAPI+7)
|
||||
#define DD_DXAPI_SET_VP_SKIP_FIELD (DD_FIRST_DXAPI+8)
|
||||
#define DD_DXAPI_GET_SURFACE_STATE (DD_FIRST_DXAPI+9)
|
||||
#define DD_DXAPI_SET_SURFACE_STATE (DD_FIRST_DXAPI+10)
|
||||
#define DD_DXAPI_LOCK (DD_FIRST_DXAPI+11)
|
||||
#define DD_DXAPI_FLIP_OVERLAY (DD_FIRST_DXAPI+12)
|
||||
#define DD_DXAPI_FLIP_VP (DD_FIRST_DXAPI+13)
|
||||
#define DD_DXAPI_GET_CURRENT_VP_AUTOFLIP_SURFACE (DD_FIRST_DXAPI+14)
|
||||
#define DD_DXAPI_GET_LAST_VP_AUTOFLIP_SURFACE (DD_FIRST_DXAPI+15)
|
||||
#define DD_DXAPI_REGISTER_CALLBACK (DD_FIRST_DXAPI+16)
|
||||
#define DD_DXAPI_UNREGISTER_CALLBACK (DD_FIRST_DXAPI+17)
|
||||
#define DD_DXAPI_GET_POLARITY (DD_FIRST_DXAPI+18)
|
||||
#define DD_DXAPI_OPENVPCAPTUREDEVICE (DD_FIRST_DXAPI+19)
|
||||
#define DD_DXAPI_ADDVPCAPTUREBUFFER (DD_FIRST_DXAPI+20)
|
||||
#define DD_DXAPI_FLUSHVPCAPTUREBUFFERS (DD_FIRST_DXAPI+21)
|
||||
|
||||
/* DDOPENVPCAPTUREDEVICEIN.dwFlags constants */
|
||||
#define DDOPENCAPTURE_VIDEO 0x0001
|
||||
#define DDOPENCAPTURE_VBI 0x0002
|
||||
|
||||
/* DDADDVPCAPTUREBUFF.dwFlags constants */
|
||||
#define DDADDBUFF_SYSTEMMEMORY 0x0001
|
||||
#define DDADDBUFF_NONLOCALVIDMEM 0x0002
|
||||
#define DDADDBUFF_INVERT 0x0004
|
||||
|
||||
/* DDGETSURFACESTATEOUT.dwStateCaps/dwStateStatus constants */
|
||||
#define DDSTATE_BOB 0x0001
|
||||
#define DDSTATE_WEAVE 0x0002
|
||||
#define DDSTATE_EXPLICITLY_SET 0x0004
|
||||
#define DDSTATE_SOFTWARE_AUTOFLIP 0x0008
|
||||
#define DDSTATE_SKIPEVENFIELDS 0x0010
|
||||
|
||||
/* DDREGISTERCALLBACK.dwEvents constants */
|
||||
#define DDEVENT_DISPLAY_VSYNC 0x0001
|
||||
#define DDEVENT_VP_VSYNC 0x0002
|
||||
#define DDEVENT_VP_LINE 0x0004
|
||||
#define DDEVENT_PRERESCHANGE 0x0008
|
||||
#define DDEVENT_POSTRESCHANGE 0x0010
|
||||
#define DDEVENT_PREDOSBOX 0x0020
|
||||
#define DDEVENT_POSTDOSBOX 0x0040
|
||||
|
||||
/* LPDD_NOTIFYCALLBACK.dwFlags constants */
|
||||
#define DDNOTIFY_DISPLAY_VSYNC 0x0001
|
||||
#define DDNOTIFY_VP_VSYNC 0x0002
|
||||
#define DDNOTIFY_VP_LINE 0x0004
|
||||
#define DDNOTIFY_PRERESCHANGE 0x0008
|
||||
#define DDNOTIFY_POSTRESCHANGE 0x0010
|
||||
#define DDNOTIFY_PREDOSBOX 0x0020
|
||||
#define DDNOTIFY_POSTDOSBOX 0x0040
|
||||
#define DDNOTIFY_CLOSEDIRECTDRAW 0x0080
|
||||
#define DDNOTIFY_CLOSESURFACE 0x0100
|
||||
#define DDNOTIFY_CLOSEVIDEOPORT 0x0200
|
||||
#define DDNOTIFY_CLOSECAPTURE 0x0400
|
||||
|
||||
typedef DWORD (PASCAL *LPDXAPI)(DWORD dwFunctionNum, LPVOID lpvInBuffer, DWORD cbInBuffer, LPVOID lpvOutBuffer, DWORD cbOutBuffer);
|
||||
typedef ULONG (PASCAL *LPDD_NOTIFYCALLBACK) (DWORD dwFlags, PVOID pContext, DWORD dwParam1, DWORD dwParam2);
|
||||
|
||||
typedef struct _DDCAPBUFFINFO {
|
||||
DWORD dwFieldNumber;
|
||||
DWORD bPolarity;
|
||||
LARGE_INTEGER liTimeStamp;
|
||||
DWORD ddRVal;
|
||||
} DDCAPBUFFINFO, * LPDDCAPBUFFINFO;
|
||||
|
||||
typedef struct _DDADDVPCAPTUREBUFF {
|
||||
HANDLE hCapture;
|
||||
DWORD dwFlags;
|
||||
PMDL pMDL;
|
||||
PKEVENT pKEvent;
|
||||
LPDDCAPBUFFINFO lpBuffInfo;
|
||||
} DDADDVPCAPTUREBUFF, * LPDDADDVPCAPTUREBUFF;
|
||||
|
||||
typedef struct _DDCLOSEHANDLE {
|
||||
HANDLE hHandle;
|
||||
} DDCLOSEHANDLE, *LPDDCLOSEHANDLE;
|
||||
|
||||
typedef struct _DDFLIPOVERLAY {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hCurrentSurface;
|
||||
HANDLE hTargetSurface;
|
||||
DWORD dwFlags;
|
||||
} DDFLIPOVERLAY, *LPDDFLIPOVERLAY;
|
||||
|
||||
typedef struct _DDFLIPVIDEOPORT {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hVideoPort;
|
||||
HANDLE hCurrentSurface;
|
||||
HANDLE hTargetSurface;
|
||||
DWORD dwFlags;
|
||||
} DDFLIPVIDEOPORT, *LPDDFLIPVIDEOPORT;
|
||||
|
||||
typedef struct _DDGETAUTOFLIPIN {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hVideoPort;
|
||||
} DDGETAUTOFLIPIN, *LPDDGETAUTOFLIPIN;
|
||||
|
||||
typedef struct _DDGETAUTOFLIPOUT {
|
||||
DWORD ddRVal;
|
||||
HANDLE hVideoSurface;
|
||||
HANDLE hVBISurface;
|
||||
WINBOOL bPolarity;
|
||||
} DDGETAUTOFLIPOUT, *LPDDGETAUTOFLIPOUT;
|
||||
|
||||
typedef struct _DDGETPOLARITYIN {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hVideoPort;
|
||||
} DDGETPOLARITYIN, *LPDDGETPOLARITYIN;
|
||||
|
||||
typedef struct _DDGETPOLARITYOUT {
|
||||
DWORD ddRVal;
|
||||
WINBOOL bPolarity;
|
||||
} DDGETPOLARITYOUT, *LPDDGETPOLARITYOUT;
|
||||
|
||||
typedef struct _DDGETSURFACESTATEIN {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hSurface;
|
||||
} DDGETSURFACESTATEIN, *LPDDGETSURFACESTATEIN;
|
||||
|
||||
typedef struct _DDGETSURFACESTATEOUT {
|
||||
DWORD ddRVal;
|
||||
DWORD dwStateCaps;
|
||||
DWORD dwStateStatus;
|
||||
} DDGETSURFACESTATEOUT, *LPDDGETSURFACESTATEOUT;
|
||||
|
||||
typedef struct _DDGETFIELDNUMIN {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hVideoPort;
|
||||
} DDGETFIELDNUMIN, *LPDDGETFIELDNUMIN;
|
||||
|
||||
typedef struct _DDGETFIELDNUMOUT {
|
||||
DWORD ddRVal;
|
||||
DWORD dwFieldNum;
|
||||
} DDGETFIELDNUMOUT, *LPDDGETFIELDNUMOUT;
|
||||
|
||||
typedef struct _DDGETKERNELCAPSOUT {
|
||||
DWORD ddRVal;
|
||||
DWORD dwCaps;
|
||||
DWORD dwIRQCaps;
|
||||
} DDGETKERNELCAPSOUT, *LPDDGETKERNELCAPSOUT;
|
||||
|
||||
typedef struct _DDGETVERSIONNUMBER {
|
||||
DWORD ddRVal;
|
||||
DWORD dwMajorVersion;
|
||||
DWORD dwMinorVersion;
|
||||
} DDGETVERSIONNUMBER, *LPDDGETVERSIONNUMBER;
|
||||
|
||||
typedef struct _DDLOCKIN {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hSurface;
|
||||
} DDLOCKIN, *LPDDLOCKIN;
|
||||
|
||||
typedef struct _DDLOCKOUT {
|
||||
DWORD ddRVal;
|
||||
DWORD dwSurfHeight;
|
||||
DWORD dwSurfWidth;
|
||||
LONG lSurfPitch;
|
||||
PVOID lpSurface;
|
||||
DWORD SurfaceCaps;
|
||||
DWORD dwFormatFlags;
|
||||
DWORD dwFormatFourCC;
|
||||
DWORD dwFormatBitCount;
|
||||
__GNU_EXTENSION union {
|
||||
DWORD dwRBitMask;
|
||||
DWORD dwYBitMask;
|
||||
};
|
||||
__GNU_EXTENSION union {
|
||||
DWORD dwGBitMask;
|
||||
DWORD dwUBitMask;
|
||||
};
|
||||
__GNU_EXTENSION union {
|
||||
DWORD dwBBitMask;
|
||||
DWORD dwVBitMask;
|
||||
};
|
||||
} DDLOCKOUT, *LPDDLOCKOUT;
|
||||
|
||||
|
||||
typedef struct _DDOPENDIRECTDRAWIN {
|
||||
ULONG_PTR dwDirectDrawHandle;
|
||||
LPDD_NOTIFYCALLBACK pfnDirectDrawClose;
|
||||
PVOID pContext;
|
||||
} DDOPENDIRECTDRAWIN, *LPDDOPENDIRECTDRAWIN;
|
||||
|
||||
typedef struct _DDOPENDIRECTDRAWOUT {
|
||||
DWORD ddRVal;
|
||||
HANDLE hDirectDraw;
|
||||
} DDOPENDIRECTDRAWOUT, *LPDDOPENDIRECTDRAWOUT;
|
||||
|
||||
typedef struct _DDOPENSURFACEIN {
|
||||
HANDLE hDirectDraw;
|
||||
ULONG_PTR dwSurfaceHandle;
|
||||
LPDD_NOTIFYCALLBACK pfnSurfaceClose;
|
||||
PVOID pContext;
|
||||
} DDOPENSURFACEIN, *LPDDOPENSURFACEIN;
|
||||
|
||||
typedef struct _DDOPENSURFACEOUT {
|
||||
DWORD ddRVal;
|
||||
HANDLE hSurface;
|
||||
} DDOPENSURFACEOUT, *LPDDOPENSURFACEOUT;
|
||||
|
||||
typedef struct _DDOPENVIDEOPORTIN {
|
||||
HANDLE hDirectDraw;
|
||||
ULONG dwVideoPortHandle;
|
||||
LPDD_NOTIFYCALLBACK pfnVideoPortClose;
|
||||
PVOID pContext;
|
||||
} DDOPENVIDEOPORTIN, *LPDDOPENVIDEOPORTIN;
|
||||
|
||||
typedef struct _DDOPENVIDEOPORTOUT {
|
||||
DWORD ddRVal;
|
||||
HANDLE hVideoPort;
|
||||
} DDOPENVIDEOPORTOUT, *LPDDOPENVIDEOPORTOUT;
|
||||
|
||||
typedef struct _DDOPENVPCAPTUREDEVICEIN {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hVideoPort;
|
||||
DWORD dwStartLine;
|
||||
DWORD dwEndLine;
|
||||
DWORD dwCaptureEveryNFields;
|
||||
LPDD_NOTIFYCALLBACK pfnCaptureClose;
|
||||
PVOID pContext;
|
||||
DWORD dwFlags;
|
||||
} DDOPENVPCAPTUREDEVICEIN, *LPDDOPENVPCAPTUREDEVICEIN;
|
||||
|
||||
typedef struct _DDOPENVPCAPTUREDEVICEOUT {
|
||||
DWORD ddRVal;
|
||||
HANDLE hCapture;
|
||||
} DDOPENVPCAPTUREDEVICEOUT, *LPDDOPENVPCAPTUREDEVICEOUT;
|
||||
|
||||
typedef struct _DDREGISTERCALLBACK {
|
||||
HANDLE hDirectDraw;
|
||||
ULONG dwEvents;
|
||||
LPDD_NOTIFYCALLBACK pfnCallback;
|
||||
ULONG_PTR dwParam1;
|
||||
ULONG_PTR dwParam2;
|
||||
PVOID pContext;
|
||||
} DDREGISTERCALLBACK, *LPDDREGISTERCALLBACK;
|
||||
|
||||
typedef struct _DDSETSURFACETATE {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hSurface;
|
||||
DWORD dwState;
|
||||
DWORD dwStartField;
|
||||
} DDSETSURFACESTATE, *LPDDSETSURFACESTATE;
|
||||
|
||||
typedef struct _DDSETFIELDNUM {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hVideoPort;
|
||||
DWORD dwFieldNum;
|
||||
} DDSETFIELDNUM, *LPDDSETFIELDNUM;
|
||||
|
||||
typedef struct _DDSETSKIPFIELD {
|
||||
HANDLE hDirectDraw;
|
||||
HANDLE hVideoPort;
|
||||
DWORD dwStartField;
|
||||
} DDSETSKIPFIELD, *LPDDSETSKIPFIELD;
|
||||
|
||||
|
||||
DXAPI
|
||||
DWORD PASCAL
|
||||
DxApi(IN DWORD dwFunctionNum,
|
||||
IN LPVOID lpvInBuffer,
|
||||
IN DWORD cbInBuffer,
|
||||
OUT LPVOID lpvOutBuffer,
|
||||
OUT DWORD cbOutBuffer);
|
||||
|
||||
|
||||
#endif /* __DDKMAPI_INCLUDED__ */
|
||||
|
||||
@ -228,6 +228,10 @@ typedef struct IDirectDrawGammaControl *LPDIRECTDRAWGAMMACONTROL;
|
||||
#define DDBLT_WAIT 0x01000000
|
||||
#define DDBLT_DEPTHFILL 0x02000000
|
||||
#define DDBLT_DONOTWAIT 0x08000000
|
||||
#define DDBLT_PRESENTATION 0x10000000
|
||||
#define DDBLT_LAST_PRESENTATION 0x20000000
|
||||
#define DDBLT_EXTENDED_FLAGS 0x40000000
|
||||
#define DDBLT_EXTENDED_LINEAR_CONTENT 0x00000004
|
||||
|
||||
/* dwTrans for BltFast */
|
||||
#define DDBLTFAST_NOCOLORKEY 0x00000000
|
||||
@ -367,6 +371,30 @@ typedef struct _DDSCAPS {
|
||||
/* indicates surface is part of a stereo flipping chain */
|
||||
#define DDSCAPS2_STEREOSURFACELEFT 0x00080000
|
||||
#define DDSCAPS2_VOLUME 0x00200000
|
||||
#define DDSCAPS2_NOTUSERLOCKABLE 0x00400000
|
||||
#define DDSCAPS2_POINTS 0x00800000
|
||||
#define DDSCAPS2_RTPATCHES 0x01000000
|
||||
#define DDSCAPS2_NPATCHES 0x02000000
|
||||
#define DDSCAPS2_RESERVED3 0x04000000
|
||||
#define DDSCAPS2_DISCARDBACKBUFFER 0x10000000
|
||||
#define DDSCAPS2_ENABLEALPHACHANNEL 0x20000000
|
||||
#define DDSCAPS2_EXTENDEDFORMATPRIMARY 0x40000000
|
||||
#define DDSCAPS2_ADDITIONALPRIMARY 0x80000000
|
||||
|
||||
/* DDSCAPS2.dwCaps3 */
|
||||
#define DDSCAPS3_MULTISAMPLE_MASK 0x0000001f
|
||||
#define DDSCAPS3_MULTISAMPLE_QUALITY_MASK 0x000000e0
|
||||
#define DDSCAPS3_MULTISAMPLE_QUALITY_SHIFT 5
|
||||
#define DDSCAPS3_RESERVED1 0x00000100
|
||||
#define DDSCAPS3_RESERVED2 0x00000200
|
||||
#define DDSCAPS3_LIGHTWEIGHTMIPMAP 0x00000400
|
||||
#define DDSCAPS3_AUTOGENMIPMAP 0x00000800
|
||||
#define DDSCAPS3_DMAP 0x00001000
|
||||
#ifndef D3D_DISABLE_9EX
|
||||
#define DDSCAPS3_CREATESHAREDRESOURCE 0x00002000
|
||||
#define DDSCAPS3_READONLYRESOURCE 0x00004000
|
||||
#define DDSCAPS3_OPENSHAREDRESOURCE 0x00008000
|
||||
#endif /* !D3D_DISABLE_9EX */
|
||||
|
||||
typedef struct _DDSCAPS2 {
|
||||
DWORD dwCaps; /* capabilities of surface wanted */
|
||||
@ -753,6 +781,7 @@ typedef struct _DDPIXELFORMAT {
|
||||
DWORD dwAlphaBitDepth; /* C: how many bits for alpha channels*/
|
||||
DWORD dwLuminanceBitCount;
|
||||
DWORD dwBumpBitCount;
|
||||
DWORD dwPrivateFormatBitCount;
|
||||
} DUMMYUNIONNAME1;
|
||||
__GNU_EXTENSION union {
|
||||
DWORD dwRBitMask; /* 10: mask for red bit*/
|
||||
@ -760,12 +789,17 @@ typedef struct _DDPIXELFORMAT {
|
||||
DWORD dwStencilBitDepth;
|
||||
DWORD dwLuminanceBitMask;
|
||||
DWORD dwBumpDuBitMask;
|
||||
DWORD dwOperations;
|
||||
} DUMMYUNIONNAME2;
|
||||
__GNU_EXTENSION union {
|
||||
DWORD dwGBitMask; /* 14: mask for green bits*/
|
||||
DWORD dwUBitMask; /* 14: mask for U bits*/
|
||||
DWORD dwZBitMask;
|
||||
DWORD dwBumpDvBitMask;
|
||||
struct {
|
||||
WORD wFlipMSTypes;
|
||||
WORD wBltMSTypes;
|
||||
} MultiSampleCaps;
|
||||
} DUMMYUNIONNAME3;
|
||||
__GNU_EXTENSION union {
|
||||
DWORD dwBBitMask; /* 18: mask for blue bits*/
|
||||
@ -899,6 +933,9 @@ typedef struct _DDPIXELFORMAT {
|
||||
#define DDOVER_BOB 0x00200000
|
||||
#define DDOVER_OVERRIDEBOBWEAVE 0x00400000
|
||||
#define DDOVER_INTERLEAVED 0x00800000
|
||||
#define DDOVER_BOBHARDWARE 0x01000000
|
||||
#define DDOVER_ARGBSCALEFACTORS 0x02000000
|
||||
#define DDOVER_DEGRADEARGBSCALING 0x04000000
|
||||
|
||||
/* DDPIXELFORMAT.dwFlags */
|
||||
#define DDPF_ALPHAPIXELS 0x00000001
|
||||
@ -1098,6 +1135,10 @@ typedef HRESULT (CALLBACK *LPDDENUMSURFACESCALLBACK)(LPDIRECTDRAWSURFACE, LPDDSU
|
||||
typedef HRESULT (CALLBACK *LPDDENUMSURFACESCALLBACK2)(LPDIRECTDRAWSURFACE4, LPDDSURFACEDESC2, LPVOID);
|
||||
typedef HRESULT (CALLBACK *LPDDENUMSURFACESCALLBACK7)(LPDIRECTDRAWSURFACE7, LPDDSURFACEDESC2, LPVOID);
|
||||
|
||||
#if (WINVER < 0x0500) && !defined(HMONITOR_DECLARED)
|
||||
DECLARE_HANDLE(HMONITOR);
|
||||
#define HMONITOR_DECLARED 1
|
||||
#endif
|
||||
typedef WINBOOL (CALLBACK *LPDDENUMCALLBACKEXA)(GUID *, LPSTR, LPSTR, LPVOID, HMONITOR);
|
||||
typedef WINBOOL (CALLBACK *LPDDENUMCALLBACKEXW)(GUID *, LPWSTR, LPWSTR, LPVOID, HMONITOR);
|
||||
DECL_WINELIB_TYPE_AW(LPDDENUMCALLBACKEX)
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/ddstream.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/ddstream.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,88 +0,0 @@
|
||||
/*
|
||||
* Copyright 2004 Christian Costa
|
||||
*
|
||||
* 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
*/
|
||||
|
||||
import "unknwn.idl";
|
||||
import "mmstream.idl";
|
||||
|
||||
cpp_quote("#ifndef __DDRAW_INCLUDED__")
|
||||
typedef void * LPDDSURFACEDESC;
|
||||
typedef struct tDDSURFACEDESC DDSURFACEDESC;
|
||||
interface IDirectDraw;
|
||||
interface IDirectDrawSurface;
|
||||
interface IDirectDrawPalette;
|
||||
cpp_quote("#endif")
|
||||
cpp_quote("#include <ddraw.h>")
|
||||
|
||||
enum {
|
||||
DDSFF_PROGRESSIVERENDER = 0x00000001
|
||||
};
|
||||
|
||||
interface IDirectDrawMediaStream;
|
||||
interface IDirectDrawStreamSample;
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(F4104FCE-9A70-11d0-8FDE-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDirectDrawMediaStream : IMediaStream
|
||||
{
|
||||
HRESULT GetFormat(
|
||||
[out] DDSURFACEDESC *pDDSDCurrent,
|
||||
[out] IDirectDrawPalette **ppDirectDrawPalette,
|
||||
[out] DDSURFACEDESC *pDDSDDesired,
|
||||
[out] DWORD *pdwFlags);
|
||||
|
||||
HRESULT SetFormat(
|
||||
[in] const DDSURFACEDESC *pDDSurfaceDesc,
|
||||
[in] IDirectDrawPalette *pDirectDrawPalette);
|
||||
|
||||
HRESULT GetDirectDraw(
|
||||
[out] IDirectDraw **ppDirectDraw);
|
||||
|
||||
HRESULT SetDirectDraw(
|
||||
[in] IDirectDraw *pDirectDraw);
|
||||
|
||||
HRESULT CreateSample(
|
||||
[in] IDirectDrawSurface *pSurface,
|
||||
[in] const RECT *pRect,
|
||||
[in] DWORD dwFlags,
|
||||
[out] IDirectDrawStreamSample **ppSample);
|
||||
|
||||
HRESULT GetTimePerFrame(
|
||||
[out] STREAM_TIME *pFrameTime);
|
||||
}
|
||||
|
||||
|
||||
[
|
||||
object,
|
||||
local,
|
||||
uuid(F4104FCF-9A70-11d0-8FDE-00C04FD9189D),
|
||||
pointer_default(unique)
|
||||
]
|
||||
interface IDirectDrawStreamSample : IStreamSample
|
||||
{
|
||||
HRESULT GetSurface(
|
||||
[out] IDirectDrawSurface ** ppDirectDrawSurface,
|
||||
[out] RECT * pRect);
|
||||
|
||||
HRESULT SetRect(
|
||||
[in] const RECT * pRect);
|
||||
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/devicetopology.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/devicetopology.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -3110,6 +3110,8 @@ static FORCEINLINE HRESULT IDeviceTopology_GetSignalPath(IDeviceTopology* This,I
|
||||
|
||||
#endif /* __IDeviceTopology_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __DevTopologyLib_LIBRARY_DEFINED__
|
||||
#define __DevTopologyLib_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_DevTopologyLib, 0x51b9a01d, 0x8181, 0x4363, 0xb5,0x9c, 0xe6,0x78,0xf4,0x76,0xdd,0x0e);
|
||||
|
||||
@ -3126,6 +3128,7 @@ __CRT_UUID_DECL(DeviceTopology, 0x1df639d0, 0x5ec1, 0x47aa, 0x93,0x79, 0x82,0x8d
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __DevTopologyLib_LIBRARY_DEFINED__ */
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/dimm.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dimm.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -131,21 +131,23 @@ interface IEnumRegisterWordW;
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
#ifndef __ActiveIMM_LIBRARY_DEFINED__
|
||||
#define __ActiveIMM_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_ActiveIMM, 0x4955dd30, 0xb159, 0x11d0, 0x8f,0xcf, 0x00,0xaa,0x00,0x6b,0xcc,0x59);
|
||||
|
||||
#include <imm.h>
|
||||
#if 0
|
||||
typedef WORD LANGID;
|
||||
typedef struct __WIDL_dimm_generated_name_00000002 {
|
||||
typedef struct __WIDL_dimm_generated_name_0000000C {
|
||||
LPSTR lpReading;
|
||||
LPSTR lpWord;
|
||||
} REGISTERWORDA;
|
||||
typedef struct __WIDL_dimm_generated_name_00000003 {
|
||||
typedef struct __WIDL_dimm_generated_name_0000000D {
|
||||
LPWSTR lpReading;
|
||||
LPWSTR lpWord;
|
||||
} REGISTERWORDW;
|
||||
typedef struct __WIDL_dimm_generated_name_00000004 {
|
||||
typedef struct __WIDL_dimm_generated_name_0000000E {
|
||||
LONG lfHeight;
|
||||
LONG lfWidth;
|
||||
LONG lfEscapement;
|
||||
@ -161,7 +163,7 @@ typedef struct __WIDL_dimm_generated_name_00000004 {
|
||||
BYTE lfPitchAndFamily;
|
||||
CHAR lfFaceName[32];
|
||||
} LOGFONTA;
|
||||
typedef struct __WIDL_dimm_generated_name_00000005 {
|
||||
typedef struct __WIDL_dimm_generated_name_0000000F {
|
||||
LONG lfHeight;
|
||||
LONG lfWidth;
|
||||
LONG lfEscapement;
|
||||
@ -179,18 +181,18 @@ typedef struct __WIDL_dimm_generated_name_00000005 {
|
||||
} LOGFONTW;
|
||||
typedef DWORD HIMC;
|
||||
typedef DWORD HIMCC;
|
||||
typedef struct __WIDL_dimm_generated_name_00000006 {
|
||||
typedef struct __WIDL_dimm_generated_name_00000010 {
|
||||
DWORD dwIndex;
|
||||
DWORD dwStyle;
|
||||
POINT ptCurrentPos;
|
||||
RECT rcArea;
|
||||
} CANDIDATEFORM;
|
||||
typedef struct __WIDL_dimm_generated_name_00000007 {
|
||||
typedef struct __WIDL_dimm_generated_name_00000011 {
|
||||
DWORD dwStyle;
|
||||
POINT ptCurrentPos;
|
||||
RECT rcArea;
|
||||
} COMPOSITIONFORM;
|
||||
typedef struct __WIDL_dimm_generated_name_00000008 {
|
||||
typedef struct __WIDL_dimm_generated_name_00000012 {
|
||||
DWORD dwSize;
|
||||
DWORD dwStyle;
|
||||
DWORD dwCount;
|
||||
@ -199,16 +201,16 @@ typedef struct __WIDL_dimm_generated_name_00000008 {
|
||||
DWORD dwPageSize;
|
||||
DWORD dwOffset[1];
|
||||
} CANDIDATELIST;
|
||||
typedef struct __WIDL_dimm_generated_name_00000009 {
|
||||
typedef struct __WIDL_dimm_generated_name_00000013 {
|
||||
DWORD dwStyle;
|
||||
CHAR szDescription[32];
|
||||
} STYLEBUFA;
|
||||
typedef struct __WIDL_dimm_generated_name_0000000A {
|
||||
typedef struct __WIDL_dimm_generated_name_00000014 {
|
||||
DWORD dwStyle;
|
||||
WCHAR szDescription[32];
|
||||
} STYLEBUFW;
|
||||
typedef WORD ATOM;
|
||||
typedef struct __WIDL_dimm_generated_name_0000000B {
|
||||
typedef struct __WIDL_dimm_generated_name_00000015 {
|
||||
UINT cbSize;
|
||||
UINT fType;
|
||||
UINT fState;
|
||||
@ -219,7 +221,7 @@ typedef struct __WIDL_dimm_generated_name_0000000B {
|
||||
CHAR szString[80];
|
||||
HBITMAP hbmpItem;
|
||||
} IMEMENUITEMINFOA;
|
||||
typedef struct __WIDL_dimm_generated_name_0000000C {
|
||||
typedef struct __WIDL_dimm_generated_name_00000016 {
|
||||
UINT cbSize;
|
||||
UINT fType;
|
||||
UINT fState;
|
||||
@ -232,7 +234,7 @@ typedef struct __WIDL_dimm_generated_name_0000000C {
|
||||
} IMEMENUITEMINFOW;
|
||||
#endif
|
||||
#ifndef _DDKIMM_H_
|
||||
typedef struct __WIDL_dimm_generated_name_0000000D {
|
||||
typedef struct __WIDL_dimm_generated_name_00000017 {
|
||||
HWND hWnd;
|
||||
WINBOOL fOpen;
|
||||
POINT ptStatusWndPos;
|
||||
@ -254,7 +256,7 @@ typedef struct __WIDL_dimm_generated_name_0000000D {
|
||||
DWORD fdwInit;
|
||||
DWORD dwReserve[3];
|
||||
} INPUTCONTEXT;
|
||||
typedef struct __WIDL_dimm_generated_name_0000000E {
|
||||
typedef struct __WIDL_dimm_generated_name_00000018 {
|
||||
DWORD dwPrivateDataSize;
|
||||
DWORD fdwProperty;
|
||||
DWORD fdwConversionCaps;
|
||||
@ -4001,6 +4003,7 @@ __CRT_UUID_DECL(CActiveIMM, 0x4955dd33, 0xb159, 0x11d0, 0x8f,0xcf, 0x00,0xaa,0x0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* __ActiveIMM_LIBRARY_DEFINED__ */
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
@ -474,8 +474,8 @@ DECL_WINELIB_TYPE_AW(DIDEVICEINSTANCE)
|
||||
DECL_WINELIB_TYPE_AW(LPDIDEVICEINSTANCE)
|
||||
DECL_WINELIB_TYPE_AW(LPCDIDEVICEINSTANCE)
|
||||
|
||||
typedef BOOL (CALLBACK *LPDIENUMDEVICESCALLBACKA)(LPCDIDEVICEINSTANCEA,LPVOID);
|
||||
typedef BOOL (CALLBACK *LPDIENUMDEVICESCALLBACKW)(LPCDIDEVICEINSTANCEW,LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMDEVICESCALLBACKA)(LPCDIDEVICEINSTANCEA,LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMDEVICESCALLBACKW)(LPCDIDEVICEINSTANCEW,LPVOID);
|
||||
DECL_WINELIB_TYPE_AW(LPDIENUMDEVICESCALLBACK)
|
||||
|
||||
#define DIEDBS_MAPPEDPRI1 0x00000001
|
||||
@ -492,19 +492,19 @@ DECL_WINELIB_TYPE_AW(LPDIENUMDEVICESCALLBACK)
|
||||
#define DIEDBSFL_VALID 0x00007110
|
||||
|
||||
#if DIRECTINPUT_VERSION >= 0x0800
|
||||
typedef BOOL (CALLBACK *LPDIENUMDEVICESBYSEMANTICSCBA)(LPCDIDEVICEINSTANCEA,LPDIRECTINPUTDEVICE8A,DWORD,DWORD,LPVOID);
|
||||
typedef BOOL (CALLBACK *LPDIENUMDEVICESBYSEMANTICSCBW)(LPCDIDEVICEINSTANCEW,LPDIRECTINPUTDEVICE8W,DWORD,DWORD,LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMDEVICESBYSEMANTICSCBA)(LPCDIDEVICEINSTANCEA,LPDIRECTINPUTDEVICE8A,DWORD,DWORD,LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMDEVICESBYSEMANTICSCBW)(LPCDIDEVICEINSTANCEW,LPDIRECTINPUTDEVICE8W,DWORD,DWORD,LPVOID);
|
||||
DECL_WINELIB_TYPE_AW(LPDIENUMDEVICESBYSEMANTICSCB)
|
||||
#endif
|
||||
|
||||
typedef BOOL (CALLBACK *LPDICONFIGUREDEVICESCALLBACK)(LPUNKNOWN,LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDICONFIGUREDEVICESCALLBACK)(LPUNKNOWN,LPVOID);
|
||||
|
||||
typedef BOOL (CALLBACK *LPDIENUMDEVICEOBJECTSCALLBACKA)(LPCDIDEVICEOBJECTINSTANCEA,LPVOID);
|
||||
typedef BOOL (CALLBACK *LPDIENUMDEVICEOBJECTSCALLBACKW)(LPCDIDEVICEOBJECTINSTANCEW,LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMDEVICEOBJECTSCALLBACKA)(LPCDIDEVICEOBJECTINSTANCEA,LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMDEVICEOBJECTSCALLBACKW)(LPCDIDEVICEOBJECTINSTANCEW,LPVOID);
|
||||
DECL_WINELIB_TYPE_AW(LPDIENUMDEVICEOBJECTSCALLBACK)
|
||||
|
||||
#if DIRECTINPUT_VERSION >= 0x0500
|
||||
typedef BOOL (CALLBACK *LPDIENUMCREATEDEFFECTOBJECTSCALLBACK)(LPDIRECTINPUTEFFECT, LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMCREATEDEFFECTOBJECTSCALLBACK)(LPDIRECTINPUTEFFECT, LPVOID);
|
||||
#endif
|
||||
|
||||
#define DIK_ESCAPE 0x01
|
||||
@ -1130,8 +1130,8 @@ DECL_WINELIB_TYPE_AW(DIEFFECTINFO)
|
||||
DECL_WINELIB_TYPE_AW(LPDIEFFECTINFO)
|
||||
DECL_WINELIB_TYPE_AW(LPCDIEFFECTINFO)
|
||||
|
||||
typedef BOOL (CALLBACK *LPDIENUMEFFECTSCALLBACKA)(LPCDIEFFECTINFOA, LPVOID);
|
||||
typedef BOOL (CALLBACK *LPDIENUMEFFECTSCALLBACKW)(LPCDIEFFECTINFOW, LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMEFFECTSCALLBACKA)(LPCDIEFFECTINFOA, LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMEFFECTSCALLBACKW)(LPCDIEFFECTINFOW, LPVOID);
|
||||
|
||||
typedef struct DIEFFESCAPE {
|
||||
DWORD dwSize;
|
||||
@ -1242,7 +1242,7 @@ typedef struct DIFILEEFFECT {
|
||||
} DIFILEEFFECT, *LPDIFILEEFFECT;
|
||||
|
||||
typedef const DIFILEEFFECT *LPCDIFILEEFFECT;
|
||||
typedef BOOL (CALLBACK *LPDIENUMEFFECTSINFILECALLBACK)(LPCDIFILEEFFECT , LPVOID);
|
||||
typedef WINBOOL (CALLBACK *LPDIENUMEFFECTSINFILECALLBACK)(LPCDIFILEEFFECT , LPVOID);
|
||||
#endif /* DIRECTINPUT_VERSION >= 0x0700 */
|
||||
|
||||
/* DInput 8 structures and types */
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.0-rc1 from dinputd.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dinputd.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -27,7 +27,9 @@ extern "C" {
|
||||
|
||||
_CRTIMP char *__cdecl _getcwd(char *_DstBuf,int _SizeInBytes);
|
||||
_CRTIMP char *__cdecl _getdcwd(int _Drive,char *_DstBuf,int _SizeInBytes);
|
||||
#if __MSVCRT_VERSION__ >= 0x800
|
||||
char *__cdecl _getdcwd_nolock(int _Drive,char *_DstBuf,int _SizeInBytes);
|
||||
#endif
|
||||
_CRTIMP int __cdecl _chdir(const char *_Path);
|
||||
_CRTIMP int __cdecl _mkdir(const char *_Path);
|
||||
_CRTIMP int __cdecl _rmdir(const char *_Path);
|
||||
@ -46,7 +48,9 @@ extern "C" {
|
||||
#define _WDIRECT_DEFINED
|
||||
_CRTIMP wchar_t *__cdecl _wgetcwd(wchar_t *_DstBuf,int _SizeInWords);
|
||||
_CRTIMP wchar_t *__cdecl _wgetdcwd(int _Drive,wchar_t *_DstBuf,int _SizeInWords);
|
||||
#if __MSVCRT_VERSION__ >= 0x800
|
||||
wchar_t *__cdecl _wgetdcwd_nolock(int _Drive,wchar_t *_DstBuf,int _SizeInWords);
|
||||
#endif
|
||||
_CRTIMP int __cdecl _wchdir(const wchar_t *_Path);
|
||||
_CRTIMP int __cdecl _wmkdir(const wchar_t *_Path);
|
||||
_CRTIMP int __cdecl _wrmdir(const wchar_t *_Path);
|
||||
|
||||
2319
lib/libc/include/any-windows-any/directmanipulation.h
Normal file
2319
lib/libc/include/any-windows-any/directmanipulation.h
Normal file
File diff suppressed because it is too large
Load Diff
326
lib/libc/include/any-windows-any/directxmath.h
Normal file
326
lib/libc/include/any-windows-any/directxmath.h
Normal file
@ -0,0 +1,326 @@
|
||||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
#ifndef DIRECTXMATH_H
|
||||
#define DIRECTXMATH_H
|
||||
|
||||
#ifndef __cplusplus
|
||||
#error DirectX Math requires C++
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define DIRECTX_MATH_VERSION 314
|
||||
|
||||
#define XM_CONST const
|
||||
#if __cplusplus >= 201103L
|
||||
#define XM_CONSTEXPR constexpr
|
||||
#else
|
||||
#define XM_CONSTEXPR
|
||||
#endif
|
||||
|
||||
namespace DirectX {
|
||||
|
||||
struct XMFLOAT2 {
|
||||
float x, y;
|
||||
XMFLOAT2() = default;
|
||||
XMFLOAT2(const XMFLOAT2&) = default;
|
||||
XMFLOAT2& operator=(const XMFLOAT2&) = default;
|
||||
XMFLOAT2(XMFLOAT2&&) = default;
|
||||
XMFLOAT2& operator=(XMFLOAT2&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT2(float _x, float _y) : x(_x), y(_y) {}
|
||||
explicit XMFLOAT2(const float *pArray) : x(pArray[0]), y(pArray[1]) {}
|
||||
};
|
||||
|
||||
struct __attribute__ ((__aligned__ (16))) XMFLOAT2A : public XMFLOAT2 {
|
||||
XMFLOAT2A() = default;
|
||||
XMFLOAT2A(const XMFLOAT2A&) = default;
|
||||
XMFLOAT2A& operator=(const XMFLOAT2A&) = default;
|
||||
XMFLOAT2A(XMFLOAT2A&&) = default;
|
||||
XMFLOAT2A& operator=(XMFLOAT2A&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT2A(float _x, float _y) : XMFLOAT2(_x, _y) {}
|
||||
explicit XMFLOAT2A(const float *pArray) : XMFLOAT2(pArray) {}
|
||||
};
|
||||
|
||||
struct XMINT2 {
|
||||
int32_t x, y;
|
||||
XMINT2() = default;
|
||||
XMINT2(const XMINT2&) = default;
|
||||
XMINT2& operator=(const XMINT2&) = default;
|
||||
XMINT2(XMINT2&&) = default;
|
||||
XMINT2& operator=(XMINT2&&) = default;
|
||||
XM_CONSTEXPR XMINT2(int32_t _x, int32_t _y) : x(_x), y(_y) {}
|
||||
explicit XMINT2(const int32_t *pArray) : x(pArray[0]), y(pArray[1]) {}
|
||||
};
|
||||
|
||||
struct XMUINT2 {
|
||||
uint32_t x, y;
|
||||
XMUINT2() = default;
|
||||
XMUINT2(const XMUINT2&) = default;
|
||||
XMUINT2& operator=(const XMUINT2&) = default;
|
||||
XMUINT2(XMUINT2&&) = default;
|
||||
XMUINT2& operator=(XMUINT2&&) = default;
|
||||
XM_CONSTEXPR XMUINT2(uint32_t _x, uint32_t _y) : x(_x), y(_y) {}
|
||||
explicit XMUINT2(const uint32_t *pArray) : x(pArray[0]), y(pArray[1]) {}
|
||||
};
|
||||
|
||||
struct XMFLOAT3 {
|
||||
float x, y, z;
|
||||
XMFLOAT3() = default;
|
||||
XMFLOAT3(const XMFLOAT3&) = default;
|
||||
XMFLOAT3& operator=(const XMFLOAT3&) = default;
|
||||
XMFLOAT3(XMFLOAT3&&) = default;
|
||||
XMFLOAT3& operator=(XMFLOAT3&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT3(float _x, float _y, float _z) : x(_x), y(_y), z(_z) {}
|
||||
explicit XMFLOAT3(const float *pArray) : x(pArray[0]), y(pArray[1]), z(pArray[2]) {}
|
||||
};
|
||||
|
||||
struct __attribute__ ((__aligned__ (16))) XMFLOAT3A : public XMFLOAT3 {
|
||||
XMFLOAT3A() = default;
|
||||
XMFLOAT3A(const XMFLOAT3A&) = default;
|
||||
XMFLOAT3A& operator=(const XMFLOAT3A&) = default;
|
||||
XMFLOAT3A(XMFLOAT3A&&) = default;
|
||||
XMFLOAT3A& operator=(XMFLOAT3A&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT3A(float _x, float _y, float _z) : XMFLOAT3(_x, _y, _z) {}
|
||||
explicit XMFLOAT3A(const float *pArray) : XMFLOAT3(pArray) {}
|
||||
};
|
||||
|
||||
struct XMINT3 {
|
||||
int32_t x, y, z;
|
||||
XMINT3() = default;
|
||||
XMINT3(const XMINT3&) = default;
|
||||
XMINT3& operator=(const XMINT3&) = default;
|
||||
XMINT3(XMINT3&&) = default;
|
||||
XMINT3& operator=(XMINT3&&) = default;
|
||||
XM_CONSTEXPR XMINT3(int32_t _x, int32_t _y, int32_t _z) : x(_x), y(_y), z(_z) {}
|
||||
explicit XMINT3(const int32_t *pArray) : x(pArray[0]), y(pArray[1]), z(pArray[2]) {}
|
||||
};
|
||||
|
||||
struct XMUINT3 {
|
||||
uint32_t x, y, z;
|
||||
XMUINT3() = default;
|
||||
XMUINT3(const XMUINT3&) = default;
|
||||
XMUINT3& operator=(const XMUINT3&) = default;
|
||||
XMUINT3(XMUINT3&&) = default;
|
||||
XMUINT3& operator=(XMUINT3&&) = default;
|
||||
XM_CONSTEXPR XMUINT3(uint32_t _x, uint32_t _y, uint32_t _z) : x(_x), y(_y), z(_z) {}
|
||||
explicit XMUINT3(const uint32_t *pArray) : x(pArray[0]), y(pArray[1]), z(pArray[2]) {}
|
||||
};
|
||||
|
||||
struct XMFLOAT4 {
|
||||
float x, y, z, w;
|
||||
XMFLOAT4() = default;
|
||||
XMFLOAT4(const XMFLOAT4&) = default;
|
||||
XMFLOAT4& operator=(const XMFLOAT4&) = default;
|
||||
XMFLOAT4(XMFLOAT4&&) = default;
|
||||
XMFLOAT4& operator=(XMFLOAT4&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT4(float _x, float _y, float _z, float _w) : x(_x), y(_y), z(_z), w(_w) {}
|
||||
explicit XMFLOAT4(const float *pArray) : x(pArray[0]), y(pArray[1]), z(pArray[2]), w(pArray[3]) {}
|
||||
};
|
||||
|
||||
struct __attribute__ ((__aligned__ (16))) XMFLOAT4A : public XMFLOAT4 {
|
||||
XMFLOAT4A() = default;
|
||||
XMFLOAT4A(const XMFLOAT4A&) = default;
|
||||
XMFLOAT4A& operator=(const XMFLOAT4A&) = default;
|
||||
XMFLOAT4A(XMFLOAT4A&&) = default;
|
||||
XMFLOAT4A& operator=(XMFLOAT4A&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT4A(float _x, float _y, float _z, float _w) : XMFLOAT4(_x, _y, _z, _w) {}
|
||||
explicit XMFLOAT4A(const float *pArray) : XMFLOAT4(pArray) {}
|
||||
};
|
||||
|
||||
struct XMINT4 {
|
||||
int32_t x, y, z, w;
|
||||
XMINT4() = default;
|
||||
XMINT4(const XMINT4&) = default;
|
||||
XMINT4& operator=(const XMINT4&) = default;
|
||||
XMINT4(XMINT4&&) = default;
|
||||
XMINT4& operator=(XMINT4&&) = default;
|
||||
XM_CONSTEXPR XMINT4(int32_t _x, int32_t _y, int32_t _z, int32_t _w) : x(_x), y(_y), z(_z), w(_w) {}
|
||||
explicit XMINT4(const int32_t *pArray) : x(pArray[0]), y(pArray[1]), z(pArray[2]), w(pArray[3]) {}
|
||||
};
|
||||
|
||||
struct XMUINT4 {
|
||||
uint32_t x, y, z, w;
|
||||
XMUINT4() = default;
|
||||
XMUINT4(const XMUINT4&) = default;
|
||||
XMUINT4& operator=(const XMUINT4&) = default;
|
||||
XMUINT4(XMUINT4&&) = default;
|
||||
XMUINT4& operator=(XMUINT4&&) = default;
|
||||
XM_CONSTEXPR XMUINT4(uint32_t _x, uint32_t _y, uint32_t _z, uint32_t _w) : x(_x), y(_y), z(_z), w(_w) {}
|
||||
explicit XMUINT4(const uint32_t *pArray) : x(pArray[0]), y(pArray[1]), z(pArray[2]), w(pArray[3]) {}
|
||||
};
|
||||
|
||||
struct XMFLOAT3X3 {
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
float _11, _12, _13;
|
||||
float _21, _22, _23;
|
||||
float _31, _32, _33;
|
||||
};
|
||||
float m[3][3];
|
||||
};
|
||||
|
||||
XMFLOAT3X3() = default;
|
||||
XMFLOAT3X3(const XMFLOAT3X3&) = default;
|
||||
XMFLOAT3X3& operator=(const XMFLOAT3X3&) = default;
|
||||
XMFLOAT3X3(XMFLOAT3X3&&) = default;
|
||||
XMFLOAT3X3& operator=(XMFLOAT3X3&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT3X3(
|
||||
float m00, float m01, float m02,
|
||||
float m10, float m11, float m12,
|
||||
float m20, float m21, float m22)
|
||||
: _11(m00), _12(m01), _13(m02),
|
||||
_21(m10), _22(m11), _23(m12),
|
||||
_31(m20), _32(m21), _33(m22) {}
|
||||
explicit XMFLOAT3X3(const float *pArray);
|
||||
float operator() (size_t Row, size_t Column) const { return m[Row][Column]; }
|
||||
float& operator() (size_t Row, size_t Column) { return m[Row][Column]; }
|
||||
};
|
||||
|
||||
struct XMFLOAT4X3 {
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
float _11, _12, _13;
|
||||
float _21, _22, _23;
|
||||
float _31, _32, _33;
|
||||
float _41, _42, _43;
|
||||
};
|
||||
float m[4][3];
|
||||
float f[12];
|
||||
};
|
||||
|
||||
XMFLOAT4X3() = default;
|
||||
XMFLOAT4X3(const XMFLOAT4X3&) = default;
|
||||
XMFLOAT4X3& operator=(const XMFLOAT4X3&) = default;
|
||||
XMFLOAT4X3(XMFLOAT4X3&&) = default;
|
||||
XMFLOAT4X3& operator=(XMFLOAT4X3&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT4X3(
|
||||
float m00, float m01, float m02,
|
||||
float m10, float m11, float m12,
|
||||
float m20, float m21, float m22,
|
||||
float m30, float m31, float m32)
|
||||
: _11(m00), _12(m01), _13(m02),
|
||||
_21(m10), _22(m11), _23(m12),
|
||||
_31(m20), _32(m21), _33(m22),
|
||||
_41(m30), _42(m31), _43(m32) {}
|
||||
explicit XMFLOAT4X3(const float *pArray);
|
||||
float operator() (size_t Row, size_t Column) const { return m[Row][Column]; }
|
||||
float& operator() (size_t Row, size_t Column) { return m[Row][Column]; }
|
||||
};
|
||||
|
||||
struct __attribute__ ((__aligned__ (16))) XMFLOAT4X3A : public XMFLOAT4X3 {
|
||||
XMFLOAT4X3A() = default;
|
||||
XMFLOAT4X3A(const XMFLOAT4X3A&) = default;
|
||||
XMFLOAT4X3A& operator=(const XMFLOAT4X3A&) = default;
|
||||
XMFLOAT4X3A(XMFLOAT4X3A&&) = default;
|
||||
XMFLOAT4X3A& operator=(XMFLOAT4X3A&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT4X3A(
|
||||
float m00, float m01, float m02,
|
||||
float m10, float m11, float m12,
|
||||
float m20, float m21, float m22,
|
||||
float m30, float m31, float m32) :
|
||||
XMFLOAT4X3(m00,m01,m02,m10,m11,m12,m20,m21,m22,m30,m31,m32) {}
|
||||
explicit XMFLOAT4X3A(const float *pArray) : XMFLOAT4X3(pArray) {}
|
||||
};
|
||||
|
||||
struct XMFLOAT3X4 {
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
float _11, _12, _13, _14;
|
||||
float _21, _22, _23, _24;
|
||||
float _31, _32, _33, _34;
|
||||
};
|
||||
float m[3][4];
|
||||
float f[12];
|
||||
};
|
||||
|
||||
XMFLOAT3X4() = default;
|
||||
XMFLOAT3X4(const XMFLOAT3X4&) = default;
|
||||
XMFLOAT3X4& operator=(const XMFLOAT3X4&) = default;
|
||||
XMFLOAT3X4(XMFLOAT3X4&&) = default;
|
||||
XMFLOAT3X4& operator=(XMFLOAT3X4&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT3X4(
|
||||
float m00, float m01, float m02, float m03,
|
||||
float m10, float m11, float m12, float m13,
|
||||
float m20, float m21, float m22, float m23)
|
||||
: _11(m00), _12(m01), _13(m02), _14(m03),
|
||||
_21(m10), _22(m11), _23(m12), _24(m13),
|
||||
_31(m20), _32(m21), _33(m22), _34(m23) {}
|
||||
explicit XMFLOAT3X4(const float *pArray);
|
||||
float operator() (size_t Row, size_t Column) const { return m[Row][Column]; }
|
||||
float& operator() (size_t Row, size_t Column) { return m[Row][Column]; }
|
||||
};
|
||||
|
||||
struct __attribute__ ((__aligned__ (16))) XMFLOAT3X4A : public XMFLOAT3X4 {
|
||||
XMFLOAT3X4A() = default;
|
||||
XMFLOAT3X4A(const XMFLOAT3X4A&) = default;
|
||||
XMFLOAT3X4A& operator=(const XMFLOAT3X4A&) = default;
|
||||
XMFLOAT3X4A(XMFLOAT3X4A&&) = default;
|
||||
XMFLOAT3X4A& operator=(XMFLOAT3X4A&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT3X4A(
|
||||
float m00, float m01, float m02, float m03,
|
||||
float m10, float m11, float m12, float m13,
|
||||
float m20, float m21, float m22, float m23) :
|
||||
XMFLOAT3X4(m00, m01, m02, m03, m10, m11, m12, m13, m20, m21, m22, m23) {}
|
||||
explicit XMFLOAT3X4A(const float *pArray) : XMFLOAT3X4(pArray) {}
|
||||
};
|
||||
|
||||
struct XMFLOAT4X4 {
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
float _11, _12, _13, _14;
|
||||
float _21, _22, _23, _24;
|
||||
float _31, _32, _33, _34;
|
||||
float _41, _42, _43, _44;
|
||||
};
|
||||
float m[4][4];
|
||||
};
|
||||
|
||||
XMFLOAT4X4() = default;
|
||||
XMFLOAT4X4(const XMFLOAT4X4&) = default;
|
||||
XMFLOAT4X4& operator=(const XMFLOAT4X4&) = default;
|
||||
XMFLOAT4X4(XMFLOAT4X4&&) = default;
|
||||
XMFLOAT4X4& operator=(XMFLOAT4X4&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT4X4(
|
||||
float m00, float m01, float m02, float m03,
|
||||
float m10, float m11, float m12, float m13,
|
||||
float m20, float m21, float m22, float m23,
|
||||
float m30, float m31, float m32, float m33)
|
||||
: _11(m00), _12(m01), _13(m02), _14(m03),
|
||||
_21(m10), _22(m11), _23(m12), _24(m13),
|
||||
_31(m20), _32(m21), _33(m22), _34(m23),
|
||||
_41(m30), _42(m31), _43(m32), _44(m33) {}
|
||||
explicit XMFLOAT4X4(const float *pArray);
|
||||
float operator() (size_t Row, size_t Column) const { return m[Row][Column]; }
|
||||
float& operator() (size_t Row, size_t Column) { return m[Row][Column]; }
|
||||
};
|
||||
|
||||
struct __attribute__ ((__aligned__ (16))) XMFLOAT4X4A : public XMFLOAT4X4 {
|
||||
XMFLOAT4X4A() = default;
|
||||
XMFLOAT4X4A(const XMFLOAT4X4A&) = default;
|
||||
XMFLOAT4X4A& operator=(const XMFLOAT4X4A&) = default;
|
||||
XMFLOAT4X4A(XMFLOAT4X4A&&) = default;
|
||||
XMFLOAT4X4A& operator=(XMFLOAT4X4A&&) = default;
|
||||
XM_CONSTEXPR XMFLOAT4X4A(
|
||||
float m00, float m01, float m02, float m03,
|
||||
float m10, float m11, float m12, float m13,
|
||||
float m20, float m21, float m22, float m23,
|
||||
float m30, float m31, float m32, float m33)
|
||||
: XMFLOAT4X4(m00,m01,m02,m03,m10,m11,m12,m13,m20,m21,m22,m23,m30,m31,m32,m33) {}
|
||||
explicit XMFLOAT4X4A(const float *pArray) : XMFLOAT4X4(pArray) {}
|
||||
};
|
||||
|
||||
} /* namespace DirectX */
|
||||
|
||||
#endif /* DIRECTXMATH_H */
|
||||
383
lib/libc/include/any-windows-any/dismapi.h
Normal file
383
lib/libc/include/any-windows-any/dismapi.h
Normal file
@ -0,0 +1,383 @@
|
||||
/**
|
||||
* This file has no copyright assigned and is placed in the Public Domain.
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
|
||||
*/
|
||||
|
||||
#ifndef _DISMAPI_H_
|
||||
#define _DISMAPI_H_
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
#endif
|
||||
|
||||
typedef UINT DismSession;
|
||||
|
||||
typedef void(CALLBACK *DISM_PROGRESS_CALLBACK)(UINT Current, UINT Total, PVOID UserData);
|
||||
|
||||
#define DISM_ONLINE_IMAGE L"DISM_{53BFAE52-B167-4E2F-A258-0A37B57FF845}"
|
||||
|
||||
#define DISM_SESSION_DEFAULT 0
|
||||
|
||||
#define DISM_MOUNT_READWRITE 0x00000000
|
||||
#define DISM_MOUNT_READONLY 0x00000001
|
||||
#define DISM_MOUNT_OPTIMIZE 0x00000002
|
||||
#define DISM_MOUNT_CHECK_INTEGRITY 0x00000004
|
||||
|
||||
#define DISM_COMMIT_IMAGE 0x00000000
|
||||
#define DISM_DISCARD_IMAGE 0x00000001
|
||||
|
||||
#define DISM_COMMIT_GENERATE_INTEGRITY 0x00010000
|
||||
#define DISM_COMMIT_APPEND 0x00020000
|
||||
#define DISM_COMMIT_MASK 0xffff0000
|
||||
|
||||
/* https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism/dism-api-enumerations */
|
||||
|
||||
typedef enum _DismLogLevel
|
||||
{
|
||||
DismLogErrors = 0,
|
||||
DismLogErrorsWarnings,
|
||||
DismLogErrorsWarningsInfo
|
||||
} DismLogLevel;
|
||||
|
||||
typedef enum _DismImageIdentifier
|
||||
{
|
||||
DismImageIndex = 0,
|
||||
DismImageName
|
||||
} DismImageIdentifier;
|
||||
|
||||
typedef enum _DismMountMode
|
||||
{
|
||||
DismReadWrite = 0,
|
||||
DismReadOnly
|
||||
} DismMountMode;
|
||||
|
||||
typedef enum _DismImageType
|
||||
{
|
||||
DismImageTypeUnsupported = -1,
|
||||
DismImageTypeWim = 0,
|
||||
DismImageTypeVhd = 1
|
||||
} DismImageType;
|
||||
|
||||
typedef enum _DismImageBootable
|
||||
{
|
||||
DismImageBootableYes = 0,
|
||||
DismImageBootableNo,
|
||||
DismImageBootableUnknown
|
||||
} DismImageBootable;
|
||||
|
||||
typedef enum _DismMountStatus
|
||||
{
|
||||
DismMountStatusOk = 0,
|
||||
DismMountStatusNeedsRemount,
|
||||
DismMountStatusInvalid
|
||||
} DismMountStatus;
|
||||
|
||||
typedef enum _DismImageHealthState
|
||||
{
|
||||
DismImageHealthy = 0,
|
||||
DismImageRepairable,
|
||||
DismImageNonRepairable
|
||||
} DismImageHealthState;
|
||||
|
||||
typedef enum _DismPackageIdentifier
|
||||
{
|
||||
DismPackageNone = 0,
|
||||
DismPackageName,
|
||||
DismPackagePath
|
||||
} DismPackageIdentifier;
|
||||
|
||||
typedef enum _DismPackageFeatureState
|
||||
{
|
||||
DismStateNotPresent = 0,
|
||||
DismStateUninstallPending,
|
||||
DismStateStaged,
|
||||
DismStateResolved,
|
||||
DismStateRemoved = DismStateResolved,
|
||||
DismStateInstalled,
|
||||
DismStateInstallPending,
|
||||
DismStateSuperseded,
|
||||
DismStatePartiallyInstalled
|
||||
} DismPackageFeatureState;
|
||||
|
||||
typedef enum _DismReleaseType
|
||||
{
|
||||
DismReleaseTypeCriticalUpdate = 0,
|
||||
DismReleaseTypeDriver,
|
||||
DismReleaseTypeFeaturePack,
|
||||
DismReleaseTypeHotfix,
|
||||
DismReleaseTypeSecurityUpdate,
|
||||
DismReleaseTypeSoftwareUpdate,
|
||||
DismReleaseTypeUpdate,
|
||||
DismReleaseTypeUpdateRollup,
|
||||
DismReleaseTypeLanguagePack,
|
||||
DismReleaseTypeFoundation,
|
||||
DismReleaseTypeServicePack,
|
||||
DismReleaseTypeProduct,
|
||||
DismReleaseTypeLocalPack,
|
||||
DismReleaseTypeOther,
|
||||
DismReleaseTypeOnDemandPack
|
||||
} DismReleaseType;
|
||||
|
||||
typedef enum _DismRestartType
|
||||
{
|
||||
DismRestartNo = 0,
|
||||
DismRestartPossible,
|
||||
DismRestartRequired
|
||||
} DismRestartType;
|
||||
|
||||
typedef enum _DismDriverSignature
|
||||
{
|
||||
DismDriverSignatureUnknown = 0,
|
||||
DismDriverSignatureUnsigned = 1,
|
||||
DismDriverSignatureSigned = 2
|
||||
} DismDriverSignature;
|
||||
|
||||
typedef enum _DismFullyOfflineInstallableType
|
||||
{
|
||||
DismFullyOfflineInstallable = 0,
|
||||
DismFullyOfflineNotInstallable,
|
||||
DismFullyOfflineInstallableUndetermined
|
||||
} DismFullyOfflineInstallableType;
|
||||
|
||||
/* https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism/dism-api-structures */
|
||||
|
||||
#pragma pack(push, 1)
|
||||
|
||||
typedef struct _DismPackage
|
||||
{
|
||||
PCWSTR PackageName;
|
||||
DismPackageFeatureState PackageState;
|
||||
DismReleaseType ReleaseType;
|
||||
SYSTEMTIME InstallTime;
|
||||
} DismPackage;
|
||||
|
||||
typedef struct _DismCustomProperty
|
||||
{
|
||||
PCWSTR Name;
|
||||
PCWSTR Value;
|
||||
PCWSTR Path;
|
||||
} DismCustomProperty;
|
||||
|
||||
typedef struct _DismFeature
|
||||
{
|
||||
PCWSTR FeatureName;
|
||||
DismPackageFeatureState State;
|
||||
} DismFeature;
|
||||
|
||||
typedef struct _DismCapability
|
||||
{
|
||||
PCWSTR Name;
|
||||
DismPackageFeatureState State;
|
||||
} DismCapability;
|
||||
|
||||
typedef struct _DismPackageInfo
|
||||
{
|
||||
PCWSTR PackageName;
|
||||
DismPackageFeatureState PackageState;
|
||||
DismReleaseType ReleaseType;
|
||||
SYSTEMTIME InstallTime;
|
||||
WINBOOL Applicable;
|
||||
PCWSTR Copyright;
|
||||
PCWSTR Company;
|
||||
SYSTEMTIME CreationTime;
|
||||
PCWSTR DisplayName;
|
||||
PCWSTR Description;
|
||||
PCWSTR InstallClient;
|
||||
PCWSTR InstallPackageName;
|
||||
SYSTEMTIME LastUpdateTime;
|
||||
PCWSTR ProductName;
|
||||
PCWSTR ProductVersion;
|
||||
DismRestartType RestartRequired;
|
||||
DismFullyOfflineInstallableType FullyOffline;
|
||||
PCWSTR SupportInformation;
|
||||
DismCustomProperty *CustomProperty;
|
||||
UINT CustomPropertyCount;
|
||||
DismFeature *Feature;
|
||||
UINT FeatureCount;
|
||||
} DismPackageInfo;
|
||||
|
||||
#ifdef __cplusplus
|
||||
typedef struct _DismPackageInfoEx : public _DismPackageInfo
|
||||
{
|
||||
#else
|
||||
typedef struct _DismPackageInfoEx
|
||||
{
|
||||
DismPackageInfo;
|
||||
#endif
|
||||
PCWSTR CapabilityId;
|
||||
} DismPackageInfoEx;
|
||||
|
||||
typedef struct _DismFeatureInfo
|
||||
{
|
||||
PCWSTR FeatureName;
|
||||
DismPackageFeatureState FeatureState;
|
||||
PCWSTR DisplayName;
|
||||
PCWSTR Description;
|
||||
DismRestartType RestartRequired;
|
||||
DismCustomProperty *CustomProperty;
|
||||
UINT CustomPropertyCount;
|
||||
} DismFeatureInfo;
|
||||
|
||||
typedef struct _DismCapabilityInfo
|
||||
{
|
||||
PCWSTR Name;
|
||||
DismPackageFeatureState State;
|
||||
PCWSTR DisplayName;
|
||||
PCWSTR Description;
|
||||
DWORD DownloadSize;
|
||||
DWORD InstallSize;
|
||||
} DismCapabilityInfo;
|
||||
|
||||
typedef struct _DismString
|
||||
{
|
||||
PCWSTR Value;
|
||||
} DismString;
|
||||
|
||||
typedef DismString DismLanguage;
|
||||
|
||||
typedef struct _DismWimCustomizedInfo
|
||||
{
|
||||
UINT Size;
|
||||
UINT DirectoryCount;
|
||||
UINT FileCount;
|
||||
SYSTEMTIME CreatedTime;
|
||||
SYSTEMTIME ModifiedTime;
|
||||
} DismWimCustomizedInfo;
|
||||
|
||||
typedef struct _DismImageInfo
|
||||
{
|
||||
DismImageType ImageType;
|
||||
UINT ImageIndex;
|
||||
PCWSTR ImageName;
|
||||
PCWSTR ImageDescription;
|
||||
UINT64 ImageSize;
|
||||
UINT Architecture;
|
||||
PCWSTR ProductName;
|
||||
PCWSTR EditionId;
|
||||
PCWSTR InstallationType;
|
||||
PCWSTR Hal;
|
||||
PCWSTR ProductType;
|
||||
PCWSTR ProductSuite;
|
||||
UINT MajorVersion;
|
||||
UINT MinorVersion;
|
||||
UINT Build;
|
||||
UINT SpBuild;
|
||||
UINT SpLevel;
|
||||
DismImageBootable Bootable;
|
||||
PCWSTR SystemRoot;
|
||||
DismLanguage *Language;
|
||||
UINT LanguageCount;
|
||||
UINT DefaultLanguageIndex;
|
||||
VOID *CustomizedInfo;
|
||||
} DismImageInfo;
|
||||
|
||||
typedef struct _DismMountedImageInfo
|
||||
{
|
||||
PCWSTR MountPath;
|
||||
PCWSTR ImageFilePath;
|
||||
UINT ImageIndex;
|
||||
DismMountMode MountMode;
|
||||
DismMountStatus MountStatus;
|
||||
} DismMountedImageInfo;
|
||||
|
||||
typedef struct _DismDriverPackage
|
||||
{
|
||||
PCWSTR PublishedName;
|
||||
PCWSTR OriginalFileName;
|
||||
WINBOOL InBox;
|
||||
PCWSTR CatalogFile;
|
||||
PCWSTR ClassName;
|
||||
PCWSTR ClassGuid;
|
||||
PCWSTR ClassDescription;
|
||||
WINBOOL BootCritical;
|
||||
DismDriverSignature DriverSignature;
|
||||
PCWSTR ProviderName;
|
||||
SYSTEMTIME Date;
|
||||
UINT MajorVersion;
|
||||
UINT MinorVersion;
|
||||
UINT Build;
|
||||
UINT Revision;
|
||||
} DismDriverPackage;
|
||||
|
||||
typedef struct _DismDriver
|
||||
{
|
||||
PCWSTR ManufacturerName;
|
||||
PCWSTR HardwareDescription;
|
||||
PCWSTR HardwareId;
|
||||
UINT Architecture;
|
||||
PCWSTR ServiceName;
|
||||
PCWSTR CompatibleIds;
|
||||
PCWSTR ExcludeIds;
|
||||
} DismDriver;
|
||||
|
||||
#pragma pack(pop)
|
||||
|
||||
/* https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/dism/dism-api-functions */
|
||||
|
||||
HRESULT WINAPI DismInitialize (DismLogLevel LogLevel, PCWSTR LogFilePath, PCWSTR ScratchDirectory);
|
||||
HRESULT WINAPI DismShutdown (void);
|
||||
HRESULT WINAPI DismMountImage (PCWSTR ImageFilePath, PCWSTR MountPath, UINT ImageIndex, PCWSTR ImageName, DismImageIdentifier ImageIdentifier, DWORD Flags, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismUnmountImage (PCWSTR MountPath, DWORD Flags, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismOpenSession (PCWSTR ImagePath, PCWSTR WindowsDirectory, PCWSTR SystemDrive, DismSession *Session);
|
||||
HRESULT WINAPI DismCloseSession (DismSession Session);
|
||||
HRESULT WINAPI DismGetLastErrorMessage (DismString **ErrorMessage);
|
||||
HRESULT WINAPI DismRemountImage (PCWSTR MountPath);
|
||||
HRESULT WINAPI DismCommitImage (DismSession Session, DWORD Flags, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismGetImageInfo (PCWSTR ImageFilePath, DismImageInfo **ImageInfo, UINT *Count);
|
||||
HRESULT WINAPI DismGetMountedImageInfo (DismMountedImageInfo **MountedImageInfo, UINT *Count);
|
||||
HRESULT WINAPI DismCleanupMountpoints (void);
|
||||
HRESULT WINAPI DismCheckImageHealth (DismSession Session, WINBOOL ScanImage, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData, DismImageHealthState *ImageHealth);
|
||||
HRESULT WINAPI DismRestoreImageHealth (DismSession Session, PCWSTR *SourcePaths, UINT SourcePathCount, WINBOOL LimitAccess, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismDelete (VOID *DismStructure);
|
||||
HRESULT WINAPI DismAddPackage (DismSession Session, PCWSTR PackagePath, WINBOOL IgnoreCheck, WINBOOL PreventPending, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismRemovePackage (DismSession Session, PCWSTR Identifier, DismPackageIdentifier PackageIdentifier, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismEnableFeature (DismSession Session, PCWSTR FeatureName, PCWSTR Identifier, DismPackageIdentifier PackageIdentifier, WINBOOL LimitAccess, PCWSTR *SourcePaths, UINT SourcePathCount, WINBOOL EnableAll, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismDisableFeature (DismSession Session, PCWSTR FeatureName, PCWSTR PackageName, WINBOOL RemovePayload, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismGetPackages (DismSession Session, DismPackage **Package, UINT *Count);
|
||||
HRESULT WINAPI DismGetPackageInfo (DismSession Session, PCWSTR Identifier, DismPackageIdentifier PackageIdentifier, DismPackageInfo **PackageInfo);
|
||||
HRESULT WINAPI DismGetPackageInfoEx (DismSession Session, PCWSTR Identifier, DismPackageIdentifier PackageIdentifier, DismPackageInfoEx **PackageInfoEx);
|
||||
HRESULT WINAPI DismGetFeatures (DismSession Session, PCWSTR Identifier, DismPackageIdentifier PackageIdentifier, DismFeature **Feature, UINT *Count);
|
||||
HRESULT WINAPI DismGetFeatureInfo (DismSession Session, PCWSTR FeatureName, PCWSTR Identifier, DismPackageIdentifier PackageIdentifier, DismFeatureInfo **FeatureInfo);
|
||||
HRESULT WINAPI DismGetFeatureParent (DismSession Session, PCWSTR FeatureName, PCWSTR Identifier, DismPackageIdentifier PackageIdentifier, DismFeature **Feature, UINT *Count);
|
||||
HRESULT WINAPI DismApplyUnattend (DismSession Session, PCWSTR UnattendFile, WINBOOL SingleSession);
|
||||
HRESULT WINAPI DismAddDriver (DismSession Session, PCWSTR DriverPath, WINBOOL ForceUnsigned);
|
||||
HRESULT WINAPI DismRemoveDriver (DismSession Session, PCWSTR DriverPath);
|
||||
HRESULT WINAPI DismGetDrivers (DismSession Session, WINBOOL AllDrivers, DismDriverPackage **DriverPackage, UINT *Count);
|
||||
HRESULT WINAPI DismGetDriverInfo (DismSession Session, PCWSTR DriverPath, DismDriver **Driver, UINT *Count, DismDriverPackage **DriverPackage);
|
||||
HRESULT WINAPI DismGetCapabilities (DismSession Session, DismCapability **Capability, UINT *Count);
|
||||
HRESULT WINAPI DismGetCapabilityInfo (DismSession Session, PCWSTR Name, DismCapabilityInfo **Info);
|
||||
HRESULT WINAPI DismAddCapability (DismSession Session, PCWSTR Name, WINBOOL LimitAccess, PCWSTR *SourcePaths, UINT SourcePathCount, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
HRESULT WINAPI DismRemoveCapability (DismSession Session, PCWSTR Name, HANDLE CancelEvent, DISM_PROGRESS_CALLBACK Progress, PVOID UserData);
|
||||
|
||||
#define DISMAPI_S_RELOAD_IMAGE_SESSION_REQUIRED 0x00000001
|
||||
#define DISMAPI_E_DISMAPI_NOT_INITIALIZED 0xc0040001
|
||||
#define DISMAPI_E_SHUTDOWN_IN_PROGRESS 0xc0040002
|
||||
#define DISMAPI_E_OPEN_SESSION_HANDLES 0xc0040003
|
||||
#define DISMAPI_E_INVALID_DISM_SESSION 0xc0040004
|
||||
#define DISMAPI_E_INVALID_IMAGE_INDEX 0xc0040005
|
||||
#define DISMAPI_E_INVALID_IMAGE_NAME 0xc0040006
|
||||
#define DISMAPI_E_UNABLE_TO_UNMOUNT_IMAGE_PATH 0xc0040007
|
||||
#define DISMAPI_E_LOGGING_DISABLED 0xc0040009
|
||||
#define DISMAPI_E_OPEN_HANDLES_UNABLE_TO_UNMOUNT_IMAGE_PATH 0xc004000a
|
||||
#define DISMAPI_E_OPEN_HANDLES_UNABLE_TO_MOUNT_IMAGE_PATH 0xc004000b
|
||||
#define DISMAPI_E_OPEN_HANDLES_UNABLE_TO_REMOUNT_IMAGE_PATH 0xc004000c
|
||||
#define DISMAPI_E_PARENT_FEATURE_DISABLED 0xc004000d
|
||||
#define DISMAPI_E_MUST_SPECIFY_ONLINE_IMAGE 0xc004000e
|
||||
#define DISMAPI_E_INVALID_PRODUCT_KEY 0xc004000f
|
||||
#define DISMAPI_E_NEEDS_REMOUNT 0xc1510114
|
||||
#define DISMAPI_E_UNKNOWN_FEATURE 0x800f080c
|
||||
#define DISMAPI_E_BUSY 0x800f0902
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* WINAPI_PARTITION_DESKTOP */
|
||||
|
||||
#endif /* _DISMAPI_H_ */
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/dispex.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dispex.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,93 +1,45 @@
|
||||
|
||||
/* $Id: $
|
||||
*
|
||||
* COPYRIGHT: This file is in the public domain.
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE:
|
||||
* PURPOSE: Directx headers
|
||||
* PROGRAMMER: Magnus Olsen (greatlrd)
|
||||
*
|
||||
/**
|
||||
* This file is part of the mingw-w64 runtime package.
|
||||
* No warranty is given; refer to the file DISCLAIMER within this package.
|
||||
*/
|
||||
|
||||
#ifndef __DMEMMGR_INCLUDED__
|
||||
#define __DMEMMGR_INCLUDED__
|
||||
|
||||
#include <winapifamily.h>
|
||||
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
|
||||
#define VMEMHEAP_LINEAR __MSABI_LONG(0x1)
|
||||
#define VMEMHEAP_RECTANGULAR __MSABI_LONG(0x2)
|
||||
#define VMEMHEAP_ALIGNMENT __MSABI_LONG(0x4)
|
||||
|
||||
#define SURFACEALIGN_DISCARDABLE __MSABI_LONG(0x1)
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef __NTDDKCOMP__
|
||||
typedef ULONG_PTR FLATPTR;
|
||||
|
||||
#ifndef FLATPTR_DEFINED
|
||||
typedef ULONG_PTR FLATPTR;
|
||||
#define FLATPTR_DEFINED
|
||||
#endif
|
||||
typedef struct _SURFACEALIGNMENT {
|
||||
__C89_NAMELESS union {
|
||||
struct {
|
||||
DWORD dwStartAlignment;
|
||||
DWORD dwPitchAlignment;
|
||||
DWORD dwFlags;
|
||||
DWORD dwReserved2;
|
||||
} Linear;
|
||||
struct {
|
||||
DWORD dwXAlignment;
|
||||
DWORD dwYAlignment;
|
||||
DWORD dwFlags;
|
||||
DWORD dwReserved2;
|
||||
} Rectangular;
|
||||
};
|
||||
} SURFACEALIGNMENT;
|
||||
|
||||
typedef struct _VIDMEM *LPVIDMEM;
|
||||
|
||||
#else /* __NTDDKCOMP__ */
|
||||
|
||||
#ifndef FLATPTR_DEFINED
|
||||
typedef ULONG_PTR FLATPTR;
|
||||
#define FLATPTR_DEFINED
|
||||
#endif
|
||||
|
||||
typedef struct _VIDEOMEMORY *LPVIDMEM;
|
||||
#endif /* __NTDDKCOMP__ */
|
||||
|
||||
#define SURFACEALIGN_DISCARDABLE 0x00000001
|
||||
#define VMEMHEAP_LINEAR 0x00000001
|
||||
#define VMEMHEAP_RECTANGULAR 0x00000002
|
||||
#define VMEMHEAP_ALIGNMENT 0x00000004
|
||||
|
||||
typedef struct _VMEML
|
||||
{
|
||||
struct _VMEML *next;
|
||||
FLATPTR ptr;
|
||||
DWORD size;
|
||||
WINBOOL bDiscardable;
|
||||
} VMEML, *LPVMEML, *LPLPVMEML;
|
||||
|
||||
typedef struct _VMEMR
|
||||
{
|
||||
struct _VMEMR *next;
|
||||
struct _VMEMR *prev;
|
||||
|
||||
struct _VMEMR *pUp;
|
||||
struct _VMEMR *pDown;
|
||||
struct _VMEMR *pLeft;
|
||||
struct _VMEMR *pRight;
|
||||
FLATPTR ptr;
|
||||
DWORD size;
|
||||
DWORD x;
|
||||
DWORD y;
|
||||
DWORD cx;
|
||||
DWORD cy;
|
||||
DWORD flags;
|
||||
FLATPTR pBits;
|
||||
WINBOOL bDiscardable;
|
||||
} VMEMR, *LPVMEMR, *LPLPVMEMR;
|
||||
|
||||
typedef struct _SURFACEALIGNMENT
|
||||
{
|
||||
__GNU_EXTENSION union {
|
||||
struct {
|
||||
DWORD dwStartAlignment;
|
||||
DWORD dwPitchAlignment;
|
||||
DWORD dwFlags;
|
||||
DWORD dwReserved2;
|
||||
} Linear;
|
||||
struct {
|
||||
DWORD dwXAlignment;
|
||||
DWORD dwYAlignment;
|
||||
DWORD dwFlags;
|
||||
DWORD dwReserved2;
|
||||
} Rectangular;
|
||||
};
|
||||
} SURFACEALIGNMENT, *LPSURFACEALIGNMENT;
|
||||
|
||||
typedef struct _HEAPALIGNMENT
|
||||
{
|
||||
typedef struct _HEAPALIGNMENT {
|
||||
DWORD dwSize;
|
||||
DDSCAPS ddsCaps;
|
||||
DWORD dwReserved;
|
||||
@ -98,10 +50,42 @@ typedef struct _HEAPALIGNMENT
|
||||
SURFACEALIGNMENT AlphaBuffer;
|
||||
SURFACEALIGNMENT Offscreen;
|
||||
SURFACEALIGNMENT FlipTarget;
|
||||
} HEAPALIGNMENT, *LPHEAPALIGNMENT;
|
||||
} HEAPALIGNMENT;
|
||||
|
||||
typedef struct _VMEMHEAP
|
||||
{
|
||||
typedef struct _DD_GETHEAPALIGNMENTDATA {
|
||||
ULONG_PTR dwInstance;
|
||||
DWORD dwHeap;
|
||||
HRESULT ddRVal;
|
||||
VOID *GetHeapAlignment;
|
||||
HEAPALIGNMENT Alignment;
|
||||
} DD_GETHEAPALIGNMENTDATA;
|
||||
|
||||
typedef struct _VMEML {
|
||||
struct _VMEML *next;
|
||||
FLATPTR ptr;
|
||||
DWORD size;
|
||||
WINBOOL bDiscardable;
|
||||
} VMEML,*LPVMEML,**LPLPVMEML;
|
||||
|
||||
typedef struct _VMEMR {
|
||||
struct _VMEMR *next;
|
||||
struct _VMEMR *prev;
|
||||
struct _VMEMR *pUp;
|
||||
struct _VMEMR *pDown;
|
||||
struct _VMEMR *pLeft;
|
||||
struct _VMEMR *pRight;
|
||||
FLATPTR ptr;
|
||||
DWORD size;
|
||||
DWORD x;
|
||||
DWORD y;
|
||||
DWORD cx;
|
||||
DWORD cy;
|
||||
DWORD flags;
|
||||
FLATPTR pBits;
|
||||
WINBOOL bDiscardable;
|
||||
} VMEMR,*LPVMEMR,**LPLPVMEMR;
|
||||
|
||||
typedef struct _VMEMHEAP {
|
||||
DWORD dwFlags;
|
||||
DWORD stride;
|
||||
LPVOID freeList;
|
||||
@ -119,38 +103,32 @@ typedef struct _VMEMHEAP
|
||||
#endif
|
||||
HANDLE hdevAGP;
|
||||
LPVOID pvPhysRsrv;
|
||||
BYTE* pAgpCommitMask;
|
||||
#if NTDDI_VERSION >= 0x05010000
|
||||
BYTE *pAgpCommitMask;
|
||||
DWORD dwAgpCommitMaskSize;
|
||||
} VMEMHEAP, *LPVMEMHEAP;
|
||||
#endif
|
||||
} VMEMHEAP;
|
||||
|
||||
typedef struct _DD_GETHEAPALIGNMENTDATA
|
||||
{
|
||||
ULONG_PTR dwInstance;
|
||||
DWORD dwHeap;
|
||||
HRESULT ddRVal;
|
||||
VOID* GetHeapAlignment;
|
||||
HEAPALIGNMENT Alignment;
|
||||
} DD_GETHEAPALIGNMENTDATA;
|
||||
|
||||
#ifndef DD_GETHEAPALIGNMENTDATA_DECLARED
|
||||
typedef DD_GETHEAPALIGNMENTDATA *PDD_GETHEAPALIGNMENTDATA;
|
||||
#define DD_GETHEAPALIGNMENTDATA_DECLARED
|
||||
#ifndef __NTDDKCOMP__
|
||||
typedef struct _VIDMEM *LPVIDMEM;
|
||||
#else
|
||||
typedef struct _VIDEOMEMORY *LPVIDMEM;
|
||||
#endif
|
||||
|
||||
extern void WINAPI VidMemFree (LPVMEMHEAP pvmh, FLATPTR ptr);
|
||||
extern FLATPTR WINAPI VidMemAlloc (LPVMEMHEAP pvmh, DWORD width, DWORD height);
|
||||
typedef struct _SURFACEALIGNMENT *LPSURFACEALIGNMENT;
|
||||
typedef struct _HEAPALIGNMENT *LPHEAPALIGNMENT;
|
||||
typedef struct _DD_GETHEAPALIGNMENTDATA *PDD_GETHEAPALIGNMENTDATA;
|
||||
typedef VMEMHEAP *LPVMEMHEAP;
|
||||
|
||||
extern FLATPTR WINAPI
|
||||
HeapVidMemAllocAligned(
|
||||
LPVIDMEM lpVidMem,
|
||||
DWORD dwWidth,
|
||||
DWORD dwHeight,
|
||||
LPSURFACEALIGNMENT lpAlignment,
|
||||
LPLONG lpNewPitch );
|
||||
#ifndef __NTDDKCOMP__
|
||||
extern FLATPTR WINAPI VidMemAlloc (LPVMEMHEAP pvmh, DWORD width, DWORD height);
|
||||
#endif
|
||||
extern FLATPTR WINAPI HeapVidMemAllocAligned (LPVIDMEM lpVidMem, DWORD dwWidth, DWORD dwHeight, LPSURFACEALIGNMENT lpAlignment, LPLONG lpNewPitch);
|
||||
extern void WINAPI VidMemFree (LPVMEMHEAP pvmh, FLATPTR ptr);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
};
|
||||
#endif
|
||||
|
||||
#endif /* __DMEMMGR_INCLUDED__ */
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from direct-x/include/dmodshow.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dmodshow.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,34 +0,0 @@
|
||||
/* This file is part of the KDE project
|
||||
Copyright (C) 2007 Shane King
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Library General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2 of the License, or (at your option) any later version.
|
||||
|
||||
This program 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
|
||||
Library General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Library General Public License
|
||||
along with this program; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
import "unknwn.idl";
|
||||
|
||||
cpp_quote("DEFINE_GUID(CLSID_DMOWrapperFilter, 0x94297043, 0xbd82, 0x4dfd, 0xb0, 0xde, 0x81, 0x77, 0x73, 0x9c, 0x6d, 0x20);")
|
||||
|
||||
[
|
||||
object,
|
||||
uuid(52d6f586-9f0f-4824-8fc8-e32ca04930c2)
|
||||
]
|
||||
interface IDMOWrapperFilter : IUnknown
|
||||
{
|
||||
HRESULT Init(
|
||||
REFCLSID clsidDMO,
|
||||
REFCLSID catDMO
|
||||
);
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/docobj.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/docobj.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -195,7 +195,7 @@ interface IProtectedModeMenuServices;
|
||||
|
||||
typedef IOleDocument *LPOLEDOCUMENT;
|
||||
|
||||
typedef enum __WIDL_docobj_generated_name_00000013 {
|
||||
typedef enum __WIDL_docobj_generated_name_00000020 {
|
||||
DOCMISC_CANCREATEMULTIPLEVIEWS = 1,
|
||||
DOCMISC_SUPPORTCOMPLEXRECTANGLES = 2,
|
||||
DOCMISC_CANTOPENEDIT = 4,
|
||||
@ -856,7 +856,7 @@ static FORCEINLINE HRESULT IContinueCallback_FContinuePrinting(IContinueCallback
|
||||
|
||||
typedef IPrint *LPPRINT;
|
||||
|
||||
typedef enum __WIDL_docobj_generated_name_00000014 {
|
||||
typedef enum __WIDL_docobj_generated_name_00000021 {
|
||||
PRINTFLAG_MAYBOTHERUSER = 1,
|
||||
PRINTFLAG_PROMPTUSER = 2,
|
||||
PRINTFLAG_USERMAYCHANGEPRINTER = 4,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.19 from include/docobjectservice.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/docobjectservice.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 4.12.1 from include/documenttarget.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/documenttarget.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -194,7 +194,7 @@ typedef enum PrintDocumentPackageCompletion {
|
||||
PrintDocumentPackageCompletion_Canceled = 2,
|
||||
PrintDocumentPackageCompletion_Failed = 3
|
||||
} PrintDocumentPackageCompletion;
|
||||
typedef struct __WIDL_documenttarget_generated_name_00000013 {
|
||||
typedef struct __WIDL_documenttarget_generated_name_00000020 {
|
||||
UINT32 JobId;
|
||||
INT32 CurrentDocument;
|
||||
INT32 CurrentPage;
|
||||
@ -413,6 +413,8 @@ static FORCEINLINE HRESULT IPrintDocumentPackageTargetFactory_CreateDocumentPack
|
||||
#endif /* __IPrintDocumentPackageTargetFactory_INTERFACE_DEFINED__ */
|
||||
|
||||
#endif
|
||||
#ifndef __PrintDocumentTargetLib_LIBRARY_DEFINED__
|
||||
#define __PrintDocumentTargetLib_LIBRARY_DEFINED__
|
||||
|
||||
DEFINE_GUID(LIBID_PrintDocumentTargetLib, 0x410d76f7, 0x8bb5, 0x4a7d, 0x9d,0x37, 0x9c,0x71,0xb1,0xb1,0x4d,0x14);
|
||||
|
||||
@ -470,6 +472,7 @@ __CRT_UUID_DECL(PrintDocumentPackageTargetFactory, 0x348ef17d, 0x6c81, 0x4982, 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#endif /* __PrintDocumentTargetLib_LIBRARY_DEFINED__ */
|
||||
#endif
|
||||
/* Begin additional prototypes for all interfaces */
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/downloadmgr.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/downloadmgr.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/drmexternals.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/drmexternals.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/dvdif.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dvdif.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
#define AMCONTROL_USED 0x00000001
|
||||
#define AMCONTROL_PAD_TO_4x3 0x00000002
|
||||
#define AMCONTROL_PAD_TO_16x9 0x00000004
|
||||
#define AMCONTROL_COLORINFO_PRESENT 0x00000080
|
||||
|
||||
typedef struct tagVIDEOINFOHEADER2 {
|
||||
RECT rcSource;
|
||||
|
||||
@ -1,376 +0,0 @@
|
||||
|
||||
/* $Id$
|
||||
*
|
||||
* COPYRIGHT: This file is in the public domain.
|
||||
* PROJECT: ReactOS kernel
|
||||
* FILE:
|
||||
* PURPOSE: Directx headers
|
||||
* PROGRAMMER: Magnus Olsen (greatlrd)
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __DVP_INCLUDED__
|
||||
#define __DVP_INCLUDED__
|
||||
|
||||
#if defined( _WIN32 ) && !defined( _NO_COM )
|
||||
DEFINE_GUID(IID_IDDVideoPortContainer, 0x6C142760,0xA733,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60);
|
||||
DEFINE_GUID(IID_IDirectDrawVideoPort, 0xB36D93E0,0x2B43,0x11CF,0xA2,0xDE,0x00,0xAA,0x00,0xB9,0x33,0x56);
|
||||
DEFINE_GUID(IID_IDirectDrawVideoPortNotify, 0xA655FB94,0x0589,0x4E57,0xB3,0x33,0x56,0x7A,0x89,0x46,0x8C,0x88);
|
||||
|
||||
DEFINE_GUID(DDVPTYPE_E_HREFH_VREFH, 0x54F39980L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
|
||||
DEFINE_GUID(DDVPTYPE_E_HREFH_VREFL, 0x92783220L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
|
||||
DEFINE_GUID(DDVPTYPE_E_HREFL_VREFH, 0xA07A02E0L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
|
||||
DEFINE_GUID(DDVPTYPE_E_HREFL_VREFL, 0xE09C77E0L,0xDA60,0x11CF,0x9B,0x06,0x00,0xA0,0xC9,0x03,0xA3,0xB8);
|
||||
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);
|
||||
#endif
|
||||
|
||||
#ifndef GUID_DEFS_ONLY
|
||||
|
||||
#if defined(_WIN32) && !defined(_NO_COM)
|
||||
#define COM_NO_WINDOWS_H
|
||||
#include <objbase.h>
|
||||
#else
|
||||
#define IUnknown void
|
||||
#endif /* _WIN32 && !_NO_COM */
|
||||
|
||||
#ifndef MAXULONG_PTR
|
||||
#define ULONG_PTR DWORD
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct _DDVIDEOPORTCONNECT
|
||||
{
|
||||
DWORD dwSize;
|
||||
DWORD dwPortWidth;
|
||||
GUID guidTypeID;
|
||||
DWORD dwFlags;
|
||||
ULONG_PTR dwReserved1;
|
||||
} DDVIDEOPORTCONNECT, *LPDDVIDEOPORTCONNECT;
|
||||
|
||||
typedef struct _DDVIDEOPORTDESC
|
||||
{
|
||||
DWORD dwSize;
|
||||
DWORD dwFieldWidth;
|
||||
DWORD dwVBIWidth;
|
||||
DWORD dwFieldHeight;
|
||||
DWORD dwMicrosecondsPerField;
|
||||
DWORD dwMaxPixelsPerSecond;
|
||||
DWORD dwVideoPortID;
|
||||
DWORD dwReserved1;
|
||||
DDVIDEOPORTCONNECT VideoPortType;
|
||||
ULONG_PTR dwReserved2;
|
||||
ULONG_PTR dwReserved3;
|
||||
} DDVIDEOPORTDESC, *LPDDVIDEOPORTDESC;
|
||||
|
||||
typedef struct _DDVIDEOPORTBANDWIDTH
|
||||
{
|
||||
DWORD dwSize;
|
||||
DWORD dwOverlay;
|
||||
DWORD dwColorkey;
|
||||
DWORD dwYInterpolate;
|
||||
DWORD dwYInterpAndColorkey;
|
||||
ULONG_PTR dwReserved1;
|
||||
ULONG_PTR dwReserved2;
|
||||
} DDVIDEOPORTBANDWIDTH, *LPDDVIDEOPORTBANDWIDTH;
|
||||
|
||||
typedef struct _DDVIDEOPORTCAPS
|
||||
{
|
||||
DWORD dwSize;
|
||||
DWORD dwFlags;
|
||||
DWORD dwMaxWidth;
|
||||
DWORD dwMaxVBIWidth;
|
||||
DWORD dwMaxHeight;
|
||||
DWORD dwVideoPortID;
|
||||
DWORD dwCaps;
|
||||
DWORD dwFX;
|
||||
DWORD dwNumAutoFlipSurfaces;
|
||||
DWORD dwAlignVideoPortBoundary;
|
||||
DWORD dwAlignVideoPortPrescaleWidth;
|
||||
DWORD dwAlignVideoPortCropBoundary;
|
||||
DWORD dwAlignVideoPortCropWidth;
|
||||
DWORD dwPreshrinkXStep;
|
||||
DWORD dwPreshrinkYStep;
|
||||
DWORD dwNumVBIAutoFlipSurfaces;
|
||||
DWORD dwNumPreferredAutoflip;
|
||||
WORD wNumFilterTapsX;
|
||||
WORD wNumFilterTapsY;
|
||||
} DDVIDEOPORTCAPS, *LPDDVIDEOPORTCAPS;
|
||||
|
||||
typedef struct _DDVIDEOPORTINFO
|
||||
{
|
||||
DWORD dwSize;
|
||||
DWORD dwOriginX;
|
||||
DWORD dwOriginY;
|
||||
DWORD dwVPFlags;
|
||||
RECT rCrop;
|
||||
DWORD dwPrescaleWidth;
|
||||
DWORD dwPrescaleHeight;
|
||||
LPDDPIXELFORMAT lpddpfInputFormat;
|
||||
LPDDPIXELFORMAT lpddpfVBIInputFormat;
|
||||
LPDDPIXELFORMAT lpddpfVBIOutputFormat;
|
||||
DWORD dwVBIHeight;
|
||||
ULONG_PTR dwReserved1;
|
||||
ULONG_PTR dwReserved2;
|
||||
} DDVIDEOPORTINFO, *LPDDVIDEOPORTINFO;
|
||||
|
||||
typedef struct _DDVIDEOPORTSTATUS
|
||||
{
|
||||
DWORD dwSize;
|
||||
WINBOOL bInUse;
|
||||
DWORD dwFlags;
|
||||
DWORD dwReserved1;
|
||||
DDVIDEOPORTCONNECT VideoPortType;
|
||||
ULONG_PTR dwReserved2;
|
||||
ULONG_PTR dwReserved3;
|
||||
} DDVIDEOPORTSTATUS, *LPDDVIDEOPORTSTATUS;
|
||||
|
||||
typedef struct _DDVIDEOPORTNOTIFY
|
||||
{
|
||||
LARGE_INTEGER ApproximateTimeStamp;
|
||||
LONG lField;
|
||||
UINT dwSurfaceIndex;
|
||||
LONG lDone;
|
||||
} DDVIDEOPORTNOTIFY, *LPDDVIDEOPORTNOTIFY;
|
||||
|
||||
|
||||
#define DDVPD_WIDTH 0x00000001
|
||||
#define DDVPD_HEIGHT 0x00000002
|
||||
#define DDVPD_ID 0x00000004
|
||||
#define DDVPD_CAPS 0x00000008
|
||||
#define DDVPD_FX 0x00000010
|
||||
#define DDVPD_AUTOFLIP 0x00000020
|
||||
#define DDVPD_ALIGN 0x00000040
|
||||
#define DDVPD_PREFERREDAUTOFLIP 0x00000080
|
||||
#define DDVPD_FILTERQUALITY 0x00000100
|
||||
#define DDVPCONNECT_DOUBLECLOCK 0x00000001
|
||||
#define DDVPCONNECT_VACT 0x00000002
|
||||
#define DDVPCONNECT_INVERTPOLARITY 0x00000004
|
||||
#define DDVPCONNECT_DISCARDSVREFDATA 0x00000008
|
||||
#define DDVPCONNECT_HALFLINE 0x00000010
|
||||
#define DDVPCONNECT_INTERLACED 0x00000020
|
||||
#define DDVPCONNECT_SHAREEVEN 0x00000040
|
||||
#define DDVPCONNECT_SHAREODD 0x00000080
|
||||
#define DDVPCAPS_AUTOFLIP 0x00000001
|
||||
#define DDVPCAPS_INTERLACED 0x00000002
|
||||
#define DDVPCAPS_NONINTERLACED 0x00000004
|
||||
#define DDVPCAPS_READBACKFIELD 0x00000008
|
||||
#define DDVPCAPS_READBACKLINE 0x00000010
|
||||
#define DDVPCAPS_SHAREABLE 0x00000020
|
||||
#define DDVPCAPS_SKIPEVENFIELDS 0x00000040
|
||||
#define DDVPCAPS_SKIPODDFIELDS 0x00000080
|
||||
#define DDVPCAPS_SYNCMASTER 0x00000100
|
||||
#define DDVPCAPS_VBISURFACE 0x00000200
|
||||
#define DDVPCAPS_COLORCONTROL 0x00000400
|
||||
#define DDVPCAPS_OVERSAMPLEDVBI 0x00000800
|
||||
#define DDVPCAPS_SYSTEMMEMORY 0x00001000
|
||||
#define DDVPCAPS_VBIANDVIDEOINDEPENDENT 0x00002000
|
||||
#define DDVPCAPS_HARDWAREDEINTERLACE 0x00004000
|
||||
#define DDVPFX_CROPTOPDATA 0x00000001
|
||||
#define DDVPFX_CROPX 0x00000002
|
||||
#define DDVPFX_CROPY 0x00000004
|
||||
#define DDVPFX_INTERLEAVE 0x00000008
|
||||
#define DDVPFX_MIRRORLEFTRIGHT 0x00000010
|
||||
#define DDVPFX_MIRRORUPDOWN 0x00000020
|
||||
#define DDVPFX_PRESHRINKX 0x00000040
|
||||
#define DDVPFX_PRESHRINKY 0x00000080
|
||||
#define DDVPFX_PRESHRINKXB 0x00000100
|
||||
#define DDVPFX_PRESHRINKYB 0x00000200
|
||||
#define DDVPFX_PRESHRINKXS 0x00000400
|
||||
#define DDVPFX_PRESHRINKYS 0x00000800
|
||||
#define DDVPFX_PRESTRETCHX 0x00001000
|
||||
#define DDVPFX_PRESTRETCHY 0x00002000
|
||||
#define DDVPFX_PRESTRETCHXN 0x00004000
|
||||
#define DDVPFX_PRESTRETCHYN 0x00008000
|
||||
#define DDVPFX_VBICONVERT 0x00010000
|
||||
#define DDVPFX_VBINOSCALE 0x00020000
|
||||
#define DDVPFX_IGNOREVBIXCROP 0x00040000
|
||||
#define DDVPFX_VBINOINTERLEAVE 0x00080000
|
||||
#define DDVP_AUTOFLIP 0x00000001
|
||||
#define DDVP_CONVERT 0x00000002
|
||||
#define DDVP_CROP 0x00000004
|
||||
#define DDVP_INTERLEAVE 0x00000008
|
||||
#define DDVP_MIRRORLEFTRIGHT 0x00000010
|
||||
#define DDVP_MIRRORUPDOWN 0x00000020
|
||||
#define DDVP_PRESCALE 0x00000040
|
||||
#define DDVP_SKIPEVENFIELDS 0x00000080
|
||||
#define DDVP_SKIPODDFIELDS 0x00000100
|
||||
#define DDVP_SYNCMASTER 0x00000200
|
||||
#define DDVP_VBICONVERT 0x00000400
|
||||
#define DDVP_VBINOSCALE 0x00000800
|
||||
#define DDVP_OVERRIDEBOBWEAVE 0x00001000
|
||||
#define DDVP_IGNOREVBIXCROP 0x00002000
|
||||
#define DDVP_VBINOINTERLEAVE 0x00004000
|
||||
#define DDVP_HARDWAREDEINTERLACE 0x00008000
|
||||
#define DDVPFORMAT_VIDEO 0x00000001
|
||||
#define DDVPFORMAT_VBI 0x00000002
|
||||
#define DDVPTARGET_VIDEO 0x00000001
|
||||
#define DDVPTARGET_VBI 0x00000002
|
||||
#define DDVPWAIT_BEGIN 0x00000001
|
||||
#define DDVPWAIT_END 0x00000002
|
||||
#define DDVPWAIT_LINE 0x00000003
|
||||
#define DDVPFLIP_VIDEO 0x00000001
|
||||
#define DDVPFLIP_VBI 0x00000002
|
||||
#define DDVPSQ_NOSIGNAL 0x00000001
|
||||
#define DDVPSQ_SIGNALOK 0x00000002
|
||||
#define DDVPB_VIDEOPORT 0x00000001
|
||||
#define DDVPB_OVERLAY 0x00000002
|
||||
#define DDVPB_TYPE 0x00000004
|
||||
#define DDVPBCAPS_SOURCE 0x00000001
|
||||
#define DDVPBCAPS_DESTINATION 0x00000002
|
||||
#define DDVPCREATE_VBIONLY 0x00000001
|
||||
#define DDVPCREATE_VIDEOONLY 0x00000002
|
||||
#define DDVPSTATUS_VBIONLY 0x00000001
|
||||
#define DDVPSTATUS_VIDEOONLY 0x00000002
|
||||
|
||||
struct IDirectDraw;
|
||||
struct IDirectDrawSurface;
|
||||
struct IDirectDrawPalette;
|
||||
struct IDirectDrawClipper;
|
||||
typedef struct IDirectDrawVideoPort *LPDIRECTDRAWVIDEOPORT;
|
||||
typedef struct IDDVideoPortContainer *LPDDVIDEOPORTCONTAINER;
|
||||
typedef struct IDirectDrawVideoPortNotify *LPDIRECTDRAWVIDEOPORTNOTIFY;
|
||||
|
||||
typedef struct IDDVideoPortContainerVtbl DDVIDEOPORTCONTAINERCALLBACKS;
|
||||
typedef struct IDirectDrawVideoPortVtbl DIRECTDRAWVIDEOPORTCALLBACKS;
|
||||
typedef struct IDirectDrawVideoPortNotifyVtbl DIRECTDRAWVIDEOPORTNOTIFYCALLBACKS;
|
||||
|
||||
typedef HRESULT (*LPDDENUMVIDEOCALLBACK)(LPDDVIDEOPORTCAPS, LPVOID);
|
||||
|
||||
|
||||
#if defined( _WIN32 ) && !defined( _NO_COM )
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDDVideoPortContainer
|
||||
DECLARE_INTERFACE_( IDDVideoPortContainer, IUnknown )
|
||||
{
|
||||
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID *ppvObj) PURE;
|
||||
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||
STDMETHOD(CreateVideoPort)(THIS_ DWORD, LPDDVIDEOPORTDESC, LPDIRECTDRAWVIDEOPORT *, IUnknown *) PURE;
|
||||
STDMETHOD(EnumVideoPorts)(THIS_ DWORD, LPDDVIDEOPORTCAPS, LPVOID,LPDDENUMVIDEOCALLBACK ) PURE;
|
||||
STDMETHOD(GetVideoPortConnectInfo)(THIS_ DWORD, LPDWORD, LPDDVIDEOPORTCONNECT ) PURE;
|
||||
STDMETHOD(QueryVideoPortStatus)(THIS_ DWORD, LPDDVIDEOPORTSTATUS ) PURE;
|
||||
};
|
||||
|
||||
#if !defined(__cplusplus) || defined(CINTERFACE)
|
||||
# define IVideoPortContainer_QueryInterface(p, a, b) (p)->lpVtbl->QueryInterface(p, a, b)
|
||||
# define IVideoPortContainer_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
# define IVideoPortContainer_Release(p) (p)->lpVtbl->Release(p)
|
||||
# define IVideoPortContainer_CreateVideoPort(p, a, b, c, d) (p)->lpVtbl->CreateVideoPort(p, a, b, c, d)
|
||||
# define IVideoPortContainer_EnumVideoPorts(p, a, b, c, d) (p)->lpVtbl->EnumVideoPorts(p, a, b, c, d)
|
||||
# define IVideoPortContainer_GetVideoPortConnectInfo(p, a, b, c) (p)->lpVtbl->GetVideoPortConnectInfo(p, a, b, c)
|
||||
# define IVideoPortContainer_QueryVideoPortStatus(p, a, b) (p)->lpVtbl->QueryVideoPortStatus(p, a, b)
|
||||
#else
|
||||
# define IVideoPortContainer_QueryInterface(p, a, b) (p)->QueryInterface(a, b)
|
||||
# define IVideoPortContainer_AddRef(p) (p)->AddRef()
|
||||
# define IVideoPortContainer_Release(p) (p)->Release()
|
||||
# define IVideoPortContainer_CreateVideoPort(p, a, b, c, d) (p)->CreateVideoPort(a, b, c, d)
|
||||
# define IVideoPortContainer_EnumVideoPorts(p, a, b, c, d) (p)->EnumVideoPorts(a, b, c, d)
|
||||
# define IVideoPortContainer_GetVideoPortConnectInfo(p, a, b, c) (p)->GetVideoPortConnectInfo(a, b, c)
|
||||
# define IVideoPortContainer_QueryVideoPortStatus(p, a, b) (p)->QueryVideoPortStatus(a, b)
|
||||
#endif /* !__cplusplus || defined(CINTERFACE) */
|
||||
#endif /* defined( _WIN32 ) && !defined( _NO_COM ) */
|
||||
|
||||
#if defined( _WIN32 ) && !defined( _NO_COM )
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDirectDrawVideoPort
|
||||
DECLARE_INTERFACE_( IDirectDrawVideoPort, IUnknown )
|
||||
{
|
||||
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
|
||||
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||
STDMETHOD(Flip)(THIS_ LPDIRECTDRAWSURFACE, DWORD) PURE;
|
||||
STDMETHOD(GetBandwidthInfo)(THIS_ LPDDPIXELFORMAT, DWORD, DWORD, DWORD, LPDDVIDEOPORTBANDWIDTH) PURE;
|
||||
STDMETHOD(GetColorControls)(THIS_ LPDDCOLORCONTROL) PURE;
|
||||
STDMETHOD(GetInputFormats)(THIS_ LPDWORD, LPDDPIXELFORMAT, DWORD) PURE;
|
||||
STDMETHOD(GetOutputFormats)(THIS_ LPDDPIXELFORMAT, LPDWORD, LPDDPIXELFORMAT, DWORD) PURE;
|
||||
STDMETHOD(GetFieldPolarity)(THIS_ LPBOOL) PURE;
|
||||
STDMETHOD(GetVideoLine)(THIS_ LPDWORD) PURE;
|
||||
STDMETHOD(GetVideoSignalStatus)(THIS_ LPDWORD) PURE;
|
||||
STDMETHOD(SetColorControls)(THIS_ LPDDCOLORCONTROL) PURE;
|
||||
STDMETHOD(SetTargetSurface)(THIS_ LPDIRECTDRAWSURFACE, DWORD) PURE;
|
||||
STDMETHOD(StartVideo)(THIS_ LPDDVIDEOPORTINFO) PURE;
|
||||
STDMETHOD(StopVideo)(THIS) PURE;
|
||||
STDMETHOD(UpdateVideo)(THIS_ LPDDVIDEOPORTINFO) PURE;
|
||||
STDMETHOD(WaitForSync)(THIS_ DWORD, DWORD, DWORD) PURE;
|
||||
};
|
||||
|
||||
#if !defined(__cplusplus) || defined(CINTERFACE)
|
||||
# define IVideoPort_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
# define IVideoPort_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
# define IVideoPort_Release(p) (p)->lpVtbl->Release(p)
|
||||
# define IVideoPort_SetTargetSurface(p,a,b) (p)->lpVtbl->SetTargetSurface(p,a,b)
|
||||
# define IVideoPort_Flip(p,a,b) (p)->lpVtbl->Flip(p,a,b)
|
||||
# define IVideoPort_GetBandwidthInfo(p,a,b,c,d,e) (p)->lpVtbl->GetBandwidthInfo(p,a,b,c,d,e)
|
||||
# define IVideoPort_GetColorControls(p,a) (p)->lpVtbl->GetColorControls(p,a)
|
||||
# define IVideoPort_GetInputFormats(p,a,b,c) (p)->lpVtbl->GetInputFormats(p,a,b,c)
|
||||
# define IVideoPort_GetOutputFormats(p,a,b,c,d) (p)->lpVtbl->GetOutputFormats(p,a,b,c,d)
|
||||
# define IVideoPort_GetFieldPolarity(p,a) (p)->lpVtbl->GetFieldPolarity(p,a)
|
||||
# define IVideoPort_GetVideoLine(p,a) (p)->lpVtbl->GetVideoLine(p,a)
|
||||
# define IVideoPort_GetVideoSignalStatus(p,a) (p)->lpVtbl->GetVideoSignalStatus(p,a)
|
||||
# define IVideoPort_SetColorControls(p,a) (p)->lpVtbl->SetColorControls(p,a)
|
||||
# define IVideoPort_StartVideo(p,a) (p)->lpVtbl->StartVideo(p,a)
|
||||
# define IVideoPort_StopVideo(p) (p)->lpVtbl->StopVideo(p)
|
||||
# define IVideoPort_UpdateVideo(p,a) (p)->lpVtbl->UpdateVideo(p,a)
|
||||
# define IVideoPort_WaitForSync(p,a,b,c) (p)->lpVtbl->WaitForSync(p,a,b,c)
|
||||
#else
|
||||
# define IVideoPort_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
|
||||
# define IVideoPort_AddRef(p) (p)->AddRef()
|
||||
# define IVideoPort_Release(p) (p)->Release()
|
||||
# define IVideoPort_SetTargetSurface(p,a,b) (p)->SetTargetSurface(a,b)
|
||||
# define IVideoPort_Flip(p,a,b) (p)->Flip(a,b)
|
||||
# define IVideoPort_GetBandwidthInfo(p,a,b,c,d,e) (p)->GetBandwidthInfo(a,b,c,d,e)
|
||||
# define IVideoPort_GetColorControls(p,a) (p)->GetColorControls(a)
|
||||
# define IVideoPort_GetInputFormats(p,a,b,c) (p)->GetInputFormats(a,b,c)
|
||||
# define IVideoPort_GetOutputFormats(p,a,b,c,d) (p)->GetOutputFormats(a,b,c,d)
|
||||
# define IVideoPort_GetFieldPolarity(p,a) (p)->GetFieldPolarity(a)
|
||||
# define IVideoPort_GetVideoLine(p,a) (p)->GetVideoLine(a)
|
||||
# define IVideoPort_GetVideoSignalStatus(p,a) (p)->GetVideoSignalStatus(a)
|
||||
# define IVideoPort_SetColorControls(p,a) (p)->SetColorControls(a)
|
||||
# define IVideoPort_StartVideo(p,a) (p)->StartVideo(a)
|
||||
# define IVideoPort_StopVideo(p) (p)->StopVideo()
|
||||
# define IVideoPort_UpdateVideo(p,a) (p)->UpdateVideo(a)
|
||||
# define IVideoPort_WaitForSync(p,a,b,c) (p)->WaitForSync(a,b,c)
|
||||
#endif /* !__cplusplus || defined(CINTERFACE) */
|
||||
#endif /* defined( _WIN32 ) && !defined( _NO_COM ) */
|
||||
|
||||
#if defined( _WIN32 ) && !defined( _NO_COM )
|
||||
#undef INTERFACE
|
||||
#define INTERFACE IDirectDrawVideoPortNotify
|
||||
|
||||
DECLARE_INTERFACE_( IDirectDrawVideoPortNotify, IUnknown )
|
||||
{
|
||||
STDMETHOD(QueryInterface) (THIS_ REFIID riid, LPVOID * ppvObj) PURE;
|
||||
STDMETHOD_(ULONG,AddRef) (THIS) PURE;
|
||||
STDMETHOD_(ULONG,Release) (THIS) PURE;
|
||||
STDMETHOD(AcquireNotification)(THIS_ HANDLE *, LPDDVIDEOPORTNOTIFY) PURE;
|
||||
STDMETHOD(ReleaseNotification)(THIS_ HANDLE) PURE;
|
||||
};
|
||||
|
||||
#if !defined(__cplusplus) || defined(CINTERFACE)
|
||||
# define IVideoPortNotify_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
# define IVideoPortNotify_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
# define IVideoPortNotify_Release(p) (p)->lpVtbl->Release(p)
|
||||
# define IVideoPortNotify_AcquireNotification(p,a,b) (p)->lpVtbl->AcquireNotification(p,a,b)
|
||||
# define IVideoPortNotify_ReleaseNotification(p,a) (p)->lpVtbl->ReleaseNotification(p,a)
|
||||
#else
|
||||
# define IVideoPortNotify_QueryInterface(p,a,b) (p)->QueryInterface(a,b)
|
||||
# define IVideoPortNotify_AddRef(p) (p)->AddRef()
|
||||
# define IVideoPortNotify_Release(p) (p)->Release()
|
||||
# define IVideoPortNotify_AcquireNotification(p,a,b) (p)->lpVtbl->AcquireNotification(a,b)
|
||||
# define IVideoPortNotify_ReleaseNotification(p,a) (p)->lpVtbl->ReleaseNotification(a)
|
||||
#endif /* !__cplusplus || defined(CINTERFACE) */
|
||||
#endif /* defined( _WIN32 ) && !defined( _NO_COM ) */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* ! GUID_DEFS_ONLY */
|
||||
|
||||
#endif /* __DVP_INCLUDED__ */
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/dwrite.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dwrite.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/dwrite_1.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dwrite_1.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/dwrite_2.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dwrite_2.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
/*** Autogenerated by WIDL 5.16 from include/dwrite_3.idl - Do not edit ***/
|
||||
/*** Autogenerated by WIDL 6.4 from include/dwrite_3.idl - Do not edit ***/
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef __REQUIRED_RPCNDR_H_VERSION__
|
||||
@ -454,6 +454,11 @@ typedef struct DWRITE_FONT_PROPERTY {
|
||||
const WCHAR *propertyValue;
|
||||
const WCHAR *localeName;
|
||||
} DWRITE_FONT_PROPERTY;
|
||||
#ifdef __cplusplus
|
||||
#define DWRITE_MAKE_FONT_AXIS_TAG(a,b,c,d) (static_cast<DWRITE_FONT_AXIS_TAG>(DWRITE_MAKE_OPENTYPE_TAG(a,b,c,d)))
|
||||
#else
|
||||
#define DWRITE_MAKE_FONT_AXIS_TAG(a,b,c,d) (DWRITE_MAKE_OPENTYPE_TAG(a,b,c,d))
|
||||
#endif
|
||||
typedef enum DWRITE_FONT_AXIS_TAG {
|
||||
DWRITE_FONT_AXIS_TAG_WEIGHT = 0x74686777,
|
||||
DWRITE_FONT_AXIS_TAG_WIDTH = 0x68746477,
|
||||
@ -5048,7 +5053,7 @@ IDWriteTextFormat3 : public IDWriteTextFormat2
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetFontAxisValues(
|
||||
const DWRITE_FONT_AXIS_VALUE *axis_values,
|
||||
DWRITE_FONT_AXIS_VALUE *axis_values,
|
||||
UINT32 num_values) = 0;
|
||||
|
||||
virtual DWRITE_AUTOMATIC_FONT_AXES STDMETHODCALLTYPE GetAutomaticFontAxes(
|
||||
@ -5224,7 +5229,7 @@ typedef struct IDWriteTextFormat3Vtbl {
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetFontAxisValues)(
|
||||
IDWriteTextFormat3 *This,
|
||||
const DWRITE_FONT_AXIS_VALUE *axis_values,
|
||||
DWRITE_FONT_AXIS_VALUE *axis_values,
|
||||
UINT32 num_values);
|
||||
|
||||
DWRITE_AUTOMATIC_FONT_AXES (STDMETHODCALLTYPE *GetAutomaticFontAxes)(
|
||||
@ -5409,7 +5414,7 @@ static FORCEINLINE HRESULT IDWriteTextFormat3_SetFontAxisValues(IDWriteTextForma
|
||||
static FORCEINLINE UINT32 IDWriteTextFormat3_GetFontAxisValueCount(IDWriteTextFormat3* This) {
|
||||
return This->lpVtbl->GetFontAxisValueCount(This);
|
||||
}
|
||||
static FORCEINLINE HRESULT IDWriteTextFormat3_GetFontAxisValues(IDWriteTextFormat3* This,const DWRITE_FONT_AXIS_VALUE *axis_values,UINT32 num_values) {
|
||||
static FORCEINLINE HRESULT IDWriteTextFormat3_GetFontAxisValues(IDWriteTextFormat3* This,DWRITE_FONT_AXIS_VALUE *axis_values,UINT32 num_values) {
|
||||
return This->lpVtbl->GetFontAxisValues(This,axis_values,num_values);
|
||||
}
|
||||
static FORCEINLINE DWRITE_AUTOMATIC_FONT_AXES IDWriteTextFormat3_GetAutomaticFontAxes(IDWriteTextFormat3* This) {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user