headers: Update imported headers to current Wine version.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
This commit is contained in:
Jacek Caban 2022-06-13 17:42:58 +02:00
parent 826706cbf2
commit 7da5597116
12 changed files with 596 additions and 1 deletions

View File

@ -591,6 +591,21 @@ typedef DWORD TfGuidAtom;
#define TF_PROFILETYPE_INPUTPROCESSOR 0x0001
#define TF_PROFILETYPE_KEYBOARDLAYOUT 0x0002
#define TF_IPSINK_FLAG_ACTIVE 0x0001
#define TF_TMAE_NOACTIVATETIP 0x00000001
#define TF_TMAE_SECUREMODE 0x00000002
#define TF_TMAE_UIELEMENTENABLEDONLY 0x00000004
#define TF_TMAE_COMLESS 0x00000008
#define TF_TMAE_WOW16 0x00000010
#define TF_TMAE_NOACTIVATEKEYBOARDLAYOUT 0x00000020
#define TF_TMAE_CONSOLE 0x00000040
#define TF_TMF_NOACTIVATETIP TF_TMAE_NOACTIVATETIP
#define TF_TMF_SECUREMODE TF_TMAE_SECUREMODE
#define TF_TMF_UIELEMENTENABLEDONLY TF_TMAE_UIELEMENTENABLEDONLY
#define TF_TMF_COMLESS TF_TMAE_COMLESS
#define TF_TMF_WOW16 TF_TMAE_WOW16
#define TF_TMF_CONSOLE TF_TMAE_CONSOLE
#define TF_TMF_IMMERSIVEMODE 0x40000000
#define TF_TMF_ACTIVATED 0x80000000
#ifndef __ITfDocumentMgr_FWD_DEFINED__
#define __ITfDocumentMgr_FWD_DEFINED__
typedef interface ITfDocumentMgr ITfDocumentMgr;

View File

@ -85,6 +85,23 @@ cpp_quote("#define TF_PROFILETYPE_KEYBOARDLAYOUT 0x0002")
cpp_quote("#define TF_IPSINK_FLAG_ACTIVE 0x0001")
cpp_quote("#define TF_TMAE_NOACTIVATETIP 0x00000001")
cpp_quote("#define TF_TMAE_SECUREMODE 0x00000002")
cpp_quote("#define TF_TMAE_UIELEMENTENABLEDONLY 0x00000004")
cpp_quote("#define TF_TMAE_COMLESS 0x00000008")
cpp_quote("#define TF_TMAE_WOW16 0x00000010")
cpp_quote("#define TF_TMAE_NOACTIVATEKEYBOARDLAYOUT 0x00000020")
cpp_quote("#define TF_TMAE_CONSOLE 0x00000040")
cpp_quote("#define TF_TMF_NOACTIVATETIP TF_TMAE_NOACTIVATETIP")
cpp_quote("#define TF_TMF_SECUREMODE TF_TMAE_SECUREMODE")
cpp_quote("#define TF_TMF_UIELEMENTENABLEDONLY TF_TMAE_UIELEMENTENABLEDONLY")
cpp_quote("#define TF_TMF_COMLESS TF_TMAE_COMLESS")
cpp_quote("#define TF_TMF_WOW16 TF_TMAE_WOW16")
cpp_quote("#define TF_TMF_CONSOLE TF_TMAE_CONSOLE")
cpp_quote("#define TF_TMF_IMMERSIVEMODE 0x40000000")
cpp_quote("#define TF_TMF_ACTIVATED 0x80000000")
interface ITfDocumentMgr;
interface ITfContext;
interface IEnumTfDocumentMgrs;

View File

@ -449,6 +449,88 @@ DEFINE_GUID(LIBID_UIAutomationClient, 0x944de083, 0x8fb8, 0x45cf, 0xbc,0xb7, 0xc
#define UIA_IsDialogPropertyId (30174)
#define UIA_ButtonControlTypeId (50000)
#define UIA_CalendarControlTypeId (50001)
#define UIA_CheckBoxControlTypeId (50002)
#define UIA_ComboBoxControlTypeId (50003)
#define UIA_EditControlTypeId (50004)
#define UIA_HyperlinkControlTypeId (50005)
#define UIA_ImageControlTypeId (50006)
#define UIA_ListItemControlTypeId (50007)
#define UIA_ListControlTypeId (50008)
#define UIA_MenuControlTypeId (50009)
#define UIA_MenuBarControlTypeId (50010)
#define UIA_MenuItemControlTypeId (50011)
#define UIA_ProgressBarControlTypeId (50012)
#define UIA_RadioButtonControlTypeId (50013)
#define UIA_ScrollBarControlTypeId (50014)
#define UIA_SliderControlTypeId (50015)
#define UIA_SpinnerControlTypeId (50016)
#define UIA_StatusBarControlTypeId (50017)
#define UIA_TabControlTypeId (50018)
#define UIA_TabItemControlTypeId (50019)
#define UIA_TextControlTypeId (50020)
#define UIA_ToolBarControlTypeId (50021)
#define UIA_ToolTipControlTypeId (50022)
#define UIA_TreeControlTypeId (50023)
#define UIA_TreeItemControlTypeId (50024)
#define UIA_CustomControlTypeId (50025)
#define UIA_GroupControlTypeId (50026)
#define UIA_ThumbControlTypeId (50027)
#define UIA_DataGridControlTypeId (50028)
#define UIA_DataItemControlTypeId (50029)
#define UIA_DocumentControlTypeId (50030)
#define UIA_SplitButtonControlTypeId (50031)
#define UIA_WindowControlTypeId (50032)
#define UIA_PaneControlTypeId (50033)
#define UIA_HeaderControlTypeId (50034)
#define UIA_HeaderItemControlTypeId (50035)
#define UIA_TableControlTypeId (50036)
#define UIA_TitleBarControlTypeId (50037)
#define UIA_SeparatorControlTypeId (50038)
#define UIA_SemanticZoomControlTypeId (50039)
#define UIA_AppBarControlTypeId (50040)
#endif /* __UIAutomationClient_LIBRARY_DEFINED__ */
/* Begin additional prototypes for all interfaces */

View File

@ -253,4 +253,53 @@ library UIAutomationClient {
/*
}
*/
/* FIXME: Uncomment when properly supported in widl
[dllname("<no entry points>")]
module UIA_ControlTypeIds
{
*/
const long UIA_ButtonControlTypeId = 50000;
const long UIA_CalendarControlTypeId = 50001;
const long UIA_CheckBoxControlTypeId = 50002;
const long UIA_ComboBoxControlTypeId = 50003;
const long UIA_EditControlTypeId = 50004;
const long UIA_HyperlinkControlTypeId = 50005;
const long UIA_ImageControlTypeId = 50006;
const long UIA_ListItemControlTypeId = 50007;
const long UIA_ListControlTypeId = 50008;
const long UIA_MenuControlTypeId = 50009;
const long UIA_MenuBarControlTypeId = 50010;
const long UIA_MenuItemControlTypeId = 50011;
const long UIA_ProgressBarControlTypeId = 50012;
const long UIA_RadioButtonControlTypeId = 50013;
const long UIA_ScrollBarControlTypeId = 50014;
const long UIA_SliderControlTypeId = 50015;
const long UIA_SpinnerControlTypeId = 50016;
const long UIA_StatusBarControlTypeId = 50017;
const long UIA_TabControlTypeId = 50018;
const long UIA_TabItemControlTypeId = 50019;
const long UIA_TextControlTypeId = 50020;
const long UIA_ToolBarControlTypeId = 50021;
const long UIA_ToolTipControlTypeId = 50022;
const long UIA_TreeControlTypeId = 50023;
const long UIA_TreeItemControlTypeId = 50024;
const long UIA_CustomControlTypeId = 50025;
const long UIA_GroupControlTypeId = 50026;
const long UIA_ThumbControlTypeId = 50027;
const long UIA_DataGridControlTypeId = 50028;
const long UIA_DataItemControlTypeId = 50029;
const long UIA_DocumentControlTypeId = 50030;
const long UIA_SplitButtonControlTypeId = 50031;
const long UIA_WindowControlTypeId = 50032;
const long UIA_PaneControlTypeId = 50033;
const long UIA_HeaderControlTypeId = 50034;
const long UIA_HeaderItemControlTypeId = 50035;
const long UIA_TableControlTypeId = 50036;
const long UIA_TitleBarControlTypeId = 50037;
const long UIA_SeparatorControlTypeId = 50038;
const long UIA_SemanticZoomControlTypeId = 50039;
const long UIA_AppBarControlTypeId = 50040;
/*
};
*/
}

View File

@ -50,6 +50,14 @@ interface IRawElementProviderFragmentRoot;
#endif /* __cplusplus */
#endif
#ifndef __ILegacyIAccessibleProvider_FWD_DEFINED__
#define __ILegacyIAccessibleProvider_FWD_DEFINED__
typedef interface ILegacyIAccessibleProvider ILegacyIAccessibleProvider;
#ifdef __cplusplus
interface ILegacyIAccessibleProvider;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <oaidl.h>
@ -556,6 +564,225 @@ static FORCEINLINE HRESULT IRawElementProviderFragmentRoot_GetFocus(IRawElementP
#endif /* __IRawElementProviderFragmentRoot_INTERFACE_DEFINED__ */
/*****************************************************************************
* ILegacyIAccessibleProvider interface
*/
#ifndef __ILegacyIAccessibleProvider_INTERFACE_DEFINED__
#define __ILegacyIAccessibleProvider_INTERFACE_DEFINED__
DEFINE_GUID(IID_ILegacyIAccessibleProvider, 0xe44c3566, 0x915d, 0x4070, 0x99,0xc6, 0x04,0x7b,0xff,0x5a,0x08,0xf5);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("e44c3566-915d-4070-99c6-047bff5a08f5")
ILegacyIAccessibleProvider : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Select(
LONG flagsSelect) = 0;
virtual HRESULT STDMETHODCALLTYPE DoDefaultAction(
) = 0;
virtual HRESULT STDMETHODCALLTYPE SetValue(
LPCWSTR szValue) = 0;
virtual HRESULT STDMETHODCALLTYPE GetIAccessible(
IAccessible **ppAccessible) = 0;
virtual HRESULT STDMETHODCALLTYPE get_ChildId(
int *pRetVal) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Name(
BSTR *pszName) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Value(
BSTR *pszValue) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Description(
BSTR *pszDescription) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Role(
DWORD *pdwRole) = 0;
virtual HRESULT STDMETHODCALLTYPE get_State(
DWORD *pdwState) = 0;
virtual HRESULT STDMETHODCALLTYPE get_Help(
BSTR *pszHelp) = 0;
virtual HRESULT STDMETHODCALLTYPE get_KeyboardShortcut(
BSTR *pszKeyboardShortcut) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSelection(
SAFEARRAY **pvarSelectedChildren) = 0;
virtual HRESULT STDMETHODCALLTYPE get_DefaultAction(
BSTR *pszDefaultAction) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(ILegacyIAccessibleProvider, 0xe44c3566, 0x915d, 0x4070, 0x99,0xc6, 0x04,0x7b,0xff,0x5a,0x08,0xf5)
#endif
#else
typedef struct ILegacyIAccessibleProviderVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
ILegacyIAccessibleProvider *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
ILegacyIAccessibleProvider *This);
ULONG (STDMETHODCALLTYPE *Release)(
ILegacyIAccessibleProvider *This);
/*** ILegacyIAccessibleProvider methods ***/
HRESULT (STDMETHODCALLTYPE *Select)(
ILegacyIAccessibleProvider *This,
LONG flagsSelect);
HRESULT (STDMETHODCALLTYPE *DoDefaultAction)(
ILegacyIAccessibleProvider *This);
HRESULT (STDMETHODCALLTYPE *SetValue)(
ILegacyIAccessibleProvider *This,
LPCWSTR szValue);
HRESULT (STDMETHODCALLTYPE *GetIAccessible)(
ILegacyIAccessibleProvider *This,
IAccessible **ppAccessible);
HRESULT (STDMETHODCALLTYPE *get_ChildId)(
ILegacyIAccessibleProvider *This,
int *pRetVal);
HRESULT (STDMETHODCALLTYPE *get_Name)(
ILegacyIAccessibleProvider *This,
BSTR *pszName);
HRESULT (STDMETHODCALLTYPE *get_Value)(
ILegacyIAccessibleProvider *This,
BSTR *pszValue);
HRESULT (STDMETHODCALLTYPE *get_Description)(
ILegacyIAccessibleProvider *This,
BSTR *pszDescription);
HRESULT (STDMETHODCALLTYPE *get_Role)(
ILegacyIAccessibleProvider *This,
DWORD *pdwRole);
HRESULT (STDMETHODCALLTYPE *get_State)(
ILegacyIAccessibleProvider *This,
DWORD *pdwState);
HRESULT (STDMETHODCALLTYPE *get_Help)(
ILegacyIAccessibleProvider *This,
BSTR *pszHelp);
HRESULT (STDMETHODCALLTYPE *get_KeyboardShortcut)(
ILegacyIAccessibleProvider *This,
BSTR *pszKeyboardShortcut);
HRESULT (STDMETHODCALLTYPE *GetSelection)(
ILegacyIAccessibleProvider *This,
SAFEARRAY **pvarSelectedChildren);
HRESULT (STDMETHODCALLTYPE *get_DefaultAction)(
ILegacyIAccessibleProvider *This,
BSTR *pszDefaultAction);
END_INTERFACE
} ILegacyIAccessibleProviderVtbl;
interface ILegacyIAccessibleProvider {
CONST_VTBL ILegacyIAccessibleProviderVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define ILegacyIAccessibleProvider_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define ILegacyIAccessibleProvider_AddRef(This) (This)->lpVtbl->AddRef(This)
#define ILegacyIAccessibleProvider_Release(This) (This)->lpVtbl->Release(This)
/*** ILegacyIAccessibleProvider methods ***/
#define ILegacyIAccessibleProvider_Select(This,flagsSelect) (This)->lpVtbl->Select(This,flagsSelect)
#define ILegacyIAccessibleProvider_DoDefaultAction(This) (This)->lpVtbl->DoDefaultAction(This)
#define ILegacyIAccessibleProvider_SetValue(This,szValue) (This)->lpVtbl->SetValue(This,szValue)
#define ILegacyIAccessibleProvider_GetIAccessible(This,ppAccessible) (This)->lpVtbl->GetIAccessible(This,ppAccessible)
#define ILegacyIAccessibleProvider_get_ChildId(This,pRetVal) (This)->lpVtbl->get_ChildId(This,pRetVal)
#define ILegacyIAccessibleProvider_get_Name(This,pszName) (This)->lpVtbl->get_Name(This,pszName)
#define ILegacyIAccessibleProvider_get_Value(This,pszValue) (This)->lpVtbl->get_Value(This,pszValue)
#define ILegacyIAccessibleProvider_get_Description(This,pszDescription) (This)->lpVtbl->get_Description(This,pszDescription)
#define ILegacyIAccessibleProvider_get_Role(This,pdwRole) (This)->lpVtbl->get_Role(This,pdwRole)
#define ILegacyIAccessibleProvider_get_State(This,pdwState) (This)->lpVtbl->get_State(This,pdwState)
#define ILegacyIAccessibleProvider_get_Help(This,pszHelp) (This)->lpVtbl->get_Help(This,pszHelp)
#define ILegacyIAccessibleProvider_get_KeyboardShortcut(This,pszKeyboardShortcut) (This)->lpVtbl->get_KeyboardShortcut(This,pszKeyboardShortcut)
#define ILegacyIAccessibleProvider_GetSelection(This,pvarSelectedChildren) (This)->lpVtbl->GetSelection(This,pvarSelectedChildren)
#define ILegacyIAccessibleProvider_get_DefaultAction(This,pszDefaultAction) (This)->lpVtbl->get_DefaultAction(This,pszDefaultAction)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_QueryInterface(ILegacyIAccessibleProvider* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG ILegacyIAccessibleProvider_AddRef(ILegacyIAccessibleProvider* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG ILegacyIAccessibleProvider_Release(ILegacyIAccessibleProvider* This) {
return This->lpVtbl->Release(This);
}
/*** ILegacyIAccessibleProvider methods ***/
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_Select(ILegacyIAccessibleProvider* This,LONG flagsSelect) {
return This->lpVtbl->Select(This,flagsSelect);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_DoDefaultAction(ILegacyIAccessibleProvider* This) {
return This->lpVtbl->DoDefaultAction(This);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_SetValue(ILegacyIAccessibleProvider* This,LPCWSTR szValue) {
return This->lpVtbl->SetValue(This,szValue);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_GetIAccessible(ILegacyIAccessibleProvider* This,IAccessible **ppAccessible) {
return This->lpVtbl->GetIAccessible(This,ppAccessible);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_ChildId(ILegacyIAccessibleProvider* This,int *pRetVal) {
return This->lpVtbl->get_ChildId(This,pRetVal);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_Name(ILegacyIAccessibleProvider* This,BSTR *pszName) {
return This->lpVtbl->get_Name(This,pszName);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_Value(ILegacyIAccessibleProvider* This,BSTR *pszValue) {
return This->lpVtbl->get_Value(This,pszValue);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_Description(ILegacyIAccessibleProvider* This,BSTR *pszDescription) {
return This->lpVtbl->get_Description(This,pszDescription);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_Role(ILegacyIAccessibleProvider* This,DWORD *pdwRole) {
return This->lpVtbl->get_Role(This,pdwRole);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_State(ILegacyIAccessibleProvider* This,DWORD *pdwState) {
return This->lpVtbl->get_State(This,pdwState);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_Help(ILegacyIAccessibleProvider* This,BSTR *pszHelp) {
return This->lpVtbl->get_Help(This,pszHelp);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_KeyboardShortcut(ILegacyIAccessibleProvider* This,BSTR *pszKeyboardShortcut) {
return This->lpVtbl->get_KeyboardShortcut(This,pszKeyboardShortcut);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_GetSelection(ILegacyIAccessibleProvider* This,SAFEARRAY **pvarSelectedChildren) {
return This->lpVtbl->GetSelection(This,pvarSelectedChildren);
}
static FORCEINLINE HRESULT ILegacyIAccessibleProvider_get_DefaultAction(ILegacyIAccessibleProvider* This,BSTR *pszDefaultAction) {
return This->lpVtbl->get_DefaultAction(This,pszDefaultAction);
}
#endif
#endif
#endif
#endif /* __ILegacyIAccessibleProvider_INTERFACE_DEFINED__ */
#endif /* __UIA_LIBRARY_DEFINED__ */
/* Begin additional prototypes for all interfaces */
@ -563,6 +790,10 @@ ULONG __RPC_USER VARIANT_UserSize (ULONG *, ULONG, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserMarshal (ULONG *, unsigned char *, VARIANT *);
unsigned char * __RPC_USER VARIANT_UserUnmarshal(ULONG *, unsigned char *, VARIANT *);
void __RPC_USER VARIANT_UserFree (ULONG *, VARIANT *);
ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *);
unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *);
unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *);
void __RPC_USER BSTR_UserFree (ULONG *, BSTR *);
/* End additional prototypes */

View File

@ -151,4 +151,35 @@ library UIA
HRESULT GetFocus([out, retval] IRawElementProviderFragment **pRetVal);
}
[
object,
uuid(e44c3566-915d-4070-99c6-047bff5a08f5),
pointer_default(unique),
oleautomation
]
interface ILegacyIAccessibleProvider : IUnknown
{
HRESULT Select(long flagsSelect);
HRESULT DoDefaultAction();
HRESULT SetValue(LPCWSTR szValue);
HRESULT GetIAccessible([out, retval] IAccessible **ppAccessible);
[propget] HRESULT ChildId([out, retval] int *pRetVal);
[propget] HRESULT Name([out, retval] BSTR *pszName);
[propget] HRESULT Value([out, retval] BSTR *pszValue);
[propget] HRESULT Description([out, retval] BSTR *pszDescription);
[propget] HRESULT Role([out, retval] DWORD *pdwRole);
[propget] HRESULT State([out, retval] DWORD *pdwState);
[propget] HRESULT Help([out, retval] BSTR *pszHelp);
[propget] HRESULT KeyboardShortcut([out, retval] BSTR *pszKeyboardShortcut);
/*
* FIXME: Current versions of Windows SDK use
* SAFEARRAY(IRawElementProviderSimple *) instead of
* SAFEARRAY(VARIANT). The new type is currently unsupported
* in widl, we should switch to it when it is.
*/
HRESULT GetSelection([out, retval] SAFEARRAY(VARIANT) *pvarSelectedChildren);
[propget] HRESULT DefaultAction([out, retval] BSTR *pszDefaultAction);
}
}

View File

@ -34,6 +34,9 @@ extern "C" {
#define UiaAppendRuntimeId 3
#define UiaRootObjectId -25
#define UIA_PFIA_DEFAULT 0x00
#define UIA_PFIA_UNWRAP_BRIDGE 0x01
DECLARE_HANDLE(HUIANODE);
DECLARE_HANDLE(HUIAPATTERNOBJECT);
DECLARE_HANDLE(HUIATEXTRANGE);
@ -66,11 +69,12 @@ HRESULT WINAPI UiaGetReservedNotSupportedValue(IUnknown **value);
int WINAPI UiaLookupId(enum AutomationIdentifierType type, const GUID *guid);
WINBOOL WINAPI UiaPatternRelease(HUIAPATTERNOBJECT hobj);
HRESULT WINAPI UiaRaiseAutomationEvent(IRawElementProviderSimple *provider, EVENTID id);
HRESULT WINAPI UiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple *provider, PROPERTYID id, VARIANT old, VARIANT new);
HRESULT WINAPI UiaRaiseAutomationPropertyChangedEvent(IRawElementProviderSimple *, PROPERTYID, VARIANT, VARIANT);
void WINAPI UiaRegisterProviderCallback(UiaProviderCallback *pCallback);
LRESULT WINAPI UiaReturnRawElementProvider(HWND hwnd, WPARAM wParam, LPARAM lParam, IRawElementProviderSimple *elprov);
WINBOOL WINAPI UiaTextRangeRelease(HUIATEXTRANGE hobj);
HRESULT WINAPI UiaHostProviderFromHwnd(HWND hwnd, IRawElementProviderSimple **elprov);
HRESULT WINAPI UiaProviderFromIAccessible(IAccessible *acc, long child_id, DWORD flags, IRawElementProviderSimple **elprov);
#ifdef __cplusplus
}

View File

@ -20,12 +20,14 @@
#pragma winrt ns_prefix
#endif
#ifndef DO_NO_IMPORTS
import "inspectable.idl";
import "asyncinfo.idl";
import "eventtoken.idl";
import "windowscontracts.idl";
import "windows.foundation.idl";
import "windows.foundation.numerics.idl";
#endif
namespace Windows.Gaming.Input.ForceFeedback {
typedef enum ForceFeedbackEffectAxes ForceFeedbackEffectAxes;

View File

@ -137,6 +137,23 @@ namespace ABI {
#endif /* __cplusplus */
#endif
#ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_FWD_DEFINED__
#define ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CGaming_CInput_CIGamepad2 __x_ABI_CWindows_CGaming_CInput_CIGamepad2;
#ifdef __cplusplus
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2 ABI::Windows::Gaming::Input::IGamepad2
namespace ABI {
namespace Windows {
namespace Gaming {
namespace Input {
interface IGamepad2;
}
}
}
}
#endif /* __cplusplus */
#endif
#ifndef ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_FWD_DEFINED__
#define ____x_ABI_CWindows_CGaming_CInput_CIRacingWheel_FWD_DEFINED__
typedef interface __x_ABI_CWindows_CGaming_CInput_CIRacingWheel __x_ABI_CWindows_CGaming_CInput_CIRacingWheel;
@ -2949,6 +2966,136 @@ static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad_GetCurrentR
#endif /* ____x_ABI_CWindows_CGaming_CInput_CIGamepad_INTERFACE_DEFINED__ */
#endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x10000 */
/*****************************************************************************
* IGamepad2 interface
*/
#if WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000
#ifndef ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_INTERFACE_DEFINED__
#define ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_INTERFACE_DEFINED__
DEFINE_GUID(IID___x_ABI_CWindows_CGaming_CInput_CIGamepad2, 0x3c1689bd, 0x5915, 0x4245, 0xb0,0xc0, 0xc8,0x9f,0xae,0x03,0x08,0xff);
#if defined(__cplusplus) && !defined(CINTERFACE)
} /* extern "C" */
namespace ABI {
namespace Windows {
namespace Gaming {
namespace Input {
MIDL_INTERFACE("3c1689bd-5915-4245-b0c0-c89fae0308ff")
IGamepad2 : public IInspectable
{
virtual HRESULT STDMETHODCALLTYPE GetButtonLabel(
enum GamepadButtons button,
enum GameControllerButtonLabel *value) = 0;
};
}
}
}
}
extern "C" {
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(__x_ABI_CWindows_CGaming_CInput_CIGamepad2, 0x3c1689bd, 0x5915, 0x4245, 0xb0,0xc0, 0xc8,0x9f,0xae,0x03,0x08,0xff)
#endif
#else
typedef struct __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
__x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
__x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
__x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This);
/*** IInspectable methods ***/
HRESULT (STDMETHODCALLTYPE *GetIids)(
__x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
ULONG *iidCount,
IID **iids);
HRESULT (STDMETHODCALLTYPE *GetRuntimeClassName)(
__x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
HSTRING *className);
HRESULT (STDMETHODCALLTYPE *GetTrustLevel)(
__x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
TrustLevel *trustLevel);
/*** IGamepad2 methods ***/
HRESULT (STDMETHODCALLTYPE *GetButtonLabel)(
__x_ABI_CWindows_CGaming_CInput_CIGamepad2 *This,
enum __x_ABI_CWindows_CGaming_CInput_CGamepadButtons button,
enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value);
END_INTERFACE
} __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl;
interface __x_ABI_CWindows_CGaming_CInput_CIGamepad2 {
CONST_VTBL __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_Release(This) (This)->lpVtbl->Release(This)
/*** IInspectable methods ***/
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetIids(This,iidCount,iids) (This)->lpVtbl->GetIids(This,iidCount,iids)
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetRuntimeClassName(This,className) (This)->lpVtbl->GetRuntimeClassName(This,className)
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetTrustLevel(This,trustLevel) (This)->lpVtbl->GetTrustLevel(This,trustLevel)
/*** IGamepad2 methods ***/
#define __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetButtonLabel(This,button,value) (This)->lpVtbl->GetButtonLabel(This,button,value)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_QueryInterface(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepad2_AddRef(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG __x_ABI_CWindows_CGaming_CInput_CIGamepad2_Release(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This) {
return This->lpVtbl->Release(This);
}
/*** IInspectable methods ***/
static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetIids(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,ULONG *iidCount,IID **iids) {
return This->lpVtbl->GetIids(This,iidCount,iids);
}
static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetRuntimeClassName(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,HSTRING *className) {
return This->lpVtbl->GetRuntimeClassName(This,className);
}
static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetTrustLevel(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,TrustLevel *trustLevel) {
return This->lpVtbl->GetTrustLevel(This,trustLevel);
}
/*** IGamepad2 methods ***/
static FORCEINLINE HRESULT __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetButtonLabel(__x_ABI_CWindows_CGaming_CInput_CIGamepad2* This,enum __x_ABI_CWindows_CGaming_CInput_CGamepadButtons button,enum __x_ABI_CWindows_CGaming_CInput_CGameControllerButtonLabel *value) {
return This->lpVtbl->GetButtonLabel(This,button,value);
}
#endif
#ifdef WIDL_using_Windows_Gaming_Input
#define IID_IGamepad2 IID___x_ABI_CWindows_CGaming_CInput_CIGamepad2
#define IGamepad2Vtbl __x_ABI_CWindows_CGaming_CInput_CIGamepad2Vtbl
#define IGamepad2 __x_ABI_CWindows_CGaming_CInput_CIGamepad2
#define IGamepad2_QueryInterface __x_ABI_CWindows_CGaming_CInput_CIGamepad2_QueryInterface
#define IGamepad2_AddRef __x_ABI_CWindows_CGaming_CInput_CIGamepad2_AddRef
#define IGamepad2_Release __x_ABI_CWindows_CGaming_CInput_CIGamepad2_Release
#define IGamepad2_GetIids __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetIids
#define IGamepad2_GetRuntimeClassName __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetRuntimeClassName
#define IGamepad2_GetTrustLevel __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetTrustLevel
#define IGamepad2_GetButtonLabel __x_ABI_CWindows_CGaming_CInput_CIGamepad2_GetButtonLabel
#endif /* WIDL_using_Windows_Gaming_Input */
#endif
#endif
#endif /* ____x_ABI_CWindows_CGaming_CInput_CIGamepad2_INTERFACE_DEFINED__ */
#endif /* WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION >= 0x30000 */
/*****************************************************************************
* IRacingWheel interface
*/

View File

@ -446,6 +446,19 @@ namespace Windows.Gaming.Input {
HRESULT GetCurrentReading([out, retval] Windows.Gaming.Input.GamepadReading *value);
}
[
contract(Windows.Foundation.UniversalApiContract, 3.0),
exclusiveto(Windows.Gaming.Input.Gamepad),
uuid(3c1689bd-5915-4245-b0c0-c89fae0308ff)
]
interface IGamepad2 : IInspectable
requires Windows.Gaming.Input.IGamepad,
Windows.Gaming.Input.IGameController
{
HRESULT GetButtonLabel([in] Windows.Gaming.Input.GamepadButtons button,
[out, retval] Windows.Gaming.Input.GameControllerButtonLabel *value);
}
[
contract(Windows.Foundation.UniversalApiContract, 3.0),
exclusiveto(Windows.Gaming.Input.RacingWheel),

View File

@ -602,6 +602,8 @@ typedef enum XmlError {
} XmlError;
STDAPI CreateXmlReader(REFIID riid, void **ppvObject, IMalloc *pMalloc);
typedef IUnknown IXmlReaderInput;
STDAPI CreateXmlReaderInputWithEncodingCodePage(IUnknown *stream, IMalloc *pMalloc,
UINT encoding_codepage, WINBOOL hint, const WCHAR *base_uri, IXmlReaderInput **pInput);
STDAPI CreateXmlReaderInputWithEncodingName(IUnknown *stream, IMalloc *pMalloc,
LPCWSTR encoding, WINBOOL hint,
LPCWSTR base_uri, IXmlReaderInput **ppInput);

View File

@ -228,6 +228,8 @@ typedef enum XmlError
cpp_quote("STDAPI CreateXmlReader(REFIID riid, void **ppvObject, IMalloc *pMalloc);")
cpp_quote("typedef IUnknown IXmlReaderInput;")
cpp_quote("STDAPI CreateXmlReaderInputWithEncodingCodePage(IUnknown *stream, IMalloc *pMalloc,")
cpp_quote(" UINT encoding_codepage, WINBOOL hint, const WCHAR *base_uri, IXmlReaderInput **pInput);")
cpp_quote("STDAPI CreateXmlReaderInputWithEncodingName(IUnknown *stream, IMalloc *pMalloc,")
cpp_quote(" LPCWSTR encoding, WINBOOL hint,")
cpp_quote(" LPCWSTR base_uri, IXmlReaderInput **ppInput);")