After DEFINE_ENUM_FLAG_OPERATORS should not be extra comma as it is macro which either expands to nothing or to 'extern "C" {...}'.
clang with -Wextra-semi for example for processthreadsapi.h generates following warning without this change: processthreadsapi.h:130:47: warning: extra ';' outside of a function [-Wextra-semi] DEFINE_ENUM_FLAG_OPERATORS(MACHINE_ATTRIBUTES); ^ This change was generated by: sed -E 's/DEFINE_ENUM_FLAG_OPERATORS\(([^()]*)\);/DEFINE_ENUM_FLAG_OPERATORS(\1)/g' -i `git grep --name-only DEFINE_ENUM_FLAG_OPERATORS` --- mingw-w64-headers/include/audioclient.h | 2 +- mingw-w64-headers/include/audioclient.idl | 2 +- mingw-w64-headers/include/computedefs.h | 4 +- mingw-w64-headers/include/d2d1.h | 14 +-- mingw-w64-headers/include/d2d1_1.h | 8 +- mingw-w64-headers/include/d2d1_3.h | 8 +- mingw-w64-headers/include/d2d1effectauthor.h | 6 +- mingw-w64-headers/include/d3d12.h | 98 +++++++++---------- mingw-w64-headers/include/d3d12.idl | 98 +++++++++---------- mingw-w64-headers/include/d3d12video.h | 38 +++---- mingw-w64-headers/include/d3d12video.idl | 38 +++---- mingw-w64-headers/include/dwmapi.h | 2 +- mingw-w64-headers/include/dwrite.h | 4 +- mingw-w64-headers/include/dwrite.idl | 4 +- mingw-w64-headers/include/msopc.h | 4 +- mingw-w64-headers/include/msopc.idl | 4 +- mingw-w64-headers/include/processsnapshot.h | 10 +- mingw-w64-headers/include/processthreadsapi.h | 2 +- mingw-w64-headers/include/shellscalingapi.h | 2 +- mingw-w64-headers/include/shobjidl.h | 4 +- mingw-w64-headers/include/shobjidl.idl | 4 +- mingw-w64-headers/include/winhvplatformdefs.h | 14 +-- 22 files changed, 185 insertions(+), 185 deletions(-) diff --git a/mingw-w64-headers/include/audioclient.h b/mingw-w64-headers/include/audioclient.h index 256066943f2f..02867e4b70b8 100644 --- a/mingw-w64-headers/include/audioclient.h +++ b/mingw-w64-headers/include/audioclient.h @@ -168,7 +168,7 @@ typedef enum AUDCLNT_STREAMOPTIONS { AUDCLNT_STREAMOPTIONS_MATCH_FORMAT = 0x2, AUDCLNT_STREAMOPTIONS_AMBISONICS = 0x4 } AUDCLNT_STREAMOPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(AUDCLNT_STREAMOPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(AUDCLNT_STREAMOPTIONS) typedef enum AMBISONICS_TYPE { AMBISONICS_TYPE_FULL3D = 0x0 } AMBISONICS_TYPE; diff --git a/mingw-w64-headers/include/audioclient.idl b/mingw-w64-headers/include/audioclient.idl index 73c2f9da72be..958b80c1a33f 100644 --- a/mingw-w64-headers/include/audioclient.idl +++ b/mingw-w64-headers/include/audioclient.idl @@ -66,7 +66,7 @@ typedef [v1_enum] enum AUDCLNT_STREAMOPTIONS { AUDCLNT_STREAMOPTIONS_MATCH_FORMAT = 0x2, AUDCLNT_STREAMOPTIONS_AMBISONICS = 0x4 } AUDCLNT_STREAMOPTIONS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(AUDCLNT_STREAMOPTIONS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(AUDCLNT_STREAMOPTIONS)") typedef enum AMBISONICS_TYPE { AMBISONICS_TYPE_FULL3D = 0x0 diff --git a/mingw-w64-headers/include/computedefs.h b/mingw-w64-headers/include/computedefs.h index 8da05e0ddb73..6417d2224173 100644 --- a/mingw-w64-headers/include/computedefs.h +++ b/mingw-w64-headers/include/computedefs.h @@ -69,7 +69,7 @@ typedef enum HCS_EVENT_OPTIONS { HcsEventOptionEnableLiveMigrationEvents = 0x00000004 } HCS_EVENT_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(HCS_EVENT_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(HCS_EVENT_OPTIONS) typedef enum HCS_OPERATION_OPTIONS { HcsOperationOptionNone = 0x00000000, @@ -77,7 +77,7 @@ typedef enum HCS_OPERATION_OPTIONS { HcsOperationOptionReserved1 = 0x00000002 } HCS_OPERATION_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(HCS_OPERATION_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(HCS_OPERATION_OPTIONS) typedef void (CALLBACK *HCS_EVENT_CALLBACK)(HCS_EVENT *event, void *context); diff --git a/mingw-w64-headers/include/d2d1.h b/mingw-w64-headers/include/d2d1.h index f89b1efcdc2c..d59c7e5206bf 100644 --- a/mingw-w64-headers/include/d2d1.h +++ b/mingw-w64-headers/include/d2d1.h @@ -120,7 +120,7 @@ typedef enum D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS { D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS) typedef enum D2D1_DASH_STYLE { D2D1_DASH_STYLE_SOLID = 0, @@ -155,7 +155,7 @@ typedef enum D2D1_DRAW_TEXT_OPTIONS { D2D1_DRAW_TEXT_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_DRAW_TEXT_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_DRAW_TEXT_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_DRAW_TEXT_OPTIONS) typedef enum D2D1_EXTEND_MODE { D2D1_EXTEND_MODE_CLAMP = 0, @@ -222,7 +222,7 @@ typedef enum D2D1_LAYER_OPTIONS { D2D1_LAYER_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_LAYER_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_LAYER_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_LAYER_OPTIONS) typedef enum D2D1_LINE_JOIN { D2D1_LINE_JOIN_MITER = 0, @@ -246,7 +246,7 @@ typedef enum D2D1_PATH_SEGMENT { D2D1_PATH_SEGMENT_FORCE_DWORD = 0xffffffff } D2D1_PATH_SEGMENT; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_PATH_SEGMENT); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_PATH_SEGMENT) typedef enum D2D1_PRESENT_OPTIONS { D2D1_PRESENT_OPTIONS_NONE = 0x00000000, @@ -255,7 +255,7 @@ typedef enum D2D1_PRESENT_OPTIONS { D2D1_PRESENT_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_PRESENT_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_PRESENT_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_PRESENT_OPTIONS) typedef enum D2D1_RENDER_TARGET_TYPE { D2D1_RENDER_TARGET_TYPE_DEFAULT = 0, @@ -271,7 +271,7 @@ typedef enum D2D1_RENDER_TARGET_USAGE { D2D1_RENDER_TARGET_USAGE_FORCE_DWORD = 0xffffffff } D2D1_RENDER_TARGET_USAGE; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_RENDER_TARGET_USAGE); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_RENDER_TARGET_USAGE) typedef enum D2D1_SWEEP_DIRECTION { D2D1_SWEEP_DIRECTION_COUNTER_CLOCKWISE = 0, @@ -293,7 +293,7 @@ typedef enum D2D1_WINDOW_STATE { D2D1_WINDOW_STATE_FORCE_DWORD = 0xffffffff } D2D1_WINDOW_STATE; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_WINDOW_STATE); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_WINDOW_STATE) /* this is a hack so we can use forward declares in C (easier than reordering interfaces) */ #if !defined(__cplusplus) diff --git a/mingw-w64-headers/include/d2d1_1.h b/mingw-w64-headers/include/d2d1_1.h index f6898c668872..927b51b67d57 100644 --- a/mingw-w64-headers/include/d2d1_1.h +++ b/mingw-w64-headers/include/d2d1_1.h @@ -115,7 +115,7 @@ typedef enum D2D1_DEVICE_CONTEXT_OPTIONS { D2D1_DEVICE_CONTEXT_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_DEVICE_CONTEXT_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_DEVICE_CONTEXT_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_DEVICE_CONTEXT_OPTIONS) typedef enum D2D1_BITMAP_OPTIONS { D2D1_BITMAP_OPTIONS_NONE = 0x00000000, @@ -126,7 +126,7 @@ typedef enum D2D1_BITMAP_OPTIONS { D2D1_BITMAP_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_BITMAP_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_BITMAP_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_BITMAP_OPTIONS) typedef enum D2D1_MAP_OPTIONS { D2D1_MAP_OPTIONS_NONE = 0, @@ -136,7 +136,7 @@ typedef enum D2D1_MAP_OPTIONS { D2D1_MAP_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_MAP_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_MAP_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_MAP_OPTIONS) typedef enum D2D1_COLOR_INTERPOLATION_MODE { D2D1_COLOR_INTERPOLATION_MODE_STRAIGHT = 0, @@ -198,7 +198,7 @@ typedef enum D2D1_LAYER_OPTIONS1 { D2D1_LAYER_OPTIONS1_FORCE_DWORD = 0xffffffff } D2D1_LAYER_OPTIONS1; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_LAYER_OPTIONS1); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_LAYER_OPTIONS1) typedef enum D2D1_PRINT_FONT_SUBSET_MODE { D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT = 0, diff --git a/mingw-w64-headers/include/d2d1_3.h b/mingw-w64-headers/include/d2d1_3.h index 18e233d152f1..2424e31f3a13 100644 --- a/mingw-w64-headers/include/d2d1_3.h +++ b/mingw-w64-headers/include/d2d1_3.h @@ -51,7 +51,7 @@ typedef enum D2D1_IMAGE_SOURCE_LOADING_OPTIONS { D2D1_IMAGE_SOURCE_LOADING_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_IMAGE_SOURCE_LOADING_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_IMAGE_SOURCE_LOADING_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_IMAGE_SOURCE_LOADING_OPTIONS) typedef enum D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS { D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_NONE = 0, @@ -59,7 +59,7 @@ typedef enum D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS { D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_IMAGE_SOURCE_FROM_DXGI_OPTIONS) typedef enum D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS { D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_NONE = 0, @@ -67,7 +67,7 @@ typedef enum D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS { D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_TRANSFORMED_IMAGE_SOURCE_OPTIONS) typedef struct D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES { D2D1_ORIENTATION orientation; @@ -134,7 +134,7 @@ typedef enum D2D1_SPRITE_OPTIONS { D2D1_SPRITE_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_SPRITE_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_SPRITE_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_SPRITE_OPTIONS) typedef enum D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION { D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT = 0, diff --git a/mingw-w64-headers/include/d2d1effectauthor.h b/mingw-w64-headers/include/d2d1effectauthor.h index 4b42394d3e9c..21efdd453237 100644 --- a/mingw-w64-headers/include/d2d1effectauthor.h +++ b/mingw-w64-headers/include/d2d1effectauthor.h @@ -71,7 +71,7 @@ typedef enum D2D1_CHANGE_TYPE { D2D1_CHANGE_TYPE_FORCE_DWORD = 0xffffffff } D2D1_CHANGE_TYPE; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_CHANGE_TYPE); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_CHANGE_TYPE) typedef enum D2D1_PIXEL_OPTIONS { D2D1_PIXEL_OPTIONS_NONE = 0, @@ -79,7 +79,7 @@ typedef enum D2D1_PIXEL_OPTIONS { D2D1_PIXEL_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_PIXEL_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_PIXEL_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_PIXEL_OPTIONS) typedef enum D2D1_VERTEX_OPTIONS { D2D1_VERTEX_OPTIONS_NONE = 0, @@ -89,7 +89,7 @@ typedef enum D2D1_VERTEX_OPTIONS { D2D1_VERTEX_OPTIONS_FORCE_DWORD = 0xffffffff } D2D1_VERTEX_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(D2D1_VERTEX_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(D2D1_VERTEX_OPTIONS) typedef struct D2D1_BLEND_DESCRIPTION { D2D1_BLEND sourceBlend; diff --git a/mingw-w64-headers/include/d3d12.h b/mingw-w64-headers/include/d3d12.h index 6d170d0f6976..5e694ce01695 100644 --- a/mingw-w64-headers/include/d3d12.h +++ b/mingw-w64-headers/include/d3d12.h @@ -1320,7 +1320,7 @@ typedef enum D3D12_SHADER_MIN_PRECISION_SUPPORT { D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT = 0x1, D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2 } D3D12_SHADER_MIN_PRECISION_SUPPORT; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_MIN_PRECISION_SUPPORT); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_MIN_PRECISION_SUPPORT) typedef enum D3D12_TILED_RESOURCES_TIER { D3D12_TILED_RESOURCES_TIER_NOT_SUPPORTED = 0, D3D12_TILED_RESOURCES_TIER_1 = 1, @@ -1381,7 +1381,7 @@ typedef enum D3D12_FORMAT_SUPPORT1 { D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT = 0x20000000, D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 0x40000000 } D3D12_FORMAT_SUPPORT1; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT1); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT1) typedef enum D3D12_FORMAT_SUPPORT2 { D3D12_FORMAT_SUPPORT2_NONE = 0x0, D3D12_FORMAT_SUPPORT2_UAV_ATOMIC_ADD = 0x1, @@ -1397,7 +1397,7 @@ typedef enum D3D12_FORMAT_SUPPORT2 { D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x4000, D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK = 0x8000 } D3D12_FORMAT_SUPPORT2; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT2); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT2) typedef enum D3D12_WRITEBUFFERIMMEDIATE_MODE { D3D12_WRITEBUFFERIMMEDIATE_MODE_DEFAULT = 0x0, D3D12_WRITEBUFFERIMMEDIATE_MODE_MARKER_IN = 0x1, @@ -1418,7 +1418,7 @@ typedef enum D3D12_SHADER_CACHE_SUPPORT_FLAGS { D3D12_SHADER_CACHE_SUPPORT_SHADER_CONTROL_CLEAR = 0x20, D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE = 0x40 } D3D12_SHADER_CACHE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_SUPPORT_FLAGS) typedef enum D3D12_COMMAND_LIST_SUPPORT_FLAGS { D3D12_COMMAND_LIST_SUPPORT_FLAG_NONE = 0x0, D3D12_COMMAND_LIST_SUPPORT_FLAG_DIRECT = 0x1, @@ -1429,7 +1429,7 @@ typedef enum D3D12_COMMAND_LIST_SUPPORT_FLAGS { D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_PROCESS = 0x20, D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE = 0x40 } D3D12_COMMAND_LIST_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_SUPPORT_FLAGS) typedef enum D3D12_VIEW_INSTANCING_TIER { D3D12_VIEW_INSTANCING_TIER_NOT_SUPPORTED = 0x0, D3D12_VIEW_INSTANCING_TIER_1 = 0x1, @@ -1463,7 +1463,7 @@ typedef enum D3D12_RESIDENCY_FLAGS { D3D12_RESIDENCY_FLAG_NONE = 0x0, D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 0x1 } D3D12_RESIDENCY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESIDENCY_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESIDENCY_FLAGS) #ifndef __ID3D12Fence_FWD_DEFINED__ #define __ID3D12Fence_FWD_DEFINED__ typedef interface ID3D12Fence ID3D12Fence; @@ -1631,7 +1631,7 @@ typedef enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS { D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_NONE = 0x0, D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE = 0x1 } D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS) typedef struct D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS { DXGI_FORMAT Format; UINT SampleCount; @@ -1680,7 +1680,7 @@ typedef enum D3D12_HEAP_FLAGS { D3D12_HEAP_FLAG_ALLOW_ONLY_NON_RT_DS_TEXTURES = 0x44, D3D12_HEAP_FLAG_ALLOW_ONLY_RT_DS_TEXTURES = 0x84 } D3D12_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_HEAP_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_HEAP_FLAGS) typedef struct D3D12_HEAP_DESC { UINT64 SizeInBytes; D3D12_HEAP_PROPERTIES Properties; @@ -1761,7 +1761,7 @@ typedef enum D3D12_RESOURCE_STATES { D3D12_RESOURCE_STATE_VIDEO_ENCODE_READ = 0x200000, D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 0x800000 } D3D12_RESOURCE_STATES; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_STATES); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_STATES) typedef enum D3D12_RESOURCE_BARRIER_TYPE { D3D12_RESOURCE_BARRIER_TYPE_TRANSITION = 0, D3D12_RESOURCE_BARRIER_TYPE_ALIASING = 1, @@ -1772,7 +1772,7 @@ typedef enum D3D12_RESOURCE_BARRIER_FLAGS { D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY = 0x1, D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2 } D3D12_RESOURCE_BARRIER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_BARRIER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_BARRIER_FLAGS) typedef struct D3D12_RESOURCE_TRANSITION_BARRIER { ID3D12Resource *pResource; UINT Subresource; @@ -1820,7 +1820,7 @@ typedef enum D3D12_RESOURCE_FLAGS { D3D12_RESOURCE_FLAG_VIDEO_ENCODE_REFERENCE_ONLY = 0x80, D3D12_RESOURCE_FLAG_RAYTRACING_ACCELERATION_STRUCTURE = 0x100 } D3D12_RESOURCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_FLAGS) typedef struct D3D12_MIP_REGION { UINT Width; UINT Height; @@ -1907,7 +1907,7 @@ typedef enum D3D12_DESCRIPTOR_RANGE_FLAGS { D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC = 0x8, D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000 } D3D12_DESCRIPTOR_RANGE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_RANGE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_RANGE_FLAGS) typedef struct D3D12_DESCRIPTOR_RANGE1 { D3D12_DESCRIPTOR_RANGE_TYPE RangeType; UINT NumDescriptors; @@ -1939,7 +1939,7 @@ typedef enum D3D12_ROOT_DESCRIPTOR_FLAGS { D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x4, D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8 } D3D12_ROOT_DESCRIPTOR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_DESCRIPTOR_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_DESCRIPTOR_FLAGS) typedef struct D3D12_ROOT_DESCRIPTOR1 { UINT ShaderRegister; UINT RegisterSpace; @@ -2123,7 +2123,7 @@ typedef enum D3D12_ROOT_SIGNATURE_FLAGS { D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED = 0x400, D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED = 0x800 } D3D12_ROOT_SIGNATURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_SIGNATURE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_SIGNATURE_FLAGS) typedef struct D3D12_ROOT_SIGNATURE_DESC { UINT NumParameters; const D3D12_ROOT_PARAMETER *pParameters; @@ -2161,7 +2161,7 @@ typedef enum D3D12_DESCRIPTOR_HEAP_FLAGS { D3D12_DESCRIPTOR_HEAP_FLAG_NONE = 0x0, D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE = 0x1 } D3D12_DESCRIPTOR_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_HEAP_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_HEAP_FLAGS) typedef struct D3D12_DESCRIPTOR_HEAP_DESC { D3D12_DESCRIPTOR_HEAP_TYPE Type; UINT NumDescriptors; @@ -2191,7 +2191,7 @@ typedef enum D3D12_BUFFER_SRV_FLAGS { D3D12_BUFFER_SRV_FLAG_NONE = 0x0, D3D12_BUFFER_SRV_FLAG_RAW = 0x1 } D3D12_BUFFER_SRV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_SRV_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_SRV_FLAGS) typedef enum D3D12_SHADER_COMPONENT_MAPPING { D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_0 = 0, D3D12_SHADER_COMPONENT_MAPPING_FROM_MEMORY_COMPONENT_1 = 1, @@ -2300,7 +2300,7 @@ typedef enum D3D12_BUFFER_UAV_FLAGS { D3D12_BUFFER_UAV_FLAG_NONE = 0x0, D3D12_BUFFER_UAV_FLAG_RAW = 0x1 } D3D12_BUFFER_UAV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_UAV_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_UAV_FLAGS) typedef struct D3D12_BUFFER_UAV { UINT64 FirstElement; UINT NumElements; @@ -2416,7 +2416,7 @@ typedef enum D3D12_DSV_FLAGS { D3D12_DSV_FLAG_READ_ONLY_DEPTH = 0x1, D3D12_DSV_FLAG_READ_ONLY_STENCIL = 0x2 } D3D12_DSV_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_DSV_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_DSV_FLAGS) typedef struct D3D12_TEX1D_DSV { UINT MipSlice; } D3D12_TEX1D_DSV; @@ -2662,7 +2662,7 @@ typedef enum D3D12_PIPELINE_STATE_FLAGS { D3D12_PIPELINE_STATE_FLAG_NONE = 0x0, D3D12_PIPELINE_STATE_FLAG_DEBUG = 0x1 } D3D12_PIPELINE_STATE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_PIPELINE_STATE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_PIPELINE_STATE_FLAGS) typedef struct D3D12_GRAPHICS_PIPELINE_STATE_DESC { ID3D12RootSignature *pRootSignature; D3D12_SHADER_BYTECODE VS; @@ -2737,7 +2737,7 @@ typedef enum D3D12_VIEW_INSTANCING_FLAGS { D3D12_VIEW_INSTANCING_FLAG_NONE = 0x0, D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING = 0x1 } D3D12_VIEW_INSTANCING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIEW_INSTANCING_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIEW_INSTANCING_FLAGS) typedef struct D3D12_VIEW_INSTANCING_DESC { UINT ViewInstanceCount; const D3D12_VIEW_INSTANCE_LOCATION *pViewInstanceLocations; @@ -2761,7 +2761,7 @@ typedef enum D3D12_COMMAND_QUEUE_FLAGS { D3D12_COMMAND_QUEUE_FLAG_NONE = 0x0, D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT = 0x1 } D3D12_COMMAND_QUEUE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_QUEUE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_QUEUE_FLAGS) typedef struct D3D12_COMMAND_QUEUE_DESC { D3D12_COMMAND_LIST_TYPE Type; INT Priority; @@ -3008,7 +3008,7 @@ typedef enum D3D12_MULTIPLE_FENCE_WAIT_FLAGS { D3D12_MULTIPLE_FENCE_WAIT_FLAG_ANY = 0x1, D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL = 0x0 } D3D12_MULTIPLE_FENCE_WAIT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTIPLE_FENCE_WAIT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTIPLE_FENCE_WAIT_FLAGS) typedef enum D3D12_RESIDENCY_PRIORITY { D3D12_RESIDENCY_PRIORITY_MINIMUM = 0x28000000, D3D12_RESIDENCY_PRIORITY_LOW = 0x50000000, @@ -3023,7 +3023,7 @@ typedef struct D3D12_WRITEBUFFERIMMEDIATE_PARAMETER { typedef enum D3D12_PROTECTED_RESOURCE_SESSION_FLAGS { D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE = 0 } D3D12_PROTECTED_RESOURCE_SESSION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_FLAGS) typedef enum D3D12_PROTECTED_SESSION_STATUS { D3D12_PROTECTED_SESSION_STATUS_OK = 0, D3D12_PROTECTED_SESSION_STATUS_INVALID = 1 @@ -3891,7 +3891,7 @@ typedef enum D3D12_TILE_COPY_FLAGS { D3D12_TILE_COPY_FLAG_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE = 0x2, D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4 } D3D12_TILE_COPY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_COPY_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_COPY_FLAGS) typedef struct D3D12_INDEX_BUFFER_VIEW { D3D12_GPU_VIRTUAL_ADDRESS BufferLocation; UINT SizeInBytes; @@ -3911,7 +3911,7 @@ typedef enum D3D12_CLEAR_FLAGS { D3D12_CLEAR_FLAG_DEPTH = 0x1, D3D12_CLEAR_FLAG_STENCIL = 0x2 } D3D12_CLEAR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_CLEAR_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_CLEAR_FLAGS) typedef struct D3D12_DISCARD_REGION { UINT NumRects; const D3D12_RECT *pRects; @@ -6879,7 +6879,7 @@ typedef enum D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS { D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_NONE = 0x0, D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS) typedef struct D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT { UINT NodeIndex; D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS Support; @@ -7786,7 +7786,7 @@ typedef enum D3D12_TILE_MAPPING_FLAGS { D3D12_TILE_MAPPING_FLAG_NONE = 0x0, D3D12_TILE_MAPPING_FLAG_NO_HAZARD = 0x1 } D3D12_TILE_MAPPING_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_MAPPING_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_MAPPING_FLAGS) /***************************************************************************** * ID3D12CommandQueue interface */ @@ -8087,7 +8087,7 @@ typedef enum D3D12_FENCE_FLAGS { D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x2, D3D12_FENCE_FLAG_NON_MONITORED = 0x4 } D3D12_FENCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_FENCE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_FENCE_FLAGS) typedef enum D3D12_QUERY_HEAP_TYPE { D3D12_QUERY_HEAP_TYPE_OCCLUSION = 0, D3D12_QUERY_HEAP_TYPE_TIMESTAMP = 1, @@ -11809,15 +11809,15 @@ static __WIDL_INLINE const D3D12_VERSIONED_ROOT_SIGNATURE_DESC * ID3D12Versioned typedef enum D3D12_COMMAND_LIST_FLAGS { D3D12_COMMAND_LIST_FLAG_NONE = 0x0 } D3D12_COMMAND_LIST_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_FLAGS) typedef enum D3D12_COMMAND_POOL_FLAGS { D3D12_COMMAND_POOL_FLAG_NONE = 0x0 } D3D12_COMMAND_POOL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_POOL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_POOL_FLAGS) typedef enum D3D12_COMMAND_RECORDER_FLAGS { D3D12_COMMAND_RECORDER_FLAG_NONE = 0x0 } D3D12_COMMAND_RECORDER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_RECORDER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_RECORDER_FLAGS) /***************************************************************************** * ID3D12Device4 interface */ @@ -12887,7 +12887,7 @@ typedef enum D3D12_META_COMMAND_PARAMETER_FLAGS { D3D12_META_COMMAND_PARAMETER_FLAG_INPUT = 0x1, D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT = 0x2 } D3D12_META_COMMAND_PARAMETER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_META_COMMAND_PARAMETER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_META_COMMAND_PARAMETER_FLAGS) typedef enum D3D12_META_COMMAND_PARAMETER_STAGE { D3D12_META_COMMAND_PARAMETER_STAGE_CREATION = 0x0, D3D12_META_COMMAND_PARAMETER_STAGE_INITIALIZATION = 0x1, @@ -12920,7 +12920,7 @@ typedef enum D3D12_GRAPHICS_STATES { D3D12_GRAPHICS_STATE_SAMPLE_POSITIONS = 0x8000, D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK = 0x10000 } D3D12_GRAPHICS_STATES; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_GRAPHICS_STATES); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_GRAPHICS_STATES) typedef struct D3D12_META_COMMAND_DESC { GUID Id; const WCHAR *Name; @@ -13176,7 +13176,7 @@ typedef enum D3D12_STATE_OBJECT_FLAGS { D3D12_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS = 0x2, D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS = 0x4 } D3D12_STATE_OBJECT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_STATE_OBJECT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_STATE_OBJECT_FLAGS) typedef struct D3D12_STATE_OBJECT_CONFIG { D3D12_STATE_OBJECT_FLAGS Flags; } D3D12_STATE_OBJECT_CONFIG; @@ -13192,7 +13192,7 @@ typedef struct D3D12_NODE_MASK { typedef enum D3D12_EXPORT_FLAGS { D3D12_EXPORT_FLAG_NONE = 0x0 } D3D12_EXPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_EXPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_EXPORT_FLAGS) typedef struct D3D12_EXPORT_DESC { const WCHAR *Name; const WCHAR *ExportToRename; @@ -13241,7 +13241,7 @@ typedef enum D3D12_RAYTRACING_PIPELINE_FLAGS { D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200 } D3D12_RAYTRACING_PIPELINE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_PIPELINE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_PIPELINE_FLAGS) typedef struct D3D12_RAYTRACING_PIPELINE_CONFIG1 { UINT MaxTraceRecursionDepth; D3D12_RAYTRACING_PIPELINE_FLAGS Flags; @@ -13260,7 +13260,7 @@ typedef enum D3D12_RAYTRACING_GEOMETRY_FLAGS { D3D12_RAYTRACING_GEOMETRY_FLAG_OPAQUE = 0x1, D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION = 0x2 } D3D12_RAYTRACING_GEOMETRY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_GEOMETRY_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_GEOMETRY_FLAGS) typedef enum D3D12_RAYTRACING_GEOMETRY_TYPE { D3D12_RAYTRACING_GEOMETRY_TYPE_TRIANGLES = 0x0, D3D12_RAYTRACING_GEOMETRY_TYPE_PROCEDURAL_PRIMITIVE_AABBS = 0x1 @@ -13272,7 +13272,7 @@ typedef enum D3D12_RAYTRACING_INSTANCE_FLAGS { D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_OPAQUE = 0x4, D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE = 0x8 } D3D12_RAYTRACING_INSTANCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_INSTANCE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_INSTANCE_FLAGS) typedef struct D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { D3D12_GPU_VIRTUAL_ADDRESS StartAddress; UINT64 StrideInBytes; @@ -13316,7 +13316,7 @@ typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS { D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_MINIMIZE_MEMORY = 0x10, D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE = 0x20 } D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS) typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE { D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_CLONE = 0x0, D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE_COMPACT = 0x1, @@ -13430,7 +13430,7 @@ typedef enum D3D12_RAY_FLAGS { D3D12_RAY_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200 } D3D12_RAY_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAY_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAY_FLAGS) typedef enum D3D12_HIT_KIND { D3D12_HIT_KIND_TRIANGLE_FRONT_FACE = 0xfe, D3D12_HIT_KIND_TRIANGLE_BACK_FACE = 0xff @@ -14304,7 +14304,7 @@ typedef enum D3D12_DRED_FLAGS { D3D12_DRED_FLAG_FORCE_ENABLE = 0x1, D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS = 0x2 } D3D12_DRED_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_FLAGS) typedef enum D3D12_DRED_ENABLEMENT { D3D12_DRED_ENABLEMENT_SYSTEM_CONTROLLED = 0x0, D3D12_DRED_ENABLEMENT_FORCED_OFF = 0x1, @@ -14377,7 +14377,7 @@ typedef struct D3D12_DRED_PAGE_FAULT_OUTPUT1 { typedef enum D3D12_DRED_PAGE_FAULT_FLAGS { D3D12_DRED_PAGE_FAULT_FLAGS_NONE = 0x0 } D3D12_DRED_PAGE_FAULT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_PAGE_FAULT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_PAGE_FAULT_FLAGS) typedef enum D3D12_DRED_DEVICE_STATE { D3D12_DRED_DEVICE_STATE_UNKNOWN = 0x0, D3D12_DRED_DEVICE_STATE_HUNG = 0x3, @@ -18225,7 +18225,7 @@ typedef enum D3D12_RENDER_PASS_FLAGS { D3D12_RENDER_PASS_FLAG_SUSPENDING_PASS = 0x2, D3D12_RENDER_PASS_FLAG_RESUMING_PASS = 0x4 } D3D12_RENDER_PASS_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_RENDER_PASS_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_RENDER_PASS_FLAGS) /***************************************************************************** * ID3D12MetaCommand interface */ @@ -19231,7 +19231,7 @@ typedef enum D3D12_SHADER_CACHE_FLAGS { D3D12_SHADER_CACHE_FLAG_DRIVER_VERSIONED = 0x1, D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR = 0x2 } D3D12_SHADER_CACHE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_FLAGS) typedef struct D3D12_SHADER_CACHE_SESSION_DESC { GUID Identifier; D3D12_SHADER_CACHE_MODE Mode; @@ -19301,7 +19301,7 @@ typedef enum D3D12_BARRIER_SYNC { D3D12_BARRIER_SYNC_COPY_RAYTRACING_ACCELERATION_STRUCTURE = 0x1000000, D3D12_BARRIER_SYNC_SPLIT = 0x80000000 } D3D12_BARRIER_SYNC; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_SYNC); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_SYNC) typedef enum D3D12_BARRIER_ACCESS { D3D12_BARRIER_ACCESS_COMMON = 0, D3D12_BARRIER_ACCESS_VERTEX_BUFFER = 0x1, @@ -19330,7 +19330,7 @@ typedef enum D3D12_BARRIER_ACCESS { D3D12_BARRIER_ACCESS_VIDEO_ENCODE_WRITE = 0x400000, D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000 } D3D12_BARRIER_ACCESS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_ACCESS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_ACCESS) typedef enum D3D12_BARRIER_TYPE { D3D12_BARRIER_TYPE_GLOBAL = 0x0, D3D12_BARRIER_TYPE_TEXTURE = 0x1, @@ -19340,7 +19340,7 @@ typedef enum D3D12_TEXTURE_BARRIER_FLAGS { D3D12_TEXTURE_BARRIER_FLAG_NONE = 0x0, D3D12_TEXTURE_BARRIER_FLAG_DISCARD = 0x1 } D3D12_TEXTURE_BARRIER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_TEXTURE_BARRIER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_TEXTURE_BARRIER_FLAGS) typedef struct D3D12_BARRIER_SUBRESOURCE_RANGE { UINT IndexOrFirstMipLevel; UINT NumMipLevels; @@ -19575,13 +19575,13 @@ typedef enum D3D12_SHADER_CACHE_KIND_FLAGS { D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED = 0x4, D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 0x8 } D3D12_SHADER_CACHE_KIND_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_KIND_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_KIND_FLAGS) typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS { D3D12_SHADER_CACHE_CONTROL_FLAG_DISABLE = 0x1, D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLE = 0x2, D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR = 0x4 } D3D12_SHADER_CACHE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_CONTROL_FLAGS) /***************************************************************************** * ID3D12Device9 interface */ diff --git a/mingw-w64-headers/include/d3d12.idl b/mingw-w64-headers/include/d3d12.idl index d7b283a2e028..e09b8b074e27 100644 --- a/mingw-w64-headers/include/d3d12.idl +++ b/mingw-w64-headers/include/d3d12.idl @@ -459,7 +459,7 @@ typedef enum D3D12_SHADER_MIN_PRECISION_SUPPORT D3D12_SHADER_MIN_PRECISION_SUPPORT_10_BIT = 0x1, D3D12_SHADER_MIN_PRECISION_SUPPORT_16_BIT = 0x2, } D3D12_SHADER_MIN_PRECISION_SUPPORT; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_MIN_PRECISION_SUPPORT);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_MIN_PRECISION_SUPPORT)") typedef enum D3D12_TILED_RESOURCES_TIER { @@ -532,7 +532,7 @@ typedef enum D3D12_FORMAT_SUPPORT1 D3D12_FORMAT_SUPPORT1_VIDEO_PROCESSOR_INPUT = 0x20000000, D3D12_FORMAT_SUPPORT1_VIDEO_ENCODER = 0x40000000, } D3D12_FORMAT_SUPPORT1; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT1);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT1)") typedef enum D3D12_FORMAT_SUPPORT2 { @@ -550,7 +550,7 @@ typedef enum D3D12_FORMAT_SUPPORT2 D3D12_FORMAT_SUPPORT2_MULTIPLANE_OVERLAY = 0x00004000, D3D12_FORMAT_SUPPORT2_SAMPLER_FEEDBACK = 0x00008000, } D3D12_FORMAT_SUPPORT2; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT2);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_FORMAT_SUPPORT2)") typedef enum D3D12_WRITEBUFFERIMMEDIATE_MODE { @@ -577,7 +577,7 @@ typedef enum D3D12_SHADER_CACHE_SUPPORT_FLAGS D3D12_SHADER_CACHE_SUPPORT_SHADER_CONTROL_CLEAR = 0x20, D3D12_SHADER_CACHE_SUPPORT_SHADER_SESSION_DELETE = 0x40, } D3D12_SHADER_CACHE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_SUPPORT_FLAGS)") typedef enum D3D12_COMMAND_LIST_SUPPORT_FLAGS { @@ -590,7 +590,7 @@ typedef enum D3D12_COMMAND_LIST_SUPPORT_FLAGS D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_PROCESS = 0x20, D3D12_COMMAND_LIST_SUPPORT_FLAG_VIDEO_ENCODE = 0x40, } D3D12_COMMAND_LIST_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_SUPPORT_FLAGS)") typedef enum D3D12_VIEW_INSTANCING_TIER { @@ -638,7 +638,7 @@ typedef enum D3D12_RESIDENCY_FLAGS D3D12_RESIDENCY_FLAG_NONE = 0x0, D3D12_RESIDENCY_FLAG_DENY_OVERBUDGET = 0x1, } D3D12_RESIDENCY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESIDENCY_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESIDENCY_FLAGS)") interface ID3D12Fence; interface ID3D12RootSignature; @@ -766,7 +766,7 @@ typedef enum D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_NONE = 0x00000000, D3D12_MULTISAMPLE_QUALITY_LEVELS_FLAG_TILED_RESOURCE = 0x00000001, } D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTISAMPLE_QUALITY_LEVEL_FLAGS)") typedef struct D3D12_FEATURE_DATA_MULTISAMPLE_QUALITY_LEVELS { @@ -827,7 +827,7 @@ typedef enum D3D12_HEAP_FLAGS D3D12_HEAP_FLAG_ALLOW_ONLY_NON_RT_DS_TEXTURES = 0x44, D3D12_HEAP_FLAG_ALLOW_ONLY_RT_DS_TEXTURES = 0x84, } D3D12_HEAP_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_HEAP_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_HEAP_FLAGS)") typedef struct D3D12_HEAP_DESC { @@ -929,7 +929,7 @@ typedef enum D3D12_RESOURCE_STATES D3D12_RESOURCE_STATE_VIDEO_ENCODE_READ = 0x200000, D3D12_RESOURCE_STATE_VIDEO_ENCODE_WRITE = 0x800000, } D3D12_RESOURCE_STATES; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_STATES);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_STATES)") typedef enum D3D12_RESOURCE_BARRIER_TYPE { @@ -944,7 +944,7 @@ typedef enum D3D12_RESOURCE_BARRIER_FLAGS D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY = 0x1, D3D12_RESOURCE_BARRIER_FLAG_END_ONLY = 0x2, } D3D12_RESOURCE_BARRIER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_BARRIER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_BARRIER_FLAGS)") typedef struct D3D12_RESOURCE_TRANSITION_BARRIER { @@ -1007,7 +1007,7 @@ typedef enum D3D12_RESOURCE_FLAGS D3D12_RESOURCE_FLAG_VIDEO_ENCODE_REFERENCE_ONLY = 0x80, D3D12_RESOURCE_FLAG_RAYTRACING_ACCELERATION_STRUCTURE = 0x100, } D3D12_RESOURCE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RESOURCE_FLAGS)") typedef struct D3D12_MIP_REGION { @@ -1119,7 +1119,7 @@ typedef enum D3D12_DESCRIPTOR_RANGE_FLAGS D3D12_DESCRIPTOR_RANGE_FLAG_DATA_STATIC = 0x8, D3D12_DESCRIPTOR_RANGE_FLAG_DESCRIPTORS_STATIC_KEEPING_BUFFER_BOUNDS_CHECKS = 0x10000, } D3D12_DESCRIPTOR_RANGE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_RANGE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_RANGE_FLAGS)") typedef struct D3D12_DESCRIPTOR_RANGE1 { @@ -1163,7 +1163,7 @@ typedef enum D3D12_ROOT_DESCRIPTOR_FLAGS D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC_WHILE_SET_AT_EXECUTE = 0x4, D3D12_ROOT_DESCRIPTOR_FLAG_DATA_STATIC = 0x8, } D3D12_ROOT_DESCRIPTOR_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_DESCRIPTOR_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_DESCRIPTOR_FLAGS)") typedef struct D3D12_ROOT_DESCRIPTOR1 { @@ -1379,7 +1379,7 @@ typedef enum D3D12_ROOT_SIGNATURE_FLAGS D3D12_ROOT_SIGNATURE_FLAG_CBV_SRV_UAV_HEAP_DIRECTLY_INDEXED = 0x400, D3D12_ROOT_SIGNATURE_FLAG_SAMPLER_HEAP_DIRECTLY_INDEXED = 0x800, } D3D12_ROOT_SIGNATURE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_SIGNATURE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_ROOT_SIGNATURE_FLAGS)") typedef struct D3D12_ROOT_SIGNATURE_DESC { @@ -1430,7 +1430,7 @@ typedef enum D3D12_DESCRIPTOR_HEAP_FLAGS D3D12_DESCRIPTOR_HEAP_FLAG_NONE = 0x0, D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE = 0x1, } D3D12_DESCRIPTOR_HEAP_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_HEAP_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DESCRIPTOR_HEAP_FLAGS)") typedef struct D3D12_DESCRIPTOR_HEAP_DESC { @@ -1469,7 +1469,7 @@ typedef enum D3D12_BUFFER_SRV_FLAGS D3D12_BUFFER_SRV_FLAG_NONE = 0x0, D3D12_BUFFER_SRV_FLAG_RAW = 0x1, } D3D12_BUFFER_SRV_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_SRV_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_SRV_FLAGS)") typedef enum D3D12_SHADER_COMPONENT_MAPPING { @@ -1611,7 +1611,7 @@ typedef enum D3D12_BUFFER_UAV_FLAGS D3D12_BUFFER_UAV_FLAG_NONE = 0x0, D3D12_BUFFER_UAV_FLAG_RAW = 0x1, } D3D12_BUFFER_UAV_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_UAV_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BUFFER_UAV_FLAGS)") typedef struct D3D12_BUFFER_UAV { @@ -1767,7 +1767,7 @@ typedef enum D3D12_DSV_FLAGS D3D12_DSV_FLAG_READ_ONLY_DEPTH = 0x1, D3D12_DSV_FLAG_READ_ONLY_STENCIL = 0x2, } D3D12_DSV_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DSV_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DSV_FLAGS)") typedef struct D3D12_TEX1D_DSV { @@ -2086,7 +2086,7 @@ typedef enum D3D12_PIPELINE_STATE_FLAGS D3D12_PIPELINE_STATE_FLAG_NONE = 0x0, D3D12_PIPELINE_STATE_FLAG_DEBUG = 0x1, } D3D12_PIPELINE_STATE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_PIPELINE_STATE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_PIPELINE_STATE_FLAGS)") typedef struct D3D12_GRAPHICS_PIPELINE_STATE_DESC { @@ -2175,7 +2175,7 @@ typedef enum D3D12_VIEW_INSTANCING_FLAGS D3D12_VIEW_INSTANCING_FLAG_NONE = 0x0, D3D12_VIEW_INSTANCING_FLAG_ENABLE_VIEW_INSTANCE_MASKING = 0x1, } D3D12_VIEW_INSTANCING_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIEW_INSTANCING_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIEW_INSTANCING_FLAGS)") typedef struct D3D12_VIEW_INSTANCING_DESC { @@ -2207,7 +2207,7 @@ typedef enum D3D12_COMMAND_QUEUE_FLAGS D3D12_COMMAND_QUEUE_FLAG_NONE = 0x0, D3D12_COMMAND_QUEUE_FLAG_DISABLE_GPU_TIMEOUT = 0x1, } D3D12_COMMAND_QUEUE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_QUEUE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_QUEUE_FLAGS)") typedef struct D3D12_COMMAND_QUEUE_DESC { @@ -2538,7 +2538,7 @@ typedef enum D3D12_MULTIPLE_FENCE_WAIT_FLAGS D3D12_MULTIPLE_FENCE_WAIT_FLAG_ANY = 0x1, D3D12_MULTIPLE_FENCE_WAIT_FLAG_ALL = 0x0, } D3D12_MULTIPLE_FENCE_WAIT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTIPLE_FENCE_WAIT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_MULTIPLE_FENCE_WAIT_FLAGS)") typedef enum D3D12_RESIDENCY_PRIORITY { @@ -2559,7 +2559,7 @@ typedef enum D3D12_PROTECTED_RESOURCE_SESSION_FLAGS { D3D12_PROTECTED_RESOURCE_SESSION_FLAG_NONE = 0, } D3D12_PROTECTED_RESOURCE_SESSION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_FLAGS)") typedef enum D3D12_PROTECTED_SESSION_STATUS { @@ -2660,7 +2660,7 @@ typedef enum D3D12_TILE_COPY_FLAGS D3D12_TILE_COPY_FLAG_LINEAR_BUFFER_TO_SWIZZLED_TILED_RESOURCE = 0x2, D3D12_TILE_COPY_FLAG_SWIZZLED_TILED_RESOURCE_TO_LINEAR_BUFFER = 0x4, } D3D12_TILE_COPY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_COPY_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_COPY_FLAGS)") typedef struct D3D12_INDEX_BUFFER_VIEW { @@ -2688,7 +2688,7 @@ typedef enum D3D12_CLEAR_FLAGS D3D12_CLEAR_FLAG_DEPTH = 0x1, D3D12_CLEAR_FLAG_STENCIL = 0x2, } D3D12_CLEAR_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_CLEAR_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_CLEAR_FLAGS)") typedef struct D3D12_DISCARD_REGION { @@ -2972,7 +2972,7 @@ typedef enum D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_NONE = 0x0, D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_PROTECTED_RESOURCE_SESSION_SUPPORT_FLAGS)") typedef struct D3D12_FEATURE_DATA_PROTECTED_RESOURCE_SESSION_SUPPORT { @@ -3015,7 +3015,7 @@ typedef enum D3D12_TILE_MAPPING_FLAGS D3D12_TILE_MAPPING_FLAG_NONE = 0x0, D3D12_TILE_MAPPING_FLAG_NO_HAZARD = 0x1, } D3D12_TILE_MAPPING_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_MAPPING_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_TILE_MAPPING_FLAGS)") [ uuid(0ec870a6-5d7e-4c22-8cfc-5baae07616ed), @@ -3065,7 +3065,7 @@ typedef enum D3D12_FENCE_FLAGS D3D12_FENCE_FLAG_SHARED_CROSS_ADAPTER = 0x2, D3D12_FENCE_FLAG_NON_MONITORED = 0x4, } D3D12_FENCE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_FENCE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_FENCE_FLAGS)") typedef enum D3D12_QUERY_HEAP_TYPE { @@ -3444,19 +3444,19 @@ typedef enum D3D12_COMMAND_LIST_FLAGS { D3D12_COMMAND_LIST_FLAG_NONE = 0x0, } D3D12_COMMAND_LIST_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_LIST_FLAGS)") typedef enum D3D12_COMMAND_POOL_FLAGS { D3D12_COMMAND_POOL_FLAG_NONE = 0x0, } D3D12_COMMAND_POOL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_POOL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_POOL_FLAGS)") typedef enum D3D12_COMMAND_RECORDER_FLAGS { D3D12_COMMAND_RECORDER_FLAG_NONE = 0x0, } D3D12_COMMAND_RECORDER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_RECORDER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_COMMAND_RECORDER_FLAGS)") [ uuid(e865df17-a9ee-46f9-a463-3098315aa2e5), @@ -3562,7 +3562,7 @@ typedef enum D3D12_META_COMMAND_PARAMETER_FLAGS D3D12_META_COMMAND_PARAMETER_FLAG_INPUT = 0x1, D3D12_META_COMMAND_PARAMETER_FLAG_OUTPUT = 0x2, } D3D12_META_COMMAND_PARAMETER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_META_COMMAND_PARAMETER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_META_COMMAND_PARAMETER_FLAGS)") typedef enum D3D12_META_COMMAND_PARAMETER_STAGE { @@ -3601,7 +3601,7 @@ typedef enum D3D12_GRAPHICS_STATES D3D12_GRAPHICS_STATE_SAMPLE_POSITIONS = 0x8000, D3D12_GRAPHICS_STATE_VIEW_INSTANCE_MASK = 0x10000, } D3D12_GRAPHICS_STATES; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_GRAPHICS_STATES);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_GRAPHICS_STATES)") typedef struct D3D12_META_COMMAND_DESC { @@ -3665,7 +3665,7 @@ typedef enum D3D12_STATE_OBJECT_FLAGS D3D12_STATE_OBJECT_FLAG_ALLOW_EXTERNAL_DEPENDENCIES_ON_LOCAL_DEFINITIONS = 0x2, D3D12_STATE_OBJECT_FLAG_ALLOW_STATE_OBJECT_ADDITIONS = 0x4, } D3D12_STATE_OBJECT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_STATE_OBJECT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_STATE_OBJECT_FLAGS)") typedef struct D3D12_STATE_OBJECT_CONFIG { @@ -3691,7 +3691,7 @@ typedef enum D3D12_EXPORT_FLAGS { D3D12_EXPORT_FLAG_NONE = 0x0, } D3D12_EXPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_EXPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_EXPORT_FLAGS)") typedef struct D3D12_EXPORT_DESC { @@ -3760,7 +3760,7 @@ typedef enum D3D12_RAYTRACING_PIPELINE_FLAGS D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAYTRACING_PIPELINE_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200, } D3D12_RAYTRACING_PIPELINE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_PIPELINE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_PIPELINE_FLAGS)") typedef struct D3D12_RAYTRACING_PIPELINE_CONFIG1 { @@ -3787,7 +3787,7 @@ typedef enum D3D12_RAYTRACING_GEOMETRY_FLAGS D3D12_RAYTRACING_GEOMETRY_FLAG_OPAQUE = 0x1, D3D12_RAYTRACING_GEOMETRY_FLAG_NO_DUPLICATE_ANYHIT_INVOCATION = 0x2, } D3D12_RAYTRACING_GEOMETRY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_GEOMETRY_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_GEOMETRY_FLAGS)") typedef enum D3D12_RAYTRACING_GEOMETRY_TYPE { @@ -3803,7 +3803,7 @@ typedef enum D3D12_RAYTRACING_INSTANCE_FLAGS D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_OPAQUE = 0x4, D3D12_RAYTRACING_INSTANCE_FLAG_FORCE_NON_OPAQUE = 0x8 } D3D12_RAYTRACING_INSTANCE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_INSTANCE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_INSTANCE_FLAGS)") typedef struct D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE { @@ -3861,7 +3861,7 @@ typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_MINIMIZE_MEMORY = 0x10, D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAG_PERFORM_UPDATE = 0x20, } D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAYTRACING_ACCELERATION_STRUCTURE_BUILD_FLAGS)") typedef enum D3D12_RAYTRACING_ACCELERATION_STRUCTURE_COPY_MODE { @@ -4017,7 +4017,7 @@ typedef enum D3D12_RAY_FLAGS D3D12_RAY_FLAG_SKIP_TRIANGLES = 0x100, D3D12_RAY_FLAG_SKIP_PROCEDURAL_PRIMITIVES = 0x200, } D3D12_RAY_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAY_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RAY_FLAGS)") typedef enum D3D12_HIT_KIND { @@ -4168,7 +4168,7 @@ typedef enum D3D12_DRED_FLAGS D3D12_DRED_FLAG_FORCE_ENABLE = 0x1, D3D12_DRED_FLAG_DISABLE_AUTOBREADCRUMBS = 0x2, } D3D12_DRED_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_FLAGS)") typedef enum D3D12_DRED_ENABLEMENT { @@ -4261,7 +4261,7 @@ typedef enum D3D12_DRED_PAGE_FAULT_FLAGS { D3D12_DRED_PAGE_FAULT_FLAGS_NONE = 0x0, } D3D12_DRED_PAGE_FAULT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_PAGE_FAULT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_DRED_PAGE_FAULT_FLAGS)") typedef enum D3D12_DRED_DEVICE_STATE { @@ -4618,7 +4618,7 @@ typedef enum D3D12_RENDER_PASS_FLAGS D3D12_RENDER_PASS_FLAG_SUSPENDING_PASS = 0x2, D3D12_RENDER_PASS_FLAG_RESUMING_PASS = 0x4 } D3D12_RENDER_PASS_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RENDER_PASS_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_RENDER_PASS_FLAGS)") [ uuid(dbb84c27-36ce-4fc9-b801-f048c46ac570), @@ -4702,7 +4702,7 @@ typedef enum D3D12_SHADER_CACHE_FLAGS D3D12_SHADER_CACHE_FLAG_DRIVER_VERSIONED = 0x1, D3D12_SHADER_CACHE_FLAG_USE_WORKING_DIR = 0x2, } D3D12_SHADER_CACHE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_FLAGS)") typedef struct D3D12_SHADER_CACHE_SESSION_DESC { @@ -4781,7 +4781,7 @@ typedef enum D3D12_BARRIER_SYNC D3D12_BARRIER_SYNC_COPY_RAYTRACING_ACCELERATION_STRUCTURE = 0x1000000, D3D12_BARRIER_SYNC_SPLIT = 0x80000000, } D3D12_BARRIER_SYNC; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_SYNC);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_SYNC)") typedef enum D3D12_BARRIER_ACCESS { @@ -4812,7 +4812,7 @@ typedef enum D3D12_BARRIER_ACCESS D3D12_BARRIER_ACCESS_VIDEO_ENCODE_WRITE = 0x400000, D3D12_BARRIER_ACCESS_NO_ACCESS = 0x80000000, } D3D12_BARRIER_ACCESS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_ACCESS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_BARRIER_ACCESS)") typedef enum D3D12_BARRIER_TYPE { @@ -4826,7 +4826,7 @@ typedef enum D3D12_TEXTURE_BARRIER_FLAGS D3D12_TEXTURE_BARRIER_FLAG_NONE = 0x0, D3D12_TEXTURE_BARRIER_FLAG_DISCARD = 0x1, } D3D12_TEXTURE_BARRIER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_TEXTURE_BARRIER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_TEXTURE_BARRIER_FLAGS)") typedef struct D3D12_BARRIER_SUBRESOURCE_RANGE { @@ -4912,7 +4912,7 @@ typedef enum D3D12_SHADER_CACHE_KIND_FLAGS D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED = 0x4, D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 0x8, } D3D12_SHADER_CACHE_KIND_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_KIND_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_KIND_FLAGS)") typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS { @@ -4920,7 +4920,7 @@ typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLE = 0x2, D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR = 0x4, } D3D12_SHADER_CACHE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_SHADER_CACHE_CONTROL_FLAGS)") [ uuid(4c80e962-f032-4f60-bc9e-ebc2cfa1d83c), diff --git a/mingw-w64-headers/include/d3d12video.h b/mingw-w64-headers/include/d3d12video.h index 04d6c39f131c..ad1578355ffe 100644 --- a/mingw-w64-headers/include/d3d12video.h +++ b/mingw-w64-headers/include/d3d12video.h @@ -272,13 +272,13 @@ typedef enum D3D12_VIDEO_PROCESS_FILTER_FLAGS { D3D12_VIDEO_PROCESS_FILTER_FLAG_ANAMORPHIC_SCALING = 1 << D3D12_VIDEO_PROCESS_FILTER_ANAMORPHIC_SCALING, D3D12_VIDEO_PROCESS_FILTER_FLAG_STEREO_ADJUSTMENT = 1 << D3D12_VIDEO_PROCESS_FILTER_STEREO_ADJUSTMENT } D3D12_VIDEO_PROCESS_FILTER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS) typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_NONE = 0x0, D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_BOB = 0x1, D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000 } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS ) typedef struct D3D12_VIDEO_PROCESS_LUMA_KEY { WINBOOL Enable; FLOAT Lower; @@ -742,7 +742,7 @@ typedef enum D3D12_VIDEO_DECODE_SUPPORT_FLAGS { D3D12_VIDEO_DECODE_SUPPORT_FLAG_NONE = 0x0, D3D12_VIDEO_DECODE_SUPPORT_FLAG_SUPPORTED = 0x1 } D3D12_VIDEO_DECODE_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS) typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS { D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_NONE = 0x0, D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_HEIGHT_ALIGNMENT_MULTIPLE_32_REQUIRED = 0x1, @@ -750,7 +750,7 @@ typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS { D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_REFERENCE_ONLY_ALLOCATIONS_REQUIRED = 0x4, D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME = 0x8 } D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS) typedef enum D3D12_VIDEO_DECODE_ARGUMENT_TYPE { D3D12_VIDEO_DECODE_ARGUMENT_TYPE_PICTURE_PARAMETERS = 0, D3D12_VIDEO_DECODE_ARGUMENT_TYPE_INVERSE_QUANTIZATION_MATRIX = 1, @@ -3007,7 +3007,7 @@ typedef enum D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS { D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_MAX_FRAME_SIZE = 0x10, D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_VBV_SIZES = 0x20 } D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP { UINT ConstantQP_FullIntracodedFrame; UINT ConstantQP_InterPredictedFrame_PrevRefOnly; @@ -3152,7 +3152,7 @@ typedef enum D3D12_VIDEO_ENCODER_FRAME_SUBREGION_LAYOUT_MODE { typedef enum D3D12_VIDEO_ENCODER_HEAP_FLAGS { D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE = 0x0 } D3D12_VIDEO_ENCODER_HEAP_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS) typedef struct D3D12_VIDEO_ENCODER_HEAP_DESC { UINT NodeMask; D3D12_VIDEO_ENCODER_HEAP_FLAGS Flags; @@ -3172,7 +3172,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_DIRECT_TEMPORAL_ENCODING_SUPPORT = 0x20, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_CONSTRAINED_INTRAPREDICTION_SUPPORT = 0x40 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_0_ALL_LUMA_CHROMA_SLICE_BLOCK_EDGES_ALWAYS_FILTERED = 0, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_1_DISABLE_ALL_SLICE_BLOCK_EDGES = 1, @@ -3192,7 +3192,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES = 1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING = 1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS SupportFlags; D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS DisableDeblockingFilterSupportedModes; @@ -3209,7 +3209,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_DISABLING_LOOP_FILTER_ACROSS_SLICES_SUPPORT = 0x80, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_P_FRAMES_IMPLEMENTED_AS_LOW_DELAY_B_FRAMES = 0x100 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE_8x8 = 0, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE_16x16 = 1, @@ -3289,7 +3289,7 @@ typedef enum D3D12_VIDEO_ENCODER_SUPPORT_FLAGS { D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SEQUENCE_GOP_RECONFIGURATION_AVAILABLE = 0x800, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_MOTION_ESTIMATION_PRECISION_MODE_LIMIT_AVAILABLE = 0x1000 } D3D12_VIDEO_ENCODER_SUPPORT_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_USE_CONSTRAINED_INTRAPREDICTION = 0x1, @@ -3297,7 +3297,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ENABLE_CABAC_ENCODING = 0x4, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ALLOW_REQUEST_INTRA_CONSTRAINED_SLICES = 0x8 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS) typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_DISABLED = 0, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_TEMPORAL = 1, @@ -3318,7 +3318,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_ENABLE_TRANSFORM_SKIPPING = 0x20, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_USE_CONSTRAINED_INTRAPREDICTION = 0x40 } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS) typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS ConfigurationFlags; D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE MinLumaCodingUnitSize; @@ -3363,7 +3363,7 @@ typedef enum D3D12_VIDEO_ENCODER_VALIDATION_FLAGS { D3D12_VIDEO_ENCODER_VALIDATION_FLAG_RESOLUTION_NOT_SUPPORTED_IN_LIST = 0x200, D3D12_VIDEO_ENCODER_VALIDATION_FLAG_GOP_STRUCTURE_NOT_SUPPORTED = 0x800 } D3D12_VIDEO_ENCODER_VALIDATION_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS) typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 { UINT GOPLength; UINT PPicturePeriod; @@ -3415,7 +3415,7 @@ typedef struct D3D12_FEATURE_DATA_VIDEO_ENCODER_RESOURCE_REQUIREMENTS { typedef enum D3D12_VIDEO_ENCODER_FLAGS { D3D12_VIDEO_ENCODER_FLAG_NONE = 0x0 } D3D12_VIDEO_ENCODER_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS) typedef struct D3D12_VIDEO_ENCODER_DESC { UINT NodeMask; D3D12_VIDEO_ENCODER_FLAGS Flags; @@ -4057,7 +4057,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS { D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_INTRA_CONSTRAINED_SLICES = 0x1 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_REFERENCE_PICTURE_MARKING_OPERATION { UCHAR memory_management_control_operation; UINT difference_of_pic_nums_minus1; @@ -4111,7 +4111,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS { D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_REQUEST_INTRA_CONSTRAINED_SLICES = 0x1 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS Flags; D3D12_VIDEO_ENCODER_FRAME_TYPE_HEVC FrameType; @@ -4147,7 +4147,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS { D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE = 0x1 } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC { UINT IntraRefreshFrameIndex; D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS Flags; @@ -4162,7 +4162,7 @@ typedef enum D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS { D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_REQUEST_INTRA_REFRESH = 0x8, D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_GOP_SEQUENCE_CHANGE = 0x10 } D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS) typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES { __C89_NAMELESS union { UINT MaxBytesPerSlice; @@ -4215,7 +4215,7 @@ typedef enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS { D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTED = 0x8, D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE = 0x10 } D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS) typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { UINT64 AverageQP; UINT64 IntraCodingUnitsCount; diff --git a/mingw-w64-headers/include/d3d12video.idl b/mingw-w64-headers/include/d3d12video.idl index f39b28d29a96..92fb854e176f 100644 --- a/mingw-w64-headers/include/d3d12video.idl +++ b/mingw-w64-headers/include/d3d12video.idl @@ -149,7 +149,7 @@ typedef enum D3D12_VIDEO_PROCESS_FILTER_FLAGS D3D12_VIDEO_PROCESS_FILTER_FLAG_ANAMORPHIC_SCALING = (1 << D3D12_VIDEO_PROCESS_FILTER_ANAMORPHIC_SCALING), D3D12_VIDEO_PROCESS_FILTER_FLAG_STEREO_ADJUSTMENT = (1 << D3D12_VIDEO_PROCESS_FILTER_STEREO_ADJUSTMENT), } D3D12_VIDEO_PROCESS_FILTER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_FILTER_FLAGS)") typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS { @@ -157,7 +157,7 @@ typedef enum D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_BOB = 0x1, D3D12_VIDEO_PROCESS_DEINTERLACE_FLAG_CUSTOM = 0x80000000, } D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS );") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_PROCESS_DEINTERLACE_FLAGS )") typedef struct D3D12_VIDEO_PROCESS_LUMA_KEY { @@ -277,7 +277,7 @@ typedef enum D3D12_VIDEO_DECODE_SUPPORT_FLAGS D3D12_VIDEO_DECODE_SUPPORT_FLAG_NONE = 0x0, D3D12_VIDEO_DECODE_SUPPORT_FLAG_SUPPORTED = 0x1, } D3D12_VIDEO_DECODE_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_SUPPORT_FLAGS)") typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS { @@ -287,7 +287,7 @@ typedef enum D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_REFERENCE_ONLY_ALLOCATIONS_REQUIRED = 0x4, D3D12_VIDEO_DECODE_CONFIGURATION_FLAG_ALLOW_RESOLUTION_CHANGE_ON_NON_KEY_FRAME = 0x8, } D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_DECODE_CONFIGURATION_FLAGS)") typedef enum D3D12_VIDEO_DECODE_ARGUMENT_TYPE { @@ -827,7 +827,7 @@ typedef enum D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_MAX_FRAME_SIZE = 0x10, D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAG_ENABLE_VBV_SIZES = 0x20, } D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_RATE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_RATE_CONTROL_CQP { @@ -1015,7 +1015,7 @@ typedef enum D3D12_VIDEO_ENCODER_HEAP_FLAGS { D3D12_VIDEO_ENCODER_HEAP_FLAG_NONE = 0x0, } D3D12_VIDEO_ENCODER_HEAP_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_HEAP_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_HEAP_DESC { @@ -1039,7 +1039,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_DIRECT_TEMPORAL_ENCODING_SUPPORT = 0x20, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAG_CONSTRAINED_INTRAPREDICTION_SUPPORT = 0x40, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODES { @@ -1063,7 +1063,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES = (1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_5_DISABLE_CHROMA_BLOCK_EDGES_AND_LUMA_BOUNDARIES), D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAG_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING = (1 << D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_6_DISABLE_CHROMA_BLOCK_EDGES_AND_USE_LUMA_TWO_STAGE_DEBLOCKING), } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_SLICES_DEBLOCKING_MODE_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_H264 { @@ -1084,7 +1084,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_DISABLING_LOOP_FILTER_ACROSS_SLICES_SUPPORT = 0x80, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAG_P_FRAMES_IMPLEMENTED_AS_LOW_DELAY_B_FRAMES = 0x100, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_SUPPORT_HEVC_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_CUSIZE_8x8 = 0, @@ -1184,7 +1184,7 @@ typedef enum D3D12_VIDEO_ENCODER_SUPPORT_FLAGS D3D12_VIDEO_ENCODER_SUPPORT_FLAG_SEQUENCE_GOP_RECONFIGURATION_AVAILABLE = 0x800, D3D12_VIDEO_ENCODER_SUPPORT_FLAG_MOTION_ESTIMATION_PRECISION_MODE_LIMIT_AVAILABLE = 0x1000, } D3D12_VIDEO_ENCODER_SUPPORT_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SUPPORT_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS { @@ -1194,7 +1194,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ENABLE_CABAC_ENCODING = 0x4, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAG_ALLOW_REQUEST_INTRA_CONSTRAINED_SLICES = 0x8, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_FLAGS)") typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_H264_DIRECT_MODES_DISABLED = 0, @@ -1220,7 +1220,7 @@ typedef enum D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_ENABLE_TRANSFORM_SKIPPING = 0x20, D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAG_USE_CONSTRAINED_INTRAPREDICTION = 0x40, } D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC { D3D12_VIDEO_ENCODER_CODEC_CONFIGURATION_HEVC_FLAGS ConfigurationFlags; @@ -1277,7 +1277,7 @@ typedef enum D3D12_VIDEO_ENCODER_VALIDATION_FLAGS D3D12_VIDEO_ENCODER_VALIDATION_FLAG_RESOLUTION_NOT_SUPPORTED_IN_LIST = 0x200, D3D12_VIDEO_ENCODER_VALIDATION_FLAG_GOP_STRUCTURE_NOT_SUPPORTED = 0x800, } D3D12_VIDEO_ENCODER_VALIDATION_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_VALIDATION_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_SEQUENCE_GOP_STRUCTURE_H264 { @@ -1342,7 +1342,7 @@ typedef enum D3D12_VIDEO_ENCODER_FLAGS { D3D12_VIDEO_ENCODER_FLAG_NONE = 0x0, } D3D12_VIDEO_ENCODER_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_DESC { @@ -1456,7 +1456,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAG_REQUEST_INTRA_CONSTRAINED_SLICES = 0x1, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_H264_REFERENCE_PICTURE_MARKING_OPERATION { @@ -1522,7 +1522,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAG_REQUEST_INTRA_CONSTRAINED_SLICES = 0x1, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_CODEC_DATA_HEVC { @@ -1567,7 +1567,7 @@ typedef enum D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_NONE = 0x0, D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAG_USED_AS_REFERENCE_PICTURE = 0x1, } D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_PICTURE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_DESC { @@ -1586,7 +1586,7 @@ typedef enum D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_REQUEST_INTRA_REFRESH = 0x8, D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAG_GOP_SEQUENCE_CHANGE = 0x10, } D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_SEQUENCE_CONTROL_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES { @@ -1657,7 +1657,7 @@ typedef enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTED = 0x8, D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE = 0x10, } D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS)") typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS { diff --git a/mingw-w64-headers/include/dwmapi.h b/mingw-w64-headers/include/dwmapi.h index 23e3759177f0..412a5982dafa 100644 --- a/mingw-w64-headers/include/dwmapi.h +++ b/mingw-w64-headers/include/dwmapi.h @@ -131,7 +131,7 @@ extern "C" { DWMTWR_APP_COMPAT = 0x0200 }; - DEFINE_ENUM_FLAG_OPERATORS(DWM_TAB_WINDOW_REQUIREMENTS); + DEFINE_ENUM_FLAG_OPERATORS(DWM_TAB_WINDOW_REQUIREMENTS) #endif typedef enum { diff --git a/mingw-w64-headers/include/dwrite.h b/mingw-w64-headers/include/dwrite.h index 794e29998399..649991f4d1bf 100644 --- a/mingw-w64-headers/include/dwrite.h +++ b/mingw-w64-headers/include/dwrite.h @@ -401,7 +401,7 @@ typedef enum DWRITE_FONT_SIMULATIONS { DWRITE_FONT_SIMULATIONS_BOLD = 1, DWRITE_FONT_SIMULATIONS_OBLIQUE = 2 } DWRITE_FONT_SIMULATIONS; -DEFINE_ENUM_FLAG_OPERATORS(DWRITE_FONT_SIMULATIONS); +DEFINE_ENUM_FLAG_OPERATORS(DWRITE_FONT_SIMULATIONS) typedef enum DWRITE_PIXEL_GEOMETRY { DWRITE_PIXEL_GEOMETRY_FLAT = 0, DWRITE_PIXEL_GEOMETRY_RGB = 1, @@ -558,7 +558,7 @@ typedef enum DWRITE_SCRIPT_SHAPES { DWRITE_SCRIPT_SHAPES_DEFAULT = 0, DWRITE_SCRIPT_SHAPES_NO_VISUAL = 1 } DWRITE_SCRIPT_SHAPES; -DEFINE_ENUM_FLAG_OPERATORS(DWRITE_SCRIPT_SHAPES); +DEFINE_ENUM_FLAG_OPERATORS(DWRITE_SCRIPT_SHAPES) typedef enum DWRITE_NUMBER_SUBSTITUTION_METHOD { DWRITE_NUMBER_SUBSTITUTION_METHOD_FROM_CULTURE = 0, DWRITE_NUMBER_SUBSTITUTION_METHOD_CONTEXTUAL = 1, diff --git a/mingw-w64-headers/include/dwrite.idl b/mingw-w64-headers/include/dwrite.idl index 64cb5ee4889a..3af25fcf11f9 100644 --- a/mingw-w64-headers/include/dwrite.idl +++ b/mingw-w64-headers/include/dwrite.idl @@ -147,7 +147,7 @@ typedef enum DWRITE_FONT_SIMULATIONS DWRITE_FONT_SIMULATIONS_BOLD, DWRITE_FONT_SIMULATIONS_OBLIQUE } DWRITE_FONT_SIMULATIONS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DWRITE_FONT_SIMULATIONS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DWRITE_FONT_SIMULATIONS)") typedef enum DWRITE_PIXEL_GEOMETRY { @@ -329,7 +329,7 @@ typedef enum DWRITE_SCRIPT_SHAPES DWRITE_SCRIPT_SHAPES_DEFAULT = 0, DWRITE_SCRIPT_SHAPES_NO_VISUAL = 1 } DWRITE_SCRIPT_SHAPES; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DWRITE_SCRIPT_SHAPES);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DWRITE_SCRIPT_SHAPES)") typedef enum DWRITE_NUMBER_SUBSTITUTION_METHOD { diff --git a/mingw-w64-headers/include/msopc.h b/mingw-w64-headers/include/msopc.h index 1828c90ecbdd..5028c25749f4 100644 --- a/mingw-w64-headers/include/msopc.h +++ b/mingw-w64-headers/include/msopc.h @@ -1371,8 +1371,8 @@ typedef enum __WIDL_msopc_generated_name_00000030 { OPC_WRITE_DEFAULT = 0x0, OPC_WRITE_FORCE_ZIP32 = 0x1 } OPC_WRITE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(OPC_READ_FLAGS); -DEFINE_ENUM_FLAG_OPERATORS(OPC_WRITE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(OPC_READ_FLAGS) +DEFINE_ENUM_FLAG_OPERATORS(OPC_WRITE_FLAGS) /***************************************************************************** * IOpcPart interface */ diff --git a/mingw-w64-headers/include/msopc.idl b/mingw-w64-headers/include/msopc.idl index 6a98049f8656..5f3c628b624e 100644 --- a/mingw-w64-headers/include/msopc.idl +++ b/mingw-w64-headers/include/msopc.idl @@ -234,8 +234,8 @@ library MSOPC { OPC_WRITE_FORCE_ZIP32 = 0x1 } OPC_WRITE_FLAGS; -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(OPC_READ_FLAGS);") -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(OPC_WRITE_FLAGS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(OPC_READ_FLAGS)") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(OPC_WRITE_FLAGS)") [object, uuid (42195949-3b79-4fc8-89c6-FC7FB979EE71), pointer_default (ref)] interface IOpcPart : IUnknown { diff --git a/mingw-w64-headers/include/processsnapshot.h b/mingw-w64-headers/include/processsnapshot.h index a3f9efb4bb17..c1533836614d 100644 --- a/mingw-w64-headers/include/processsnapshot.h +++ b/mingw-w64-headers/include/processsnapshot.h @@ -14,7 +14,7 @@ typedef enum { PSS_HANDLE_HAVE_BASIC_INFORMATION = 0x04, PSS_HANDLE_HAVE_TYPE_SPECIFIC_INFORMATION = 0x08 } PSS_HANDLE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(PSS_HANDLE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(PSS_HANDLE_FLAGS) typedef enum { PSS_OBJECT_TYPE_UNKNOWN = 0, @@ -50,7 +50,7 @@ typedef enum { PSS_CREATE_MEASURE_PERFORMANCE = 0x40000000, PSS_CREATE_RELEASE_SECTION = 0x80000000 } PSS_CAPTURE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(PSS_CAPTURE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(PSS_CAPTURE_FLAGS) #define PSS_PERF_RESOLUTION 1000000 @@ -76,7 +76,7 @@ typedef enum { PSS_DUPLICATE_NONE = 0x00, PSS_DUPLICATE_CLOSE_SOURCE = 0x01 } PSS_DUPLICATE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(PSS_DUPLICATE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(PSS_DUPLICATE_FLAGS) DECLARE_HANDLE(HPSS); DECLARE_HANDLE(HPSSWALK); @@ -89,7 +89,7 @@ typedef enum { PSS_PROCESS_FLAGS_RESERVED_04 = 0x00000008, PSS_PROCESS_FLAGS_FROZEN = 0x00000010 } PSS_PROCESS_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(PSS_PROCESS_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(PSS_PROCESS_FLAGS) typedef struct { DWORD ExitStatus; @@ -247,7 +247,7 @@ typedef enum { PSS_THREAD_FLAGS_NONE = 0x0000, PSS_THREAD_FLAGS_TERMINATED = 0x0001 } PSS_THREAD_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(PSS_THREAD_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(PSS_THREAD_FLAGS) typedef struct { DWORD ExitStatus; diff --git a/mingw-w64-headers/include/processthreadsapi.h b/mingw-w64-headers/include/processthreadsapi.h index 3344634361ab..a5f76c21dbb0 100644 --- a/mingw-w64-headers/include/processthreadsapi.h +++ b/mingw-w64-headers/include/processthreadsapi.h @@ -127,7 +127,7 @@ extern "C" { Wow64Container = 0x00000004 } MACHINE_ATTRIBUTES; #ifndef __WIDL__ -DEFINE_ENUM_FLAG_OPERATORS(MACHINE_ATTRIBUTES); +DEFINE_ENUM_FLAG_OPERATORS(MACHINE_ATTRIBUTES) #endif typedef struct _PROCESS_MACHINE_INFORMATION { diff --git a/mingw-w64-headers/include/shellscalingapi.h b/mingw-w64-headers/include/shellscalingapi.h index 797c46020960..3ea6ba6d4d6a 100644 --- a/mingw-w64-headers/include/shellscalingapi.h +++ b/mingw-w64-headers/include/shellscalingapi.h @@ -18,7 +18,7 @@ typedef enum { SCF_SCALE = 0x01, SCF_PHYSICAL = 0x02 } SCALE_CHANGE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(SCALE_CHANGE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(SCALE_CHANGE_FLAGS) typedef enum { DEVICE_PRIMARY = 0, diff --git a/mingw-w64-headers/include/shobjidl.h b/mingw-w64-headers/include/shobjidl.h index c29302d969fa..ce2bd5430358 100644 --- a/mingw-w64-headers/include/shobjidl.h +++ b/mingw-w64-headers/include/shobjidl.h @@ -30699,7 +30699,7 @@ typedef enum DESKTOP_SLIDESHOW_OPTIONS { DSO_SHUFFLEIMAGES = 0x1 } DESKTOP_SLIDESHOW_OPTIONS; -DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_OPTIONS); +DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_OPTIONS) typedef enum DESKTOP_SLIDESHOW_STATE { DSS_ENABLED = 0x1, @@ -30707,7 +30707,7 @@ typedef enum DESKTOP_SLIDESHOW_STATE { DSS_DISABLED_BY_REMOTE_SESSION = 0x4 } DESKTOP_SLIDESHOW_STATE; -DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_STATE); +DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_STATE) typedef enum DESKTOP_SLIDESHOW_DIRECTION { DSD_FORWARD = 0, diff --git a/mingw-w64-headers/include/shobjidl.idl b/mingw-w64-headers/include/shobjidl.idl index 9dbeb8db9663..b4fe301dd89b 100644 --- a/mingw-w64-headers/include/shobjidl.idl +++ b/mingw-w64-headers/include/shobjidl.idl @@ -3999,7 +3999,7 @@ interface IDesktopWallpaper : IUnknown { DSO_SHUFFLEIMAGES = 0x01, } DESKTOP_SLIDESHOW_OPTIONS; cpp_quote("") -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_OPTIONS);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_OPTIONS)") cpp_quote("") typedef [v1_enum] enum DESKTOP_SLIDESHOW_STATE { DSS_ENABLED = 0x01, @@ -4007,7 +4007,7 @@ cpp_quote("") DSS_DISABLED_BY_REMOTE_SESSION = 0x04 } DESKTOP_SLIDESHOW_STATE; cpp_quote("") -cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_STATE);") +cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(DESKTOP_SLIDESHOW_STATE)") cpp_quote("") typedef [v1_enum] enum DESKTOP_SLIDESHOW_DIRECTION { DSD_FORWARD = 0, diff --git a/mingw-w64-headers/include/winhvplatformdefs.h b/mingw-w64-headers/include/winhvplatformdefs.h index 9cf239cd361f..de98509dd241 100644 --- a/mingw-w64-headers/include/winhvplatformdefs.h +++ b/mingw-w64-headers/include/winhvplatformdefs.h @@ -622,7 +622,7 @@ typedef enum WHV_X64_CPUID_RESULT2_FLAGS { WHvX64CpuidResult2FlagVpSpecific = 0x00000002 } WHV_X64_CPUID_RESULT2_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(WHV_X64_CPUID_RESULT2_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(WHV_X64_CPUID_RESULT2_FLAGS) typedef struct WHV_CPUID_OUTPUT { UINT32 Eax; @@ -729,7 +729,7 @@ typedef enum WHV_MAP_GPA_RANGE_FLAGS { WHvMapGpaRangeFlagTrackDirtyPages = 0x00000008 } WHV_MAP_GPA_RANGE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(WHV_MAP_GPA_RANGE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(WHV_MAP_GPA_RANGE_FLAGS) typedef enum WHV_TRANSLATE_GVA_FLAGS { WHvTranslateGvaFlagNone = 0x00000000, @@ -742,7 +742,7 @@ typedef enum WHV_TRANSLATE_GVA_FLAGS { WHvTranslateGvaFlagOverrideSmap = 0x00000200 } WHV_TRANSLATE_GVA_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(WHV_TRANSLATE_GVA_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(WHV_TRANSLATE_GVA_FLAGS) typedef enum WHV_TRANSLATE_GVA_RESULT_CODE { WHvTranslateGvaResultSuccess = 0, @@ -2210,7 +2210,7 @@ typedef enum WHV_ALLOCATE_VPCI_RESOURCE_FLAGS { WHvAllocateVpciResourceFlagAllowDirectP2P = 0x00000001 } WHV_ALLOCATE_VPCI_RESOURCE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(WHV_ALLOCATE_VPCI_RESOURCE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(WHV_ALLOCATE_VPCI_RESOURCE_FLAGS) #define WHV_MAX_DEVICE_ID_SIZE_IN_CHARS 200 @@ -2245,7 +2245,7 @@ typedef enum WHV_CREATE_VPCI_DEVICE_FLAGS { WHvCreateVpciDeviceFlagUseLogicalInterrupts = 0x00000002 } WHV_CREATE_VPCI_DEVICE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(WHV_CREATE_VPCI_DEVICE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(WHV_CREATE_VPCI_DEVICE_FLAGS) typedef enum WHV_VPCI_DEVICE_PROPERTY_CODE { WHvVpciDevicePropertyCodeUndefined = 0, @@ -2279,7 +2279,7 @@ typedef enum WHV_VPCI_MMIO_RANGE_FLAGS { WHvVpciMmioRangeFlagWriteAccess = 0x00000002 } WHV_VPCI_MMIO_RANGE_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(WHV_VPCI_MMIO_RANGE_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(WHV_VPCI_MMIO_RANGE_FLAGS) typedef enum WHV_VPCI_DEVICE_REGISTER_SPACE { WHvVpciConfigSpace = -1, @@ -2314,7 +2314,7 @@ typedef enum WHV_VPCI_INTERRUPT_TARGET_FLAGS { WHvVpciInterruptTargetFlagMulticast = 0x00000001 } WHV_VPCI_INTERRUPT_TARGET_FLAGS; -DEFINE_ENUM_FLAG_OPERATORS(WHV_VPCI_INTERRUPT_TARGET_FLAGS); +DEFINE_ENUM_FLAG_OPERATORS(WHV_VPCI_INTERRUPT_TARGET_FLAGS) typedef struct WHV_VPCI_INTERRUPT_TARGET { UINT32 Vector; -- 2.20.1 _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public