headers/mftransform.idl: replace cpp_quote with actual symbols
remove VSS_HARDWARE_OPTIONS enum which is in vss.idl
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
Signed-off-by: Liu Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/mftransform.idl b/mingw-w64-headers/include/mftransform.idl
index 0d3a5a5..28961db 100644
--- a/mingw-w64-headers/include/mftransform.idl
+++ b/mingw-w64-headers/include/mftransform.idl
@@ -6,74 +6,74 @@
import "mfobjects.idl";
-cpp_quote(" enum _MFT_DRAIN_TYPE {")
-cpp_quote(" MFT_DRAIN_PRODUCE_TAILS = 0x00000000,")
-cpp_quote(" MFT_DRAIN_NO_TAILS = 0x00000001 ")
-cpp_quote(" };")
cpp_quote("")
-cpp_quote(" enum _MFT_INPUT_STATUS_FLAGS {")
-cpp_quote(" MFT_INPUT_STATUS_ACCEPT_DATA = 0x00000001 ")
-cpp_quote(" };")
-cpp_quote("")
-cpp_quote(" enum _MFT_INPUT_DATA_BUFFER_FLAGS {")
-cpp_quote(" MFT_INPUT_DATA_BUFFER_PLACEHOLDER = 0xFFFFFFFF ")
-cpp_quote(" };")
-cpp_quote("")
-cpp_quote(" enum _MFT_OUTPUT_STREAM_INFO_FLAGS {")
-cpp_quote(" MFT_OUTPUT_STREAM_WHOLE_SAMPLES = 0x00000001,")
-cpp_quote(" MFT_OUTPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER = 0x00000002,")
-cpp_quote(" MFT_OUTPUT_STREAM_FIXED_SAMPLE_SIZE = 0x00000004,")
-cpp_quote(" MFT_OUTPUT_STREAM_DISCARDABLE = 0x00000008,")
-cpp_quote(" MFT_OUTPUT_STREAM_OPTIONAL = 0x00000010,")
-cpp_quote(" MFT_OUTPUT_STREAM_PROVIDES_SAMPLES = 0x00000100,")
-cpp_quote(" MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES = 0x00000200,")
-cpp_quote(" MFT_OUTPUT_STREAM_LAZY_READ = 0x00000400,")
-cpp_quote(" MFT_OUTPUT_STREAM_REMOVABLE = 0x00000800 ")
-cpp_quote(" };")
-cpp_quote("")
-cpp_quote(" enum _MFT_OUTPUT_STATUS_FLAGS {")
-cpp_quote(" MFT_OUTPUT_STATUS_SAMPLE_READY = 0x00000001 ")
-cpp_quote(" };")
-cpp_quote("")
-cpp_quote(" enum _MFT_OUTPUT_DATA_BUFFER_FLAGS {")
-cpp_quote(" MFT_OUTPUT_DATA_BUFFER_INCOMPLETE = 0x01000000,")
-cpp_quote(" MFT_OUTPUT_DATA_BUFFER_FORMAT_CHANGE = 0x00000100,")
-cpp_quote(" MFT_OUTPUT_DATA_BUFFER_STREAM_END = 0x00000200,")
-cpp_quote(" MFT_OUTPUT_DATA_BUFFER_NO_SAMPLE = 0x00000300 ")
-cpp_quote(" };")
-cpp_quote("")
-cpp_quote(" enum _MFT_INPUT_STREAM_INFO_FLAGS {")
-cpp_quote(" MFT_INPUT_STREAM_WHOLE_SAMPLES = 0x00000001,")
-cpp_quote(" MFT_INPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER = 0x00000002,")
-cpp_quote(" MFT_INPUT_STREAM_FIXED_SAMPLE_SIZE = 0x00000004,")
-cpp_quote(" MFT_INPUT_STREAM_HOLDS_BUFFERS = 0x00000008,")
-cpp_quote(" MFT_INPUT_STREAM_DOES_NOT_ADDREF = 0x00000100,")
-cpp_quote(" MFT_INPUT_STREAM_REMOVABLE = 0x00000200,")
-cpp_quote(" MFT_INPUT_STREAM_OPTIONAL = 0x00000400,")
-cpp_quote(" MFT_INPUT_STREAM_PROCESSES_IN_PLACE = 0x00000800 ")
-cpp_quote(" };")
-cpp_quote("")
-cpp_quote(" typedef enum _VSS_HARDWARE_OPTIONS {")
-cpp_quote(" VSS_BREAKEX_FLAG_MASK_LUNS = 0x00000001,")
-cpp_quote(" VSS_BREAKEX_FLAG_MAKE_READ_WRITE = 0x00000002,")
-cpp_quote(" VSS_BREAKEX_FLAG_REVERT_IDENTITY_ALL = 0x00000004,")
-cpp_quote(" VSS_BREAKEX_FLAG_REVERT_IDENTITY_NONE = 0x00000008,")
-cpp_quote(" VSS_ONLUNSTATECHANGE_NOTIFY_READ_WRITE = 0x00000100,")
-cpp_quote(" VSS_ONLUNSTATECHANGE_NOTIFY_LUN_PRE_RECOVERY = 0x00000200,")
-cpp_quote(" VSS_ONLUNSTATECHANGE_NOTIFY_LUN_POST_RECOVERY = 0x00000400,")
-cpp_quote(" VSS_ONLUNSTATECHANGE_DO_MASK_LUNS = 0x00000800 ")
-cpp_quote(" } VSS_HARDWARE_OPTIONS, *PVSS_HARDWARE_OPTIONS;")
+enum _MFT_DRAIN_TYPE {
+ MFT_DRAIN_PRODUCE_TAILS = 0x00000000,
+ MFT_DRAIN_NO_TAILS = 0x00000001
+};
+cpp_quote("")
+enum _MFT_INPUT_STATUS_FLAGS {
+ MFT_INPUT_STATUS_ACCEPT_DATA = 0x00000001
+};
+
+cpp_quote("")
+enum _MFT_INPUT_DATA_BUFFER_FLAGS {
+ MFT_INPUT_DATA_BUFFER_PLACEHOLDER = 0xFFFFFFFF
+};
+
+cpp_quote("")
+enum _MFT_OUTPUT_STREAM_INFO_FLAGS {
+ MFT_OUTPUT_STREAM_WHOLE_SAMPLES = 0x00000001,
+ MFT_OUTPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER = 0x00000002,
+ MFT_OUTPUT_STREAM_FIXED_SAMPLE_SIZE = 0x00000004,
+ MFT_OUTPUT_STREAM_DISCARDABLE = 0x00000008,
+ MFT_OUTPUT_STREAM_OPTIONAL = 0x00000010,
+ MFT_OUTPUT_STREAM_PROVIDES_SAMPLES = 0x00000100,
+ MFT_OUTPUT_STREAM_CAN_PROVIDE_SAMPLES = 0x00000200,
+ MFT_OUTPUT_STREAM_LAZY_READ = 0x00000400,
+ MFT_OUTPUT_STREAM_REMOVABLE = 0x00000800
+};
+
+cpp_quote("")
+enum _MFT_OUTPUT_STATUS_FLAGS {
+ MFT_OUTPUT_STATUS_SAMPLE_READY = 0x00000001
+};
+
+cpp_quote("")
+enum _MFT_OUTPUT_DATA_BUFFER_FLAGS {
+ MFT_OUTPUT_DATA_BUFFER_INCOMPLETE = 0x01000000,
+ MFT_OUTPUT_DATA_BUFFER_FORMAT_CHANGE = 0x00000100,
+ MFT_OUTPUT_DATA_BUFFER_STREAM_END = 0x00000200,
+ MFT_OUTPUT_DATA_BUFFER_NO_SAMPLE = 0x00000300
+};
+
+cpp_quote("")
+enum _MFT_INPUT_STREAM_INFO_FLAGS {
+ MFT_INPUT_STREAM_WHOLE_SAMPLES = 0x00000001,
+ MFT_INPUT_STREAM_SINGLE_SAMPLE_PER_BUFFER = 0x00000002,
+ MFT_INPUT_STREAM_FIXED_SAMPLE_SIZE = 0x00000004,
+ MFT_INPUT_STREAM_HOLDS_BUFFERS = 0x00000008,
+ MFT_INPUT_STREAM_DOES_NOT_ADDREF = 0x00000100,
+ MFT_INPUT_STREAM_REMOVABLE = 0x00000200,
+ MFT_INPUT_STREAM_OPTIONAL = 0x00000400,
+ MFT_INPUT_STREAM_PROCESSES_IN_PLACE = 0x00000800
+};
+
+cpp_quote("")
enum _MFT_SET_TYPE_FLAGS {
- MFT_SET_TYPE_TEST_ONLY = 0x00000001
+ MFT_SET_TYPE_TEST_ONLY = 0x00000001
};
+cpp_quote("")
enum _MFT_PROCESS_OUTPUT_STATUS {
- MFT_PROCESS_OUTPUT_STATUS_NEW_STREAMS = 0x00000100
+ MFT_PROCESS_OUTPUT_STATUS_NEW_STREAMS = 0x00000100
};
+cpp_quote("")
enum _MFT_PROCESS_OUTPUT_FLAGS {
- MFT_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER = 0x00000001
+ MFT_PROCESS_OUTPUT_DISCARD_WHEN_NO_BUFFER = 0x00000001,
+ MFT_PROCESS_OUTPUT_REGENERATE_LAST_OUTPUT = 0x00000002
};
typedef enum _MFT_MESSAGE_TYPE {