From 16f504a9dca3fe3b70568f67b7d41241ae485288 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:49:04 +0200 Subject: Adding upstream version 7.0.6-dfsg. Signed-off-by: Daniel Baumann --- src/VBox/Main/idl/midl.xsl | 924 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 924 insertions(+) create mode 100644 src/VBox/Main/idl/midl.xsl (limited to 'src/VBox/Main/idl/midl.xsl') diff --git a/src/VBox/Main/idl/midl.xsl b/src/VBox/Main/idl/midl.xsl new file mode 100644 index 00000000..b88f3218 --- /dev/null +++ b/src/VBox/Main/idl/midl.xsl @@ -0,0 +1,924 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +/* + * DO NOT EDIT! This is a generated file. + * + * MS IDL (MIDL) definition for VirtualBox Main API (COM interfaces) + * generated from XIDL (XML interface definition). + * + * Source : src/VBox/Main/idl/VirtualBox.xidl + * Generator : src/VBox/Main/idl/midl.xsl + */ + +#if (__midl >= 501) +midl_pragma warning(disable:2039) /* Disable warning MIDL2039 regarding interface not being automation + marshaling conformant and requiring NT 4.0 SP4 or greater. */ +midl_pragma warning(disable:2456) /* Disable warning MIDL2456 regarding SAFEARRAY(interface pointer). */ +midl_pragma warning(disable:2111) /* Disable warning MIDL2111 regarding identifier lengths exceeding 31 chars. */ +#endif + +import "unknwn.idl"; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + cpp_quote(" + + ") + + + + + + #if + + + + + #endif + + + + + + + + + + + + + + + + + +[ + uuid(), + version(), + helpstring(" Type Library") +] +library + + { + importlib("stdole2.tlb"); + + + + + + + + + + + + + + + + + + + + + + + + + }; /* library + + */ + + + + + + + + + + + + + + + cpp_quote(" + + ") + + + + + + interface + + ; + + + + + enum + + ; + + + + +[ + uuid(), + object, + dual, + oleautomation + + + , proxy + +] +interface + + + : + + IUnknown + IDispatch + IErrorInfo + + + + + { + + + + + + + [propget] HRESULT InternalAndReservedAttribute + + ([out, retval] ULONG *aReserved); + + + + + + + + + HRESULT InternalAndReservedMethod + + (); + + + + + + }; /* interface + + */ + + /* Interface implementation forwarder macro */ + + + + + + cpp_quote("#define COM_FORWARD_ + + _TO(smth) + + + + + + + + + + ") + + cpp_quote("#define COM_FORWARD_ + + _TO_OBJ(obj) COM_FORWARD_ + + _TO ((obj)->)") + + cpp_quote("#define COM_FORWARD_ + + _TO_BASE(base) COM_FORWARD_ + + _TO (base::)") + + + + + + + + + + [propget] HRESULT + + + + ([out, retval] + + SAFEARRAY( + + + + ) + + * a + + + + ); + + + [propput] HRESULT + + + + ([in] + + SAFEARRAY( + + + + ) + + a + + + + ); + + + + + + + + + + + + + + + + + + COM_FORWARD_ + + _GETTER_ + + + + _TO (smth) + + + COM_FORWARD_ + + _SETTER_ + + + + _TO (smth) + + + + + cpp_quote("#define COM_FORWARD_ + + _GETTER_ + + + + _TO(smth) HRESULT STDMETHODCALLTYPE get_ + + + + ( + + + SAFEARRAY * + + + + + + * a + + + + ) { return smth get_ + + + + (a + + + + ); }") + + cpp_quote("#define COM_FORWARD_ + + _GETTER_ + + + + _TO_OBJ(obj) COM_FORWARD_ + + _GETTER_ + + + + _TO ((obj)->)") + + cpp_quote("#define COM_FORWARD_ + + _GETTER_ + + + + _TO_BASE(base) COM_FORWARD_ + + _GETTER_ + + + + _TO (base::)") + + + + cpp_quote("#define COM_FORWARD_ + + _SETTER_ + + + + _TO(smth) HRESULT STDMETHODCALLTYPE put_ + + + + ( + + + SAFEARRAY * + + + + + + a + + + + ) { return smth put_ + + + + (a + + + + ); }") + + cpp_quote("#define COM_FORWARD_ + + _SETTER_ + + + + _TO_OBJ(obj) COM_FORWARD_ + + _SETTER_ + + + + _TO ((obj)->)") + + cpp_quote("#define COM_FORWARD_ + + _SETTER_ + + + + _TO_BASE(base) COM_FORWARD_ + + _SETTER_ + + + + _TO (base::)") + + + + + + + + + + + + + HRESULT + + + + + + ( + + + + , + + + + ); + + + (); + + + + + + + + + + + + + + + + + + + COM_FORWARD_ + + _ + + + + _TO (smth) + + + cpp_quote("#define COM_FORWARD_ + + _ + + + + _TO(smth) HRESULT STDMETHODCALLTYPE + + + + + + ( + + + , + + + ) { return smth + + + + ( + + a + + + + , + + a + + + + ); } + + + () { return smth + + + + (); } + + + ") + + cpp_quote("#define COM_FORWARD_ + + _ + + + + _TO_OBJ(obj) COM_FORWARD_ + + _ + + + + _TO ((obj)->)") + + cpp_quote("#define COM_FORWARD_ + + _ + + + + _TO_BASE(base) COM_FORWARD_ + + _ + + + + _TO (base::)") + + + + + + + + + + + + + + + +[ + uuid() +] +coclass + + { + + + + [default] + + interface + + ; + + + + + [default,source] + [source] + + interface + + ; + + }; /* coclass + + */ + + + + +[ + uuid(), + v1_enum +] +typedef enum { + + + = + + , + + + + } + + ; + + + + + + + + + + [ + + in + out + out, retval + in + + ] + + SAFEARRAY( + + + + ) + + + * + + a + + + + + + + + + SAFEARRAY * + + + + + + + * + + a + + + + + + + + + + + + + + + + + + + BOOL * + BYTE * + SHORT * + USHORT * + LONG * + LONG64 * + ULONG * + + + + + + + + + attribute 'mod= + + ' cannot be used with type + + + + + + + + + + BSTR + + + + attribute 'mod= + + ' cannot be used with type + + + + + + + + + + of attribute 'mod' is invalid! + + + + + + + + + HRESULT + BOOL + BYTE + SHORT + USHORT + LONG + LONG64 + ULONG + CHAR + CHAR * + OLECHAR + BSTR + + GUID + + IUnknown * + + + + + + + + + + + + + + * + + + + + Unknown parameter type: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3