Copy as Markdown
Other Tools
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.01.0628 */
/* at Tue Jan 19 03:14:07 2038
*/
/* Compiler settings for AccessibleTextSelectionContainer.idl.tmp/AccessibleTextSelectionContainer.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 8.01.0628
protocol : dce , ms_ext, app_config, c_ext, robust
error checks: allocation ref bounds_check enum stub_data
VC __declspec() decoration level:
__declspec(uuid()), __declspec(selectany), __declspec(novtable)
DECLSPEC_UUID(), MIDL_INTERFACE()
*/
/* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __AccessibleTextSelectionContainer_h__
#define __AccessibleTextSelectionContainer_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#ifndef DECLSPEC_XFGVIRT
#if defined(_CONTROL_FLOW_GUARD_XFG)
#define DECLSPEC_XFGVIRT(base, func) __declspec(xfg_virtual(base, func))
#else
#define DECLSPEC_XFGVIRT(base, func)
#endif
#endif
/* Forward Declarations */
#ifndef __IAccessibleTextSelectionContainer_FWD_DEFINED__
#define __IAccessibleTextSelectionContainer_FWD_DEFINED__
typedef interface IAccessibleTextSelectionContainer IAccessibleTextSelectionContainer;
#endif /* __IAccessibleTextSelectionContainer_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "AccessibleText.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_AccessibleTextSelectionContainer_0000_0000 */
/* [local] */
typedef struct IA2TextSelection
{
IAccessibleText *startObj;
long startOffset;
IAccessibleText *endObj;
long endOffset;
boolean startIsActive;
} IA2TextSelection;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleTextSelectionContainer_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleTextSelectionContainer_0000_0000_v0_0_s_ifspec;
#ifndef __IAccessibleTextSelectionContainer_INTERFACE_DEFINED__
#define __IAccessibleTextSelectionContainer_INTERFACE_DEFINED__
/* interface IAccessibleTextSelectionContainer */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleTextSelectionContainer;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("2118B599-733F-43D0-A569-0B31D125ED9A")
IAccessibleTextSelectionContainer : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selections(
/* [size_is][size_is][out] */ IA2TextSelection **selections,
/* [retval][out] */ long *nSelections) = 0;
virtual HRESULT STDMETHODCALLTYPE setSelections(
/* [in] */ long nSelections,
/* [size_is][in] */ IA2TextSelection *selections) = 0;
};
#else /* C style interface */
typedef struct IAccessibleTextSelectionContainerVtbl
{
BEGIN_INTERFACE
DECLSPEC_XFGVIRT(IUnknown, QueryInterface)
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleTextSelectionContainer * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
_COM_Outptr_ void **ppvObject);
DECLSPEC_XFGVIRT(IUnknown, AddRef)
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleTextSelectionContainer * This);
DECLSPEC_XFGVIRT(IUnknown, Release)
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleTextSelectionContainer * This);
DECLSPEC_XFGVIRT(IAccessibleTextSelectionContainer, get_selections)
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selections )(
IAccessibleTextSelectionContainer * This,
/* [size_is][size_is][out] */ IA2TextSelection **selections,
/* [retval][out] */ long *nSelections);
DECLSPEC_XFGVIRT(IAccessibleTextSelectionContainer, setSelections)
HRESULT ( STDMETHODCALLTYPE *setSelections )(
IAccessibleTextSelectionContainer * This,
/* [in] */ long nSelections,
/* [size_is][in] */ IA2TextSelection *selections);
END_INTERFACE
} IAccessibleTextSelectionContainerVtbl;
interface IAccessibleTextSelectionContainer
{
CONST_VTBL struct IAccessibleTextSelectionContainerVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleTextSelectionContainer_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleTextSelectionContainer_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleTextSelectionContainer_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleTextSelectionContainer_get_selections(This,selections,nSelections) \
( (This)->lpVtbl -> get_selections(This,selections,nSelections) )
#define IAccessibleTextSelectionContainer_setSelections(This,nSelections,selections) \
( (This)->lpVtbl -> setSelections(This,nSelections,selections) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleTextSelectionContainer_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif