Merge master into api_changes

Conflicts:
	src/corelib/kernel/qmetatype.cpp
	src/gui/kernel/qplatformsurface_qpa.cpp
	tests/auto/corelib/tools/qtimeline/qtimeline.pro

Change-Id: Iff3fff34eeeb06f02369767ddfce44cfde505178
This commit is contained in:
Kent Hansen 2012-03-16 10:01:29 +01:00
commit 440f452aa3
448 changed files with 49261 additions and 11287 deletions

2
.gitignore vendored
View File

@ -69,7 +69,7 @@ bin/moc*
bin/makeqpf*
bin/pixeltool*
bin/qmake*
bin/qdoc3*
bin/qdoc*
bin/qt3to4*
bin/qtdemo*
bin/qttracereplay*

View File

@ -3,7 +3,7 @@
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the plugins of the Qt Toolkit.
** This file is part of the FOO module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** GNU Lesser General Public License Usage
@ -39,34 +39,45 @@
**
****************************************************************************/
#ifndef QUIKITEVENTLOOP_H
#define QUIKITEVENTLOOP_H
#include "quikitsoftwareinputhandler.h"
#include <QtCore/QEvent>
#include <QtGui/QPlatformEventLoopIntegration>
@class EventLoopHelper;
@class NSTimer;
QT_BEGIN_NAMESPACE
class QUIKitEventLoop : public QPlatformEventLoopIntegration
{
public:
QUIKitEventLoop();
~QUIKitEventLoop();
void startEventLoop();
void quitEventLoop();
void qtNeedsToProcessEvents();
EventLoopHelper *mHelper;
NSTimer *mTimer;
QUIKitSoftwareInputHandler *mInputHandler;
};
QT_END_NAMESPACE
// NOTE: This file is not meant to be compiled, only preprocessed.
#include "../../src/corelib/global/qprocessordetection.h"
#undef alpha
#undef arm
#undef avr32
#undef bfin
#undef i386
#undef x86_64
#undef ia64
#undef mips
#undef power
#undef s390
#undef sh
#undef sparc
#undef unknown
#if defined(Q_PROCESSOR_ALPHA)
alpha
#elif defined(Q_PROCESSOR_ARM)
arm
#elif defined(Q_PROCESSOR_AVR32)
avr32
#elif defined(Q_PROCESSOR_BLACKFIN)
bfin
#elif defined(Q_PROCESSOR_X86_32)
i386
#elif defined(Q_PROCESSOR_X86_64)
x86_64
#elif defined(Q_PROCESSOR_IA64)
ia64
#elif defined(Q_PROCESSOR_MIPS)
mips
#elif defined(Q_PROCESSOR_POWER)
power
#elif defined(Q_PROCESSOR_S390)
s390
#elif defined(Q_PROCESSOR_SH)
sh
#elif defined(Q_PROCESSOR_SPARC)
sparc
#else
unknown
#endif

View File

@ -0,0 +1,7 @@
CONFIG -= qt debug_and_release
# Detect target by preprocessing a file that uses Q_PROCESSOR_* macros from qprocessordetection.h
COMMAND = $$QMAKE_CXX $$QMAKE_CXXFLAGS -E $$PWD/arch.cpp
# 'false' as second argument to system() prevents qmake from stripping newlines
COMPILER_ARCH = $$system($$COMMAND, false)
# Message back to configure so that it can set QT_ARCH and QT_HOST_ARCH
message($$COMPILER_ARCH)

339
configure vendored
View File

@ -651,6 +651,7 @@ CFG_CONFIGURE_EXIT_ON_ERROR=yes
CFG_PROFILE=no
CFG_EXCEPTIONS=unspecified
CFG_GUI=auto # (yes|no|auto)
CFG_WIDGETS=yes
CFG_QCONFIG=full
CFG_DEBUG=auto
CFG_MYSQL_CONFIG=
@ -693,8 +694,13 @@ CFG_V8SNAPSHOT=auto
CFG_DECLARATIVE_DEBUG=yes
CFG_JAVASCRIPTCORE_JIT=auto
# Target architecture
CFG_ARCH=
# Host architecture, same as CFG_ARCH when not cross-compiling
CFG_HOST_ARCH=
# Set when the -arch or -host-arch arguments are used
OPT_OBSOLETE_HOST_ARG=no
CFG_USE_GNUMAKE=no
CFG_IM=yes
CFG_XINPUT2=auto
@ -742,7 +748,6 @@ CFG_GETIFADDRS=auto
CFG_INOTIFY=auto
CFG_RPATH=yes
CFG_FRAMEWORK=auto
CFG_MAC_ARCHS=
MAC_CONFIG_TEST_COMMANDLINE= # used to make the configure tests run with the correct arch's and SDK settings
CFG_MAC_DWARF2=auto
CFG_MAC_HARFBUZZ=no
@ -774,6 +779,7 @@ CFG_NOPROCESS=no
CFG_ICU=auto
CFG_FORCE_ASSERTS=no
CFG_PCRE=auto
QPA_PLATFORM_GUARD=yes
# initalize variables used for installation
QT_INSTALL_PREFIX=
@ -1201,17 +1207,8 @@ while [ "$#" -gt 0 ]; do
UNKNOWN_OPT=yes
fi
;;
arch)
# if this is a Mac then "windows" probably means
# we are cross-compiling for MinGW
if [ "$BUILD_ON_MAC" = "yes" ] && [ "$VAL" != "windows" ]; then
CFG_MAC_ARCHS="$CFG_MAC_ARCHS $VAL"
else
CFG_ARCH=$VAL
fi
;;
host-arch)
CFG_HOST_ARCH=$VAL
arch|host-arch)
OPT_OBSOLETE_HOST_ARG=yes
;;
harfbuzz)
if [ "$BUILD_ON_MAC" = "yes" ] && [ "$VAL" = "yes" ]; then
@ -1717,6 +1714,22 @@ while [ "$#" -gt 0 ]; do
fi
fi
;;
widgets)
if [ "$VAL" = "yes" ] || [ "$VAL" = "auto" ]; then
CFG_WIDGETS="yes"
elif [ "$VAL" = "no" ]; then
CFG_WIDGETS="no"
else
UNKNOWN_OPT=yes
fi
;;
qpa-platform-guard)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ]; then
QPA_PLATFORM_GUARD="$VAL"
else
UNKNOWN_OPT=yes
fi
;;
dbus)
if [ "$VAL" = "yes" ] || [ "$VAL" = "no" ] || [ "$VAL" = "linked" ]; then
CFG_DBUS="$VAL"
@ -2420,13 +2433,6 @@ if [ "$UNAME_SYSTEM" = "SunOS" ]; then
fi
fi
#-------------------------------------------------------------------------------
# determine the system architecture
#-------------------------------------------------------------------------------
if [ "$OPT_VERBOSE" = "yes" ]; then
echo "Determining system architecture... ($UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_MACHINE)"
fi
if [ "$CFG_RTOS_ENABLED" = "no" ]; then
case `basename "$XPLATFORM"` in
qnx-* | vxworks-*)
@ -2441,153 +2447,6 @@ if [ "$CFG_RTOS_ENABLED" = "no" ]; then
esac
fi
if [ -z "${CFG_HOST_ARCH}" ]; then
case "$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_MACHINE" in
GNU:*:*)
CFG_HOST_ARCH=`echo ${UNAME_MACHINE} | sed -e 's,[-/].*$,,'`
case "$CFG_HOST_ARCH" in
i?86)
CFG_HOST_ARCH=i386
;;
esac
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " GNU/Hurd ($CFG_HOST_ARCH)"
fi
;;
IRIX*:*:*)
CFG_HOST_ARCH=`uname -p`
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " SGI ($CFG_HOST_ARCH)"
fi
;;
SunOS:5*:*)
case "$UNAME_MACHINE" in
sun4u*|sun4v*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " Sun SPARC (sparc)"
fi
CFG_HOST_ARCH=sparc
;;
i86pc)
case "$PLATFORM" in
*-64*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit AMD 80x86 (x86_64)"
fi
CFG_HOST_ARCH=x86_64
;;
*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32-bit Intel 80x86 (i386)"
fi
CFG_HOST_ARCH=i386
;;
esac
esac
;;
AIX:*:00????????00)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit IBM PowerPC (powerpc)"
fi
CFG_HOST_ARCH=powerpc
;;
HP-UX:*:9000*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " HP PA-RISC (parisc)"
fi
CFG_HOST_ARCH=parisc
;;
*:*:i?86)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32-bit Intel 80x86 (i386)"
fi
CFG_HOST_ARCH=i386
;;
*:*:x86_64|*:*:amd64)
if [ "$PLATFORM" = "linux-g++-32" -o "$PLATFORM" = "linux-icc-32" ]; then
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32 bit on 64-bit AMD 80x86 (i386)"
fi
CFG_HOST_ARCH=i386
else
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit AMD 80x86 (x86_64)"
fi
CFG_HOST_ARCH=x86_64
fi
;;
*:*:ppc)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 32-bit PowerPC (powerpc)"
fi
CFG_HOST_ARCH=powerpc
;;
*:*:ppc64)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " 64-bit PowerPC (powerpc)"
fi
CFG_HOST_ARCH=powerpc
;;
*:*:s390*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " IBM S/390 (s390)"
fi
CFG_HOST_ARCH=s390
;;
*:*:arm*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " ARM (arm)"
fi
CFG_HOST_ARCH=arm
;;
Linux:*:sparc*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " Linux on SPARC"
fi
CFG_HOST_ARCH=sparc
;;
QNX:*:*)
case "$UNAME_MACHINE" in
x86pc)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " QNX on Intel 80x86 (i386)"
fi
CFG_HOST_ARCH=i386
;;
esac
;;
*:*:*)
if [ "$OPT_VERBOSE" = "yes" ]; then
echo " Trying '$UNAME_MACHINE'..."
fi
CFG_HOST_ARCH="$UNAME_MACHINE"
;;
esac
fi
if [ "$XPLATFORM_MINGW" = "yes" ]; then
[ -z "$CFG_ARCH" ] && CFG_ARCH="windows"
elif [ "$PLATFORM_MAC" = "yes" ] || [ -z "$CFG_ARCH" ]; then
CFG_ARCH=$CFG_HOST_ARCH
fi
# for compatibility
COMPAT_ARCH=
case "$CFG_ARCH" in
arm*)
# previously, armv6 was a different arch
CFG_ARCH=arm
COMPAT_ARCH=armv6
;;
esac
if [ "$OPT_VERBOSE" = "yes" ]; then
echo "System architecture: '$CFG_ARCH'"
if [ "$PLATFORM_QPA" = "yes" ]; then
echo "Host architecture: '$CFG_HOST_ARCH'"
fi
fi
#-------------------------------------------------------------------------------
# tests that don't need qmake (must be run before displaying help)
#-------------------------------------------------------------------------------
@ -2625,11 +2484,11 @@ if [ "$QT_CROSS_COMPILE" = "yes" ]; then
echo >&2 "Please make sure you have a correctly set-up pkg-config"
echo >&2 "environment!"
echo >&2 ""
if [ -z "$PKG_CONFIG_PATH" ]; then
if [ -z "$PKG_CONFIG_LIBDIR" ]; then
echo >&2 ""
echo >&2 "Warning: PKG_CONFIG_PATH has not been set. This could mean"
echo >&2 "the host compiler's .pc files will be used. This is probably"
echo >&2 "not what you want."
echo >&2 "Warning: PKG_CONFIG_LIBDIR has not been set. This could mean"
echo >&2 "the host's .pc files will be used (even if you set PKG_CONFIG_PATH)."
echo >&2 "This is probably not what you want."
echo >&2 ""
elif [ -z "$PKG_CONFIG_SYSROOT" ] && [ -z "$PKG_CONFIG_SYSROOT_DIR" ]; then
echo >&2 ""
@ -3548,9 +3407,6 @@ Qt/Mac only:
* -dwarf2 ............ Enable dwarf2 debugging symbols.
-no-dwarf2 ......... Disable dwarf2 debugging symbols.
-arch <arch> ....... Build Qt for <arch>. Supported arch values: x86 x86_64.
Only one arch value can be specified.
-sdk <sdk> ......... Build Qt using Apple provided SDK <sdk>. This option requires gcc 4.
To use a different SDK with gcc 3.3, set the SDKROOT environment variable.
@ -4038,6 +3894,33 @@ fi # Build qmake
# tests that need qmake
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# determine the target and host architectures
#-------------------------------------------------------------------------------
# Use config.tests/arch/arch.pro to has the compiler tell us what the target architecture is
CFG_ARCH=`"$outpath/bin/qmake" -spec "$XQMAKESPEC" -o /dev/null "$relpath/config.tests/arch/arch.pro" 2>&1 | sed -e "s,^Project MESSAGE: ,," -e "s,^#.*$,,g" | grep -v "^$"`
[ -z "$CFG_ARCH" ] && CFG_ARCH="unknown"
if [ "$QMAKESPEC" != "$XQMAKESPEC" ]; then
# Do the same test again, using the host compiler
CFG_HOST_ARCH=`"$outpath/bin/qmake" -spec "$QMAKESPEC" -o /dev/null "$relpath/config.tests/arch/arch.pro" 2>&1 | sed -e "s,^Project MESSAGE: ,," -e "s,^#.*$,,g" | grep -v "^$"`
[ -z "$CFG_HOST_ARCH" ] && CFG_HOST_ARCH="unknown"
else
# not cross compiling, host == target
CFG_HOST_ARCH="$CFG_ARCH"
fi
if [ "$OPT_VERBOSE" = "yes" ]; then
echo "System architecture: '$CFG_ARCH'"
if [ "$PLATFORM_QPA" = "yes" ]; then
echo "Host architecture: '$CFG_HOST_ARCH'"
fi
fi
#-------------------------------------------------------------------------------
# functionality tests
#-------------------------------------------------------------------------------
# detect availability of float math.h functions
if "$unixtests/compile.test" "$XQMAKESPEC" "$QMAKE_CONFIG" $OPT_VERBOSE "$relpath" "$outpath" config.tests/unix/floatmath "floatmath" $L_FLAGS $I_FLAGS $l_FLAGS; then
CFG_USE_FLOATMATH=yes
@ -4143,6 +4026,8 @@ if [ "$CFG_ARCH" = "arm" ] && [ "${CFG_NEON}" = "auto" ]; then
else
CFG_NEON=no
fi
elif [ "$CFG_ARCH" != "arm" ]; then
CFG_NEON=no
fi
[ "$XPLATFORM_MINGW" = "yes" ] && QMakeVar add styles "windowsxp windowsvista"
@ -4174,6 +4059,10 @@ if [ "$CFG_LARGEFILE" = "auto" ]; then
CFG_LARGEFILE=yes
fi
if [ "$CFG_GUI" = "no" ]; then
QPA_PLATFORM_GUARD=no
fi
# detect how jpeg should be built
if [ "$CFG_JPEG" = "auto" ]; then
if [ "$CFG_SHARED" = "yes" ]; then
@ -5228,7 +5117,8 @@ if [ "$PLATFORM_QPA" = "yes" ]; then
if [ "$PLATFORM_QPA" = "yes" ] && [ "$BUILD_ON_MAC" = "no" ] && [ "$XPLATFORM_MINGW" = "no" ]; then
if [ "$CFG_XCB" = "no" ]; then
if [ "$ORIG_CFG_XCB" = "auto" ]; then
if [ "$QPA_PLATFORM_GUARD" = "yes" ] &&
( [ "$ORIG_CFG_XCB" = "auto" ] ); then
echo "No QPA platform plugin enabled!"
echo " If you really want to build without a QPA platform plugin you must pass"
echo " -no-xcb. Doing this will produce a Qt that"
@ -5522,29 +5412,27 @@ if [ "$CFG_MAC_DWARF2" = "yes" ]; then
QT_CONFIG="$QT_CONFIG dwarf2"
fi
# Set the default Mac OS X arch if there are no "-arch" arguments on the configure line
# Detect the default arch (x86 or x86_64) on Mac OS X
if [ "$BUILD_ON_MAC" = "yes" ]; then
DEFAULT_ARCH="$CFG_MAC_ARCHS"
if [ -z "$DEFAULT_ARCH" ]; then
case `file "${outpath}/bin/qmake"` in
*i?86)
DEFAULT_ARCH=x86
;;
*x86_64)
DEFAULT_ARCH=x86_64
;;
*ppc|*ppc64|*)
# unsupported/unknown
;;
esac
fi
DEFAULT_ARCH=
case `file "${outpath}/bin/qmake"` in
*i?86)
DEFAULT_ARCH=x86
;;
*x86_64)
DEFAULT_ARCH=x86_64
;;
*ppc|*ppc64|*)
# unsupported/unknown
;;
esac
if [ -n "$DEFAULT_ARCH" ]; then
[ "$OPT_VERBOSE" = "yes" ] && echo "Setting default Mac OS X architechture to $DEFAULT_ARCH."
QT_CONFIG="$QT_CONFIG $DEFAULT_ARCH"
QMAKE_CONFIG="$QMAKE_CONFIG $DEFAULT_ARCH"
# Make the application arch follow the Qt arch for single arch builds.
# (for multiple-arch builds, set CONFIG manually in the application .pro file)
[ `echo "$DEFAULT_ARCH" | wc -w` -eq 1 ] && QTCONFIG_CONFIG="$QTCONFIG_CONFIG $DEFAULT_ARCH"
# Make the application arch follow the Qt arch
QTCONFIG_CONFIG="$QTCONFIG_CONFIG $DEFAULT_ARCH"
fi
fi
@ -5737,8 +5625,12 @@ if [ "$CFG_GUI" = "auto" ]; then
fi
if [ "$CFG_GUI" = "no" ]; then
QT_CONFIG="$QT_CONFIG no-gui"
CFG_WIDGETS="no"
fi
if [ "$CFG_WIDGETS" = "no" ]; then
QT_CONFIG="$QT_CONFIG no-widgets"
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_WIDGETS"
fi
if [ "x$BUILD_ON_MAC" = "xyes" ] && [ "$XPLATFORM_MINGW" != "yes" ]; then
#On Mac we implicitly link against libz, so we
@ -6156,17 +6048,6 @@ cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
#endif
EOF
CFG_ARCH_STR=`echo $CFG_ARCH | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
CFG_HOST_ARCH_STR=`echo $CFG_HOST_ARCH | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >>"$outpath/src/corelib/global/qconfig.h.new" <<EOF
/* Machine Architecture */
#ifndef QT_BOOTSTRAPPED
# define QT_ARCH_${CFG_ARCH_STR}
#else
# define QT_ARCH_${CFG_HOST_ARCH_STR}
#endif
EOF
echo '/* Compile time features */' >>"$outpath/src/corelib/global/qconfig.h.new"
[ '!' -z "$LicenseKeyExt" ] && echo "#define QT_PRODUCT_LICENSEKEY \"$LicenseKeyExt\"" >>"$outpath/src/corelib/global/qconfig.h.new"
@ -6389,6 +6270,7 @@ cat >>"$QTCONFIG.tmp" <<EOF
#configuration
CONFIG += $QTCONFIG_CONFIG
QT_ARCH = $CFG_ARCH
QT_HOST_ARCH = $CFG_HOST_ARCH
QT_EDITION = $Edition
QT_CONFIG += $QT_CONFIG
@ -6583,12 +6465,7 @@ else
echo "Building for: $XPLATFORM"
fi
if [ ! -z "$CFG_MAC_ARCHS" ]; then
echo "Architecture: $CFG_ARCH ($CFG_MAC_ARCHS )"
else
echo "Architecture: $CFG_ARCH"
fi
echo "Architecture: $CFG_ARCH"
if [ "$PLATFORM_QPA" = "yes" ]; then
echo "Host architecture: $CFG_HOST_ARCH"
fi
@ -6623,6 +6500,7 @@ fi
[ "$CFG_DBUS" = "linked" ] && echo "QtDBus module .......... yes (linked)"
echo "QtConcurrent code ...... $CFG_CONCURRENT"
echo "QtGui module ........... $CFG_GUI"
echo "QtWidgets module ....... $CFG_WIDGETS"
if [ "$CFG_JAVASCRIPTCORE_JIT" = "auto" ]; then
echo "JavaScriptCore JIT ..... To be decided by JavaScriptCore"
else
@ -6631,10 +6509,11 @@ fi
echo "Declarative debugging ...$CFG_DECLARATIVE_DEBUG"
echo "STL support ............ $CFG_STL"
echo "PCH support ............ $CFG_PRECOMPILE"
echo "MMX/3DNOW/SSE/SSE2/SSE3. ${CFG_MMX}/${CFG_3DNOW}/${CFG_SSE}/${CFG_SSE2}/${CFG_SSE3}"
echo "SSSE3/SSE4.1/SSE4.2..... ${CFG_SSSE3}/${CFG_SSE4_1}/${CFG_SSE4_2}"
echo "AVX..................... ${CFG_AVX}"
if [ "$CFG_ARCH" = "arm" ] || [ "$CFG_ARCH" = "armv6" ]; then
if [ "$CFG_ARCH" = "i386" -o "$CFG_ARCH" = "x86_64" ]; then
echo "MMX/3DNOW/SSE/SSE2/SSE3. ${CFG_MMX}/${CFG_3DNOW}/${CFG_SSE}/${CFG_SSE2}/${CFG_SSE3}"
echo "SSSE3/SSE4.1/SSE4.2..... ${CFG_SSSE3}/${CFG_SSE4_1}/${CFG_SSE4_2}"
echo "AVX..................... ${CFG_AVX}"
elif [ "$CFG_ARCH" = "arm" ]; then
echo "iWMMXt support ......... ${CFG_IWMMXT}"
echo "NEON support ........... ${CFG_NEON}"
fi
@ -6997,14 +6876,21 @@ rm -f .projects .projects.3
#-------------------------------------------------------------------------------
# check for platforms that we don't yet know about
#-------------------------------------------------------------------------------
if [ "$CFG_ARCH" = "generic" ]; then
if [ "$CFG_ARCH" = "unknown" ]; then
cat <<EOF
NOTICE: Atomic operations are not yet supported for this
architecture.
NOTICE: configure was unable to determine the architecture
for the $XQMAKESPEC target.
Qt will use the 'generic' architecture instead, which uses a
single pthread_mutex_t to protect all atomic operations. This
Qt will not use a specialized implementation for any atomic
operations. Instead a generic implemention based on either GCC
intrinsics or C++11 std::atomic<T> will be used (when
available). The generic implementations are generally as fast
as and always as safe as a specialized implementation.
If no generic implementation is available, Qt will use a
fallback UNIX implementation which uses a single
pthread_mutex_t to protect all atomic operations. This
implementation is the slow (but safe) fallback implementation
for architectures Qt does not yet support.
EOF
@ -7042,6 +6928,21 @@ cat <<EOF
EOF
fi
#-------------------------------------------------------------------------------
# check if the user passed the obsoleted -arch or -host-arch options
#-------------------------------------------------------------------------------
if [ "$OPT_OBSOLETE_HOST_ARG" = "yes" ]; then
cat <<EOF
NOTICE: The -arch and -host-arch options are obsolete.
Qt now detects the target and host architectures based on compiler
output. Qt will be built using $CFG_ARCH for the target architecture
and $CFG_HOST_ARCH for the host architecture (note that these two
will be the same unless you are cross-compiling).
EOF
fi
#-------------------------------------------------------------------------------
# finally save the executed command to another script
#-------------------------------------------------------------------------------

31
dist/changes-5.0.0 vendored
View File

@ -364,6 +364,22 @@ QtWidgets
the proper Qt API: due to the version bump, QStyle will try to use the additional
QStyleOption members, which are left default-initialized.
* QHeaderView - The following functions have been obsoleted.
* void setMovable(bool movable) - use void setSectionsMovable(bool movable) instead.
* bool isMovable() const - use bool sectionsMovable() const instead.
* void setClickable(bool clickable) - use void setSectionsClickable(bool clickable) instead.
* bool isClickable() const - use bool sectionsClickable() instead.
* void setResizeMode(int logicalindex, ResizeMode mode) -
use setSectionResizeMode(logicalindex, mode) instead.
* ResizeMode resizeMode(int logicalindex) const -
use sectionResizeMode(int logicalindex) instead.
QtNetwork
---------
* QHostAddress::isLoopback() API added. Returns true if the address is
@ -409,6 +425,9 @@ model methods setData() or setRecord().
before doing anything. Previously, it would remove what it could and
ignore the rest of the range.
* removeRows(), for OnFieldChange and OnRowChange, allows only 1 row to be
removed and only if there are no other changed rows.
* setRecord() and insertRecord()
-Only use fields where generated flag is set to true. This is
is consistent with the meaning of the flag.
@ -416,6 +435,7 @@ ignore the rest of the range.
map were simply ignored.
-For OnManualSubmit, insertRecord() no longer leaves behind an empty
row if setRecord() fails.
-setRecord() now automatically submits for OnRowChange.
* QSqlQueryModel::indexInQuery() is now virtual. See
QSqlTableModel::indexInQuery() as example of how to implement in a
@ -432,6 +452,17 @@ done after committing. This includes deleted rows which remain in
the model as blank rows until the application calls select(). Instead,
selectRow() is called to refresh only the affected row.
* QSqlTableModel::isDirty(): New overloaded method to check whether model
has any changes to submit. QTBUG-3108
* QSqlTableModel::setData() and setRecord() no longer revert pending changes
that fail upon resubmitting for edit strategies OnFieldChange and OnRowChange.
Instead, pending (failed) changes cause new changes inappropriate to the
edit strategy to be refused. The application should resolve or revert pending
changes. insertRows() and insertRecord() also respect the edit strategy.
* QSqlTableModel::setData() and setRecord() in OnRowChange no longer have the
side effect of submitting the cached row when invoked on a different row.
****************************************************************************
* Database Drivers *
****************************************************************************

View File

@ -27,7 +27,7 @@
/*!
\module QtSql
\title QtSql Module
\title Qt SQL Module
\ingroup modules
To include the definitions of the module's classes, use the

View File

@ -28,11 +28,11 @@
/*!
\page sql-driver.html
\title SQL Database Drivers
\brief How to configure and install QtSql drivers for supported databases.
\brief How to configure and install Qt SQL drivers for supported databases.
\ingroup qt-sql
The QtSql module uses driver \l{How to Create Qt
The Qt SQL module uses driver \l{How to Create Qt
Plugins}{plugins} to communicate with the different database
APIs. Since Qt's SQL Module API is database-independent, all
database-specific code is contained within these drivers. Several

View File

@ -167,9 +167,9 @@ void Window::createIconGroupBox()
iconLabel = new QLabel("Icon:");
iconComboBox = new QComboBox;
iconComboBox->addItem(QIcon(":/images/bad.svg"), tr("Bad"));
iconComboBox->addItem(QIcon(":/images/heart.svg"), tr("Heart"));
iconComboBox->addItem(QIcon(":/images/trash.svg"), tr("Trash"));
iconComboBox->addItem(QIcon(":/images/bad.png"), tr("Bad"));
iconComboBox->addItem(QIcon(":/images/heart.png"), tr("Heart"));
iconComboBox->addItem(QIcon(":/images/trash.png"), tr("Trash"));
showIconCheckBox = new QCheckBox(tr("Show icon"));
showIconCheckBox->setChecked(true);

View File

@ -78,7 +78,7 @@ void PuzzleWidget::dragLeaveEvent(QDragLeaveEvent *event)
void PuzzleWidget::dragMoveEvent(QDragMoveEvent *event)
{
QRect updateRect = highlightedRect.unite(targetSquare(event->pos()));
QRect updateRect = highlightedRect.united(targetSquare(event->pos()));
if (event->mimeData()->hasFormat("image/x-puzzle-piece")
&& findPiece(targetSquare(event->pos())) == -1) {

View File

@ -31,7 +31,6 @@ SUBDIRS = \
}
wince*|embedded|x11:!contains(QT_CONFIG, no-gui): SUBDIRS += embedded
embedded:SUBDIRS += qws
contains(QT_BUILD_PARTS, tools):!contains(QT_CONFIG, no-gui):SUBDIRS += qtestlib
contains(QT_CONFIG, opengl): SUBDIRS += opengl
contains(QT_CONFIG, dbus): SUBDIRS += dbus

View File

@ -78,7 +78,7 @@ void PuzzleWidget::dragLeaveEvent(QDragLeaveEvent *event)
void PuzzleWidget::dragMoveEvent(QDragMoveEvent *event)
{
QRect updateRect = highlightedRect.unite(targetSquare(event->pos()));
QRect updateRect = highlightedRect.united(targetSquare(event->pos()));
if (event->mimeData()->hasFormat("image/x-puzzle-piece")
&& findPiece(targetSquare(event->pos())) == -1) {

View File

@ -1,7 +0,0 @@
These examples show how to take advantage of features specifically designed
for use on systems with limited resources, specialized hardware, and small
screens.
Documentation for these examples can be found via the Examples
link in the main Qt documentation.

View File

@ -1,95 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "dbscreen.h"
#include <QApplication>
//! [0]
bool DBScreen::initDevice()
{
if (!QLinuxFbScreen::initDevice())
return false;
QScreenCursor::initSoftwareCursor();
image = new QImage(deviceWidth(), deviceHeight(), pixelFormat());
painter = new QPainter(image);
return true;
}
//! [0]
//! [1]
void DBScreen::shutdownDevice()
{
QLinuxFbScreen::shutdownDevice();
delete painter;
delete image;
}
//! [1]
//! [2]
void DBScreen::solidFill(const QColor &color, const QRegion &region)
{
QVector<QRect> rects = region.rects();
for (int i = 0; i < rects.size(); i++)
painter->fillRect(rects.at(i), color);
}
//! [2]
//! [3]
void DBScreen::blit(const QImage &image, const QPoint &topLeft, const QRegion &region)
{
QVector<QRect> rects = region.rects();
for (int i = 0; i < rects.size(); i++) {
QRect destRect = rects.at(i);
QRect srcRect(destRect.x()-topLeft.x(), destRect.y()-topLeft.y(), destRect.width(), destRect.height());
painter->drawImage(destRect.topLeft(), image, srcRect);
}
}
//! [3]
//! [4]
void DBScreen::exposeRegion(QRegion region, int changing)
{
QLinuxFbScreen::exposeRegion(region, changing);
QLinuxFbScreen::blit(*image, QPoint(0, 0), region);
}
//! [4]

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Double Buffered Graphics Driver
Exec=/opt/usr/bin/dbscreen
Icon=dbscreen
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

View File

@ -1,66 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef DBSCREEN_H
#define DBSCREEN_H
#include <QLinuxFbScreen>
#include <QPainter>
//! [0]
class DBScreen : public QLinuxFbScreen
{
public:
DBScreen(int displayId) : QLinuxFbScreen(displayId) {};
~DBScreen() {}
bool initDevice();
void shutdownDevice();
void blit(const QImage &image, const QPoint &topLeft, const QRegion &region);
void solidFill(const QColor &color, const QRegion &region);
void exposeRegion(QRegion region, int changing);
private:
QPainter *painter;
QImage *image;
};
//! [0]
#endif // DBSCREEN_H

View File

@ -1,13 +0,0 @@
TEMPLATE = lib
CONFIG += plugin
TARGET = dbscreen
target.path += $$[QT_INSTALL_PLUGINS]/gfxdrivers
INSTALLS += target
HEADERS = dbscreen.h
SOURCES = dbscreendriverplugin.cpp \
dbscreen.cpp
QT += widgets
simulator: warning(This example does not work on Simulator platform)

View File

@ -1,76 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QScreenDriverPlugin>
#include "dbscreen.h"
//! [0]
class DBScreenDriverPlugin : public QScreenDriverPlugin
{
public:
DBScreenDriverPlugin();
QScreen* create(const QString& key, int displayId);
QStringList keys () const;
};
//! [0]
DBScreenDriverPlugin::DBScreenDriverPlugin() : QScreenDriverPlugin()
{
}
//! [1]
QScreen* DBScreenDriverPlugin::create(const QString& key, int displayId)
{
if (key.toLower() != "dbscreen")
return 0;
return new DBScreen(displayId);
}
//! [1]
//! [2]
QStringList DBScreenDriverPlugin::keys() const
{
return QStringList() << "dbscreen";
}
//! [2] //! [3]
Q_EXPORT_PLUGIN2(dbscreen, DBScreenDriverPlugin)
//! [3]

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Linux Framebuffer
Exec=/opt/usr/bin/framebuffer
Icon=framebuffer
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

View File

@ -1,15 +0,0 @@
TEMPLATE = app
TARGET = framebuffer
CONFIG -= qt
SOURCES += main.c
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qws/framebuffer
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS framebuffer.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qws/framebuffer
INSTALLS += target sources
QT += widgets
simulator: warning(This example does not work on Simulator platform)

View File

@ -1,585 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <fcntl.h>
#include <linux/fb.h>
#include <linux/kd.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <string.h>
#include <errno.h>
struct fb_var_screeninfo vinfo;
struct fb_fix_screeninfo finfo;
char *frameBuffer = 0;
int fbFd = 0;
int ttyFd = 0;
void printFixedInfo()
{
printf("Fixed screen info:\n"
"\tid: %s\n"
"\tsmem_start: 0x%lx\n"
"\tsmem_len: %d\n"
"\ttype: %d\n"
"\ttype_aux: %d\n"
"\tvisual: %d\n"
"\txpanstep: %d\n"
"\typanstep: %d\n"
"\tywrapstep: %d\n"
"\tline_length: %d\n"
"\tmmio_start: 0x%lx\n"
"\tmmio_len: %d\n"
"\taccel: %d\n"
"\n",
finfo.id, finfo.smem_start, finfo.smem_len, finfo.type,
finfo.type_aux, finfo.visual, finfo.xpanstep, finfo.ypanstep,
finfo.ywrapstep, finfo.line_length, finfo.mmio_start,
finfo.mmio_len, finfo.accel);
}
void printVariableInfo()
{
printf("Variable screen info:\n"
"\txres: %d\n"
"\tyres: %d\n"
"\txres_virtual: %d\n"
"\tyres_virtual: %d\n"
"\tyoffset: %d\n"
"\txoffset: %d\n"
"\tbits_per_pixel: %d\n"
"\tgrayscale: %d\n"
"\tred: offset: %2d, length: %2d, msb_right: %2d\n"
"\tgreen: offset: %2d, length: %2d, msb_right: %2d\n"
"\tblue: offset: %2d, length: %2d, msb_right: %2d\n"
"\ttransp: offset: %2d, length: %2d, msb_right: %2d\n"
"\tnonstd: %d\n"
"\tactivate: %d\n"
"\theight: %d\n"
"\twidth: %d\n"
"\taccel_flags: 0x%x\n"
"\tpixclock: %d\n"
"\tleft_margin: %d\n"
"\tright_margin: %d\n"
"\tupper_margin: %d\n"
"\tlower_margin: %d\n"
"\thsync_len: %d\n"
"\tvsync_len: %d\n"
"\tsync: %d\n"
"\tvmode: %d\n"
"\n",
vinfo.xres, vinfo.yres, vinfo.xres_virtual, vinfo.yres_virtual,
vinfo.xoffset, vinfo.yoffset, vinfo.bits_per_pixel, vinfo.grayscale,
vinfo.red.offset, vinfo.red.length, vinfo.red.msb_right,
vinfo.green.offset, vinfo.green.length, vinfo.green.msb_right,
vinfo.blue.offset, vinfo.blue.length, vinfo.blue.msb_right,
vinfo.transp.offset, vinfo.transp.length, vinfo.transp.msb_right,
vinfo.nonstd, vinfo.activate, vinfo.height, vinfo.width,
vinfo.accel_flags, vinfo.pixclock, vinfo.left_margin,
vinfo.right_margin, vinfo.upper_margin, vinfo.lower_margin,
vinfo.hsync_len, vinfo.vsync_len, vinfo.sync, vinfo.vmode);
}
long switchToGraphicsMode()
{
const char *const devs[] = {"/dev/tty0", "/dev/tty", "/dev/console", 0};
const char * const *dev;
long oldMode = KD_TEXT;
for (dev = devs; *dev; ++dev) {
ttyFd = open(*dev, O_RDWR);
if (ttyFd != -1)
break;
printf("Opening tty device %s failed: %s\n", *dev, strerror(errno));
}
ioctl(ttyFd, KDGETMODE, &oldMode);
if (oldMode == KD_GRAPHICS) {
printf("Was in graphics mode already. Skipping\n");
return oldMode;
}
int ret = ioctl(ttyFd, KDSETMODE, KD_GRAPHICS);
if (ret == -1) {
printf("Switch to graphics mode failed: %s\n", strerror(errno));
return oldMode;
}
printf("Successfully switched to graphics mode.\n\n");
return oldMode;
}
void restoreTextMode(long oldMode)
{
if (ttyFd == -1)
return;
ioctl(ttyFd, KDSETMODE, oldMode);
close(ttyFd);
}
struct fb_cmap oldPalette;
struct fb_cmap palette;
int paletteSize = 0;
void initPalette_16()
{
if (finfo.type == FB_TYPE_PACKED_PIXELS) {
// We'll setup a grayscale map for 4bpp linear
int val = 0;
int i;
for (i = 0; i < 16; ++i) {
palette.red[i] = (val << 8) | val;
palette.green[i] = (val << 8) | val;
palette.blue[i] = (val << 8) | val;
val += 17;
}
return;
}
// Default 16 colour palette
unsigned char reds[16] = { 0x00, 0x7F, 0xBF, 0xFF, 0xFF, 0xA2,
0x00, 0xFF, 0xFF, 0x00, 0x7F, 0x7F,
0x00, 0x00, 0x00, 0x82 };
unsigned char greens[16] = { 0x00, 0x7F, 0xBF, 0xFF, 0x00, 0xC5,
0x00, 0xFF, 0x00, 0xFF, 0x00, 0x00,
0x00, 0x7F, 0x7F, 0x7F };
unsigned char blues[16] = { 0x00, 0x7F, 0xBF, 0xFF, 0x00, 0x11,
0xFF, 0x00, 0xFF, 0xFF, 0x00, 0x7F,
0x7F, 0x7F, 0x00, 0x00 };
int i;
for (i = 0; i < 16; ++i) {
palette.red[i] = ((reds[i]) << 8) | reds[i];
palette.green[i] = ((greens[i]) << 8) | greens[i];
palette.blue[i] = ((blues[i]) << 8) | blues[i];
palette.transp[i] = 0;
}
}
void initPalette_256()
{
if (vinfo.grayscale) {
int i;
for (i = 0; i < 256; ++i) {
unsigned short c = (i << 8) | i;
palette.red[i] = c;
palette.green[i] = c;
palette.blue[i] = c;
palette.transp[i] = 0;
}
return;
}
// 6x6x6 216 color cube
int i = 0;
int ir, ig, ib;
for (ir = 0x0; ir <= 0xff; ir += 0x33) {
for (ig = 0x0; ig <= 0xff; ig += 0x33) {
for (ib = 0x0; ib <= 0xff; ib += 0x33) {
palette.red[i] = (ir << 8)|ir;
palette.green[i] = (ig << 8)|ig;
palette.blue[i] = (ib << 8)|ib;
palette.transp[i] = 0;
++i;
}
}
}
}
void initPalette()
{
switch (vinfo.bits_per_pixel) {
case 8: paletteSize = 256; break;
case 4: paletteSize = 16; break;
default: break;
}
if (!paletteSize)
return; /* not using a palette */
/* read old palette */
oldPalette.start = 0;
oldPalette.len = paletteSize;
oldPalette.red = (unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
oldPalette.green = (unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
oldPalette.blue=(unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
oldPalette.transp=(unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
if (ioctl(ttyFd, FBIOGETCMAP, &oldPalette) == -1)
perror("initPalette: error reading palette");
/* create new palette */
palette.start = 0;
palette.len = paletteSize;
palette.red = (unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
palette.green = (unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
palette.blue = (unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
palette.transp = (unsigned short*)malloc(sizeof(unsigned short)*paletteSize);
switch (paletteSize) {
case 16: initPalette_16(); break;
case 256: initPalette_256(); break;
default: break;
}
/* set new palette */
if (ioctl(ttyFd, FBIOPUTCMAP, &palette) == -1)
perror("initPalette: error setting palette");
}
void resetPalette()
{
if (paletteSize == 0)
return;
if (ioctl(ttyFd, FBIOPUTCMAP, &oldPalette) == -1)
perror("resetPalette");
free(oldPalette.red);
free(oldPalette.green);
free(oldPalette.blue);
free(oldPalette.transp);
free(palette.red);
free(palette.green);
free(palette.blue);
free(palette.transp);
}
void drawRect_rgb32(int x0, int y0, int width, int height, int color)
{
const int bytesPerPixel = 4;
const int stride = finfo.line_length / bytesPerPixel;
int *dest = (int*)(frameBuffer)
+ (y0 + vinfo.yoffset) * stride
+ (x0 + vinfo.xoffset);
int x, y;
for (y = 0; y < height; ++y) {
for (x = 0; x < width; ++x) {
dest[x] = color;
}
dest += stride;
}
}
void drawRect_rgb18(int x0, int y0, int width, int height, int color)
{
const int bytesPerPixel = 3;
const int stride = finfo.line_length - width * bytesPerPixel;
const int red = (color & 0xff0000) >> 16;
const int green = (color & 0xff00) >> 8;
const int blue = (color & 0xff);
const unsigned int packed = (blue >> 2) |
((green >> 2) << 6) |
((red >> 2) << 12);
const char color18[3] = { packed & 0xff,
(packed & 0xff00) >> 8,
(packed & 0xff0000) >> 16 };
char *dest = (char*)(frameBuffer)
+ (y0 + vinfo.yoffset) * stride
+ (x0 + vinfo.xoffset);
int x, y;
for (y = 0; y < height; ++y) {
for (x = 0; x < width; ++x) {
*dest++ = color18[0];
*dest++ = color18[1];
*dest++ = color18[2];
}
dest += stride;
}
}
void drawRect_rgb16(int x0, int y0, int width, int height, int color)
{
const int bytesPerPixel = 2;
const int stride = finfo.line_length / bytesPerPixel;
const int red = (color & 0xff0000) >> (16 + 3);
const int green = (color & 0xff00) >> (8 + 2);
const int blue = (color & 0xff) >> 3;
const short color16 = blue | (green << 5) | (red << (5 + 6));
short *dest = (short*)(frameBuffer)
+ (y0 + vinfo.yoffset) * stride
+ (x0 + vinfo.xoffset);
int x, y;
for (y = 0; y < height; ++y) {
for (x = 0; x < width; ++x) {
dest[x] = color16;
}
dest += stride;
}
}
void drawRect_rgb15(int x0, int y0, int width, int height, int color)
{
const int bytesPerPixel = 2;
const int stride = finfo.line_length / bytesPerPixel;
const int red = (color & 0xff0000) >> (16 + 3);
const int green = (color & 0xff00) >> (8 + 3);
const int blue = (color & 0xff) >> 3;
const short color15 = blue | (green << 5) | (red << (5 + 5));
short *dest = (short*)(frameBuffer)
+ (y0 + vinfo.yoffset) * stride
+ (x0 + vinfo.xoffset);
int x, y;
for (y = 0; y < height; ++y) {
for (x = 0; x < width; ++x) {
dest[x] = color15;
}
dest += stride;
}
}
void drawRect_palette(int x0, int y0, int width, int height, int color)
{
const int bytesPerPixel = 1;
const int stride = finfo.line_length / bytesPerPixel;
const unsigned char color8 = color;
unsigned char *dest = (unsigned char*)(frameBuffer)
+ (y0 + vinfo.yoffset) * stride
+ (x0 + vinfo.xoffset);
int x, y;
for (y = 0; y < height; ++y) {
for (x = 0; x < width; ++x) {
dest[x] = color8;
}
dest += stride;
}
}
void drawRect(int x0, int y0, int width, int height, int color)
{
switch (vinfo.bits_per_pixel) {
case 32:
drawRect_rgb32(x0, y0, width, height, color);
break;
case 18:
drawRect_rgb18(x0, y0, width, height, color);
break;
case 16:
drawRect_rgb16(x0, y0, width, height, color);
break;
case 15:
drawRect_rgb15(x0, y0, width, height, color);
break;
case 8:
drawRect_palette(x0, y0, width, height, color);
break;
case 4:
drawRect_palette(x0, y0, width, height, color);
break;
default:
printf("Warning: drawRect() not implemented for color depth %i\n",
vinfo.bits_per_pixel);
break;
}
}
#define PERFORMANCE_RUN_COUNT 5
void performSpeedTest(void* fb, int fbSize)
{
int i, j, run;
struct timeval startTime, endTime;
unsigned long long results[PERFORMANCE_RUN_COUNT];
unsigned long long average;
unsigned int* testImage;
unsigned int randData[17] = {
0x3A428472, 0x724B84D3, 0x26B898AB, 0x7D980E3C, 0x5345A084,
0x6779B66B, 0x791EE4B4, 0x6E8EE3CC, 0x63AF504A, 0x18A21B33,
0x0E26EB73, 0x022F708E, 0x1740F3B0, 0x7E2C699D, 0x0E8A570B,
0x5F2C22FB, 0x6A742130
};
printf("Frame Buffer Performance test...\n");
for (run=0; run<PERFORMANCE_RUN_COUNT; ++run) {
/* Generate test image with random(ish) data: */
testImage = (unsigned int*) malloc(fbSize);
j = run;
for (i=0; i < (int)(fbSize / sizeof(int)); ++i) {
testImage[i] = randData[j];
j++;
if (j >= 17)
j = 0;
}
gettimeofday(&startTime, NULL);
memcpy(fb, testImage, fbSize);
gettimeofday(&endTime, NULL);
long secsDiff = endTime.tv_sec - startTime.tv_sec;
results[run] = secsDiff * 1000000 + (endTime.tv_usec - startTime.tv_usec);
free(testImage);
}
average = 0;
for (i=0; i<PERFORMANCE_RUN_COUNT; ++i)
average += results[i];
average = average / PERFORMANCE_RUN_COUNT;
printf(" Average: %llu usecs\n", average);
printf(" Bandwidth: %.03f MByte/Sec\n", (fbSize / 1048576.0) / ((double)average / 1000000.0));
printf(" Max. FPS: %.03f fps\n\n", 1000000.0 / (double)average);
/* Clear the framebuffer back to black again: */
memset(fb, 0, fbSize);
}
int main(int argc, char **argv)
{
long int screensize = 0;
int doGraphicsMode = 1;
long oldKdMode = KD_TEXT;
const char *devfile = "/dev/fb0";
int nextArg = 1;
if (nextArg < argc) {
if (strncmp("nographicsmodeswitch", argv[nextArg],
strlen("nographicsmodeswitch")) == 0)
{
++nextArg;
doGraphicsMode = 0;
}
}
if (nextArg < argc)
devfile = argv[nextArg++];
/* Open the file for reading and writing */
fbFd = open(devfile, O_RDWR);
if (fbFd == -1) {
perror("Error: cannot open framebuffer device");
exit(1);
}
printf("The framebuffer device was opened successfully.\n\n");
/* Get fixed screen information */
if (ioctl(fbFd, FBIOGET_FSCREENINFO, &finfo) == -1) {
perror("Error reading fixed information");
exit(2);
}
printFixedInfo();
/* Figure out the size of the screen in bytes */
screensize = finfo.smem_len;
/* Map the device to memory */
frameBuffer = (char *)mmap(0, screensize,
PROT_READ | PROT_WRITE, MAP_SHARED,
fbFd, 0);
if (frameBuffer == MAP_FAILED) {
perror("Error: Failed to map framebuffer device to memory");
exit(4);
}
printf("The framebuffer device was mapped to memory successfully.\n"
"\n");
if (doGraphicsMode)
oldKdMode = switchToGraphicsMode();
/* Get variable screen information */
if (ioctl(fbFd, FBIOGET_VSCREENINFO, &vinfo) == -1) {
perror("Error reading variable information");
exit(3);
}
printVariableInfo();
performSpeedTest(frameBuffer, screensize);
initPalette();
if (paletteSize == 0) {
printf("Will draw 3 rectangles on the screen,\n"
"they should be colored red, green and blue (in that order).\n");
drawRect(vinfo.xres / 8, vinfo.yres / 8,
vinfo.xres / 4, vinfo.yres / 4,
0xffff0000);
drawRect(vinfo.xres * 3 / 8, vinfo.yres * 3 / 8,
vinfo.xres / 4, vinfo.yres / 4,
0xff00ff00);
drawRect(vinfo.xres * 5 / 8, vinfo.yres * 5 / 8,
vinfo.xres / 4, vinfo.yres / 4,
0xff0000ff);
} else {
printf("Will rectangles from the 16 first entries in the color palette"
" on the screen\n");
int y;
int x;
for (y = 0; y < 4; ++y) {
for (x = 0; x < 4; ++x) {
drawRect(vinfo.xres / 4 * x, vinfo.yres / 4 * y,
vinfo.xres / 4, vinfo.yres / 4,
4 * y + x);
}
}
}
sleep(5);
resetPalette();
printf(" Done.\n");
if (doGraphicsMode)
restoreTextMode(oldKdMode);
munmap(frameBuffer, screensize);
close(fbFd);
return 0;
}

View File

@ -1,144 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "calibration.h"
#include <QWSPointerCalibrationData>
#include <QPainter>
#include <QFile>
#include <QTimer>
#include <QApplication>
#include <QDesktopWidget>
#include <QMouseEvent>
#include <QScreen>
#include <QWSServer>
//! [0]
Calibration::Calibration()
{
QRect desktop = QApplication::desktop()->geometry();
desktop.moveTo(QPoint(0, 0));
setGeometry(desktop);
setFocusPolicy(Qt::StrongFocus);
setFocus();
setModal(true);
//! [0]
//! [1]
int width = qt_screen->deviceWidth();
int height = qt_screen->deviceHeight();
int dx = width / 10;
int dy = height / 10;
QPoint *points = data.screenPoints;
points[QWSPointerCalibrationData::TopLeft] = QPoint(dx, dy);
points[QWSPointerCalibrationData::BottomLeft] = QPoint(dx, height - dy);
points[QWSPointerCalibrationData::BottomRight] = QPoint(width - dx, height - dy);
points[QWSPointerCalibrationData::TopRight] = QPoint(width - dx, dy);
points[QWSPointerCalibrationData::Center] = QPoint(width / 2, height / 2);
//! [1]
//! [2]
pressCount = 0;
}
//! [2]
//! [3]
Calibration::~Calibration()
{
}
//! [3]
//! [4]
int Calibration::exec()
{
QWSServer::mouseHandler()->clearCalibration();
grabMouse();
activateWindow();
int ret = QDialog::exec();
releaseMouse();
return ret;
}
//! [4]
//! [5]
void Calibration::paintEvent(QPaintEvent*)
{
QPainter p(this);
p.fillRect(rect(), Qt::white);
QPoint point = data.screenPoints[pressCount];
// Map to logical coordinates in case the screen is transformed
QSize screenSize(qt_screen->deviceWidth(), qt_screen->deviceHeight());
point = qt_screen->mapFromDevice(point, screenSize);
p.fillRect(point.x() - 6, point.y() - 1, 13, 3, Qt::black);
p.fillRect(point.x() - 1, point.y() - 6, 3, 13, Qt::black);
}
//! [5]
//! [6]
void Calibration::mouseReleaseEvent(QMouseEvent *event)
{
// Map from device coordinates in case the screen is transformed
QSize screenSize(qt_screen->width(), qt_screen->height());
QPoint p = qt_screen->mapToDevice(event->pos(), screenSize);
data.devPoints[pressCount] = p;
if (++pressCount < 5)
repaint();
else
accept();
}
//! [6]
//! [7]
void Calibration::accept()
{
Q_ASSERT(pressCount == 5);
QWSServer::mouseHandler()->calibrate(&data);
QDialog::accept();
}
//! [7]

View File

@ -1,67 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef CALIBRATION_H
#define CALIBRATION_H
#include <QDialog>
#include <QWSPointerCalibrationData>
//! [0]
class Calibration : public QDialog
{
public:
Calibration();
~Calibration();
int exec();
protected:
void paintEvent(QPaintEvent*);
void mouseReleaseEvent(QMouseEvent*);
void accept();
private:
QWSPointerCalibrationData data;
int pressCount;
};
//! [0]
#endif

View File

@ -1,92 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QApplication>
#include <QMessageBox>
#include <QTimer>
#include <QWSServer>
#include "calibration.h"
#include "scribblewidget.h"
//! [0]
int main(int argc, char **argv)
{
QApplication app(argc, argv, QApplication::GuiServer);
if (!QWSServer::mouseHandler())
qFatal("No mouse handler installed");
{
QMessageBox message;
message.setText("<p>Please press once at each of the marks "
"shown in the next screen.</p>"
"<p>This messagebox will timout after 10 seconds "
"if you are unable to close it.</p>");
QTimer::singleShot(10 * 1000, &message, SLOT(accept()));
message.exec();
}
//! [0] //! [1]
Calibration cal;
cal.exec();
//! [1]
//! [2]
{
QMessageBox message;
message.setText("<p>The next screen will let you test the calibration "
"by drawing into a widget.</p><p>This program will "
"automatically close after 20 seconds.<p>");
QTimer::singleShot(10 * 1000, &message, SLOT(accept()));
message.exec();
}
ScribbleWidget scribble;
scribble.showMaximized();
scribble.show();
app.setActiveWindow(&scribble);
QTimer::singleShot(20 * 1000, &app, SLOT(quit()));
return app.exec();
}
//! [2]

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Mouse Calibration
Exec=/opt/usr/bin/mousecalibration
Icon=mousecalibration
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

View File

@ -1,15 +0,0 @@
HEADERS += calibration.h \
scribblewidget.h
SOURCES += calibration.cpp \
scribblewidget.cpp \
main.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qws/mousecalibration
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qws/mousecalibration
INSTALLS += target sources
QT += widgets
simulator: warning(This example does not work on Simulator platform)

View File

@ -1,92 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "scribblewidget.h"
ScribbleWidget::ScribbleWidget(QWidget *parent)
: QWidget(parent)
{
scribbling = false;
}
void ScribbleWidget::resizeEvent(QResizeEvent *e)
{
image = QImage(e->size(), QImage::Format_RGB32);
image.fill(QColor(Qt::white).rgb());
}
void ScribbleWidget::mousePressEvent(QMouseEvent *event)
{
if (event->button() != Qt::LeftButton)
return;
lastPoint = event->pos();
scribbling = true;
}
void ScribbleWidget::mouseMoveEvent(QMouseEvent *event)
{
if ((event->buttons() & Qt::LeftButton) && scribbling)
drawLineTo(event->pos());
}
void ScribbleWidget::mouseReleaseEvent(QMouseEvent *event)
{
if (event->button() == Qt::LeftButton && scribbling) {
drawLineTo(event->pos());
scribbling = false;
}
}
void ScribbleWidget::paintEvent(QPaintEvent *)
{
QPainter painter(this);
painter.drawImage(QPoint(0, 0), image);
}
void ScribbleWidget::drawLineTo(const QPoint &endPoint)
{
QPainter painter(&image);
painter.setPen(QPen(Qt::blue, 1, Qt::SolidLine,
Qt::RoundCap, Qt::RoundJoin));
painter.drawLine(lastPoint, endPoint);
update();
lastPoint = endPoint;
}

View File

@ -1,70 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef SCRIBBLEWIDGET_H
#define SCRIBBLEWIDGET_H
#include <QLabel>
#include <QMouseEvent>
#include <QResizeEvent>
#include <QImage>
#include <QPainter>
class ScribbleWidget : public QWidget
{
public:
ScribbleWidget(QWidget *parent = 0);
void resizeEvent(QResizeEvent *e);
void mousePressEvent(QMouseEvent *event);
void mouseMoveEvent(QMouseEvent *event);
void mouseReleaseEvent(QMouseEvent *event);
void paintEvent(QPaintEvent *);
private:
void drawLineTo(const QPoint &endPoint);
private:
bool scribbling;
QPoint lastPoint;
QImage image;
};
#endif // SCRIBBLEWIDGET_H

View File

@ -1,10 +0,0 @@
TEMPLATE = subdirs
# no /dev/fbX
!qnx:!vxworks:SUBDIRS = framebuffer
SUBDIRS += mousecalibration simpledecoration
# install
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS README *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qws
INSTALLS += sources
QT += widgets

View File

@ -1,110 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtWidgets>
#include "analogclock.h"
AnalogClock::AnalogClock(QWidget *parent)
: QWidget(parent)
{
QTimer *timer = new QTimer(this);
connect(timer, SIGNAL(timeout()), this, SLOT(update()));
timer->start(1000);
setWindowTitle(tr("Analog Clock"));
resize(200, 200);
}
void AnalogClock::paintEvent(QPaintEvent *)
{
static const QPoint hourHand[3] = {
QPoint(7, 8),
QPoint(-7, 8),
QPoint(0, -40)
};
static const QPoint minuteHand[3] = {
QPoint(7, 8),
QPoint(-7, 8),
QPoint(0, -70)
};
QColor hourColor(127, 0, 127);
QColor minuteColor(0, 127, 127, 191);
int side = qMin(width(), height());
QTime time = QTime::currentTime();
QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing);
painter.translate(width() / 2, height() / 2);
painter.scale(side / 200.0, side / 200.0);
painter.setPen(Qt::NoPen);
painter.setBrush(hourColor);
painter.save();
painter.rotate(30.0 * ((time.hour() + time.minute() / 60.0)));
painter.drawConvexPolygon(hourHand, 3);
painter.restore();
painter.setPen(hourColor);
for (int i = 0; i < 12; ++i) {
painter.drawLine(88, 0, 96, 0);
painter.rotate(30.0);
}
painter.setPen(Qt::NoPen);
painter.setBrush(minuteColor);
painter.save();
painter.rotate(6.0 * (time.minute() + time.second() / 60.0));
painter.drawConvexPolygon(minuteHand, 3);
painter.restore();
painter.setPen(minuteColor);
for (int j = 0; j < 60; ++j) {
if ((j % 5) != 0)
painter.drawLine(92, 0, 96, 0);
painter.rotate(6.0);
}
}

View File

@ -1,57 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef ANALOGCLOCK_H
#define ANALOGCLOCK_H
#include <QWidget>
class AnalogClock : public QWidget
{
Q_OBJECT
public:
AnalogClock(QWidget *parent = 0);
protected:
void paintEvent(QPaintEvent *event);
};
#endif

View File

@ -1,59 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QApplication>
#include "analogclock.h"
#include "mydecoration.h"
//! [create application]
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
MyDecoration *decoration = new MyDecoration();
app.qwsSetDecoration(decoration);
//! [create application]
//! [start application]
AnalogClock clock;
clock.show();
return app.exec();
}
//! [start application]

View File

@ -1,374 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include <QtWidgets>
#include "mydecoration.h"
/* XPM */
static const char * const _close_button[] = {
"16 16 3 1",
" c none",
". c #ffafaf",
"x c #000000",
" ",
" xxxxxxxxxxxxxx ",
" x............x ",
" x.x........x.x ",
" x..x......x..x ",
" x...x....x...x ",
" x....x..x....x ",
" x.....xx.....x ",
" x.....xx.....x ",
" x....x..x....x ",
" x...x....x...x ",
" x..x......x..x ",
" x.x........x.x ",
" x............x ",
" xxxxxxxxxxxxxx ",
" "};
static const char * const _normalize_button[] = {
"16 16 4 1",
" c none",
". c #dfdfff",
"o c #7f7f7f",
"x c #000000",
" ",
" xxxxxxxxxxxxxx ",
" xx...........x ",
" x.x..........x ",
" x..x..x......x ",
" x...xxx......x ",
" x...xxx......x ",
" x..xxxx......x ",
" x............x ",
" x.......xxxx.x ",
" x.......x..x.x ",
" x.......x..x.x ",
" x.......xxxx.x ",
" x............x ",
" xxxxxxxxxxxxxx ",
" "};
static const char * const _maximize_button[] = {
"16 16 4 1",
" c none",
". c #dfdfff",
"o c #7f7f7f",
"x c #000000",
" ",
" xxxxxxxxxxxxxx ",
" x............x ",
" x.......xxxx.x ",
" x........xxx.x ",
" x........xxx.x ",
" x.......x..x.x ",
" x......x.....x ",
" x.....x......x ",
" x.oooo.......x ",
" x.o..o.......x ",
" x.o..o.......x ",
" x.oooo.......x ",
" x............x ",
" xxxxxxxxxxxxxx ",
" "};
static const char * const _help_button[] = {
"16 16 3 1",
" c none",
". c #afffdf",
"x c #000000",
" ",
" xxxxxxxxxxxxxx ",
" x............x ",
" x....xxxx....x ",
" x..xx....xx..x ",
" x.xx......xx.x ",
" x.xx......xx.x ",
" x........xx..x ",
" x......xx....x ",
" x.....xx.....x ",
" x.....xx.....x ",
" x............x ",
" x.....xx.....x ",
" x............x ",
" xxxxxxxxxxxxxx ",
" "};
//! [constructor start]
MyDecoration::MyDecoration()
: QDecorationDefault()
{
border = 4;
titleHeight = 24;
buttonWidth = 20;
buttonHeight = 20;
buttonMargin = 2;
buttonHints << Qt::Window
<< Qt::WindowMaximizeButtonHint
<< Qt::WindowContextHelpButtonHint;
//! [constructor start]
//! [map window flags to decoration regions]
buttonHintMap[Qt::Window] = Close;
buttonHintMap[Qt::WindowMaximizeButtonHint] = Maximize;
buttonHintMap[Qt::WindowContextHelpButtonHint] = Help;
//! [map window flags to decoration regions]
//! [map decoration regions to pixmaps]
normalButtonPixmaps[Close] = QPixmap(_close_button);
normalButtonPixmaps[Maximize] = QPixmap(_maximize_button);
normalButtonPixmaps[Normalize] = QPixmap(_normalize_button);
normalButtonPixmaps[Help] = QPixmap(_help_button);
maximizedButtonPixmaps[Close] = QPixmap(_close_button);
maximizedButtonPixmaps[Maximize] = QPixmap(_normalize_button);
maximizedButtonPixmaps[Normalize] = QPixmap(_normalize_button);
maximizedButtonPixmaps[Help] = QPixmap(_help_button);
//! [map decoration regions to pixmaps]
//! [constructor end]
stateRegions << Close << Maximize << Help;
}
//! [constructor end]
//! [region start]
QRegion MyDecoration::region(const QWidget *widget, const QRect &insideRect,
int decorationRegion)
{
//! [region start]
//! [calculate the positions of buttons based on the window flags used]
QHash<DecorationRegion, int> buttons;
Qt::WindowFlags flags = widget->windowFlags();
int dx = -buttonMargin - buttonWidth;
foreach (Qt::WindowType button, buttonHints) {
if (flags & button) {
int x = (buttons.size() + 1) * dx;
buttons[buttonHintMap[button]] = x;
}
}
//! [calculate the positions of buttons based on the window flags used]
//! [calculate the extent of the title]
int titleRightMargin = buttons.size() * dx;
QRect outsideRect(insideRect.left() - border,
insideRect.top() - titleHeight - border,
insideRect.width() + 2 * border,
insideRect.height() + titleHeight + 2 * border);
//! [calculate the extent of the title]
//! [check for all regions]
QRegion region;
if (decorationRegion == All) {
region += QRegion(outsideRect) - QRegion(insideRect);
return region;
}
//! [check for all regions]
//! [compose a region based on the decorations specified]
if (decorationRegion & Title) {
QRect rect = outsideRect.adjusted(border, border, -border, 0);
rect.setHeight(titleHeight);
// Adjust the width to accommodate buttons.
rect.setWidth(qMax(0, rect.width() + titleRightMargin));
region += rect;
}
if (decorationRegion & Top) {
QRect rect = outsideRect.adjusted(border, 0, -border, 0);
rect.setHeight(border);
region += rect;
}
if (decorationRegion & Left) {
QRect rect = outsideRect.adjusted(0, border, 0, -border);
rect.setWidth(border);
region += rect;
}
if (decorationRegion & Right) {
QRect rect = outsideRect.adjusted(0, border, 0, -border);
rect.setLeft(rect.right() + 1 - border);
region += rect;
}
if (decorationRegion & Bottom) {
QRect rect = outsideRect.adjusted(border, 0, -border, 0);
rect.setTop(rect.bottom() + 1 - border);
region += rect;
}
if (decorationRegion & TopLeft) {
QRect rect = outsideRect;
rect.setWidth(border);
rect.setHeight(border);
region += rect;
}
if (decorationRegion & TopRight) {
QRect rect = outsideRect;
rect.setLeft(rect.right() + 1 - border);
rect.setHeight(border);
region += rect;
}
if (decorationRegion & BottomLeft) {
QRect rect = outsideRect;
rect.setWidth(border);
rect.setTop(rect.bottom() + 1 - border);
region += rect;
}
if (decorationRegion & BottomRight) {
QRect rect = outsideRect;
rect.setLeft(rect.right() + 1 - border);
rect.setTop(rect.bottom() + 1 - border);
region += rect;
}
//! [compose a region based on the decorations specified]
//! [add a region for each button only if it is present]
foreach (QDecoration::DecorationRegion testRegion, stateRegions) {
if (decorationRegion & testRegion and buttons.contains(testRegion)) {
// Inside the title rectangle
QRect rect = outsideRect.adjusted(border, border, -border, 0);
rect.setHeight(titleHeight);
dx = buttons[testRegion];
rect.setLeft(rect.right() + 1 + dx);
rect.setWidth(buttonWidth + buttonMargin);
region += rect;
}
}
//! [add a region for each button only if it is present]
//! [region end]
return region;
}
//! [region end]
//! [paint start]
bool MyDecoration::paint(QPainter *painter, const QWidget *widget,
int decorationRegion, DecorationState state)
{
if (decorationRegion == None)
return false;
//! [paint start]
//! [paint different regions]
bool handled = false;
QPalette palette = QApplication::palette();
QHash<DecorationRegion, QPixmap> buttonPixmaps;
if (widget->windowState() == Qt::WindowMaximized)
buttonPixmaps = maximizedButtonPixmaps;
else
buttonPixmaps = normalButtonPixmaps;
if (decorationRegion & Title) {
QRect rect = QDecoration::region(widget, Title).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Base));
painter->save();
painter->setPen(QPen(palette.color(QPalette::Text)));
painter->drawText(rect, Qt::AlignCenter, widget->windowTitle());
painter->restore();
handled = true;
}
if (decorationRegion & Top) {
QRect rect = QDecoration::region(widget, Top).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
if (decorationRegion & Left) {
QRect rect = QDecoration::region(widget, Left).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
if (decorationRegion & Right) {
QRect rect = QDecoration::region(widget, Right).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
if (decorationRegion & Bottom) {
QRect rect = QDecoration::region(widget, Bottom).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
if (decorationRegion & TopLeft) {
QRect rect = QDecoration::region(widget, TopLeft).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
if (decorationRegion & TopRight) {
QRect rect = QDecoration::region(widget, TopRight).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
if (decorationRegion & BottomLeft) {
QRect rect = QDecoration::region(widget, BottomLeft).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
if (decorationRegion & BottomRight) {
QRect rect = QDecoration::region(widget, BottomRight).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Dark));
handled = true;
}
//! [paint different regions]
//! [paint buttons]
int margin = (titleHeight - 16) / 2;
Qt::WindowFlags flags = widget->windowFlags();
foreach (DecorationRegion testRegion, stateRegions) {
if (decorationRegion & testRegion && flags & buttonHintMap.key(testRegion)) {
QRect rect = QDecoration::region(
widget, testRegion).boundingRect();
painter->fillRect(rect, palette.brush(QPalette::Base));
QRect buttonRect = rect.adjusted(0, margin, -buttonMargin - margin,
-buttonMargin);
painter->drawPixmap(buttonRect.topLeft(), buttonPixmaps[testRegion]);
handled = true;
}
}
//! [paint buttons]
//! [paint end]
return handled;
}
//! [paint end]

View File

@ -1,72 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef MYDECORATION_H
#define MYDECORATION_H
#include <QDecorationDefault>
#include <QHash>
#include <QPixmap>
#include <QRegion>
#include <Qt>
//! [decoration class definition]
class MyDecoration : public QDecorationDefault
{
public:
MyDecoration();
QRegion region(const QWidget *widget, const QRect &insideRect, int decorationRegion);
bool paint(QPainter *painter, const QWidget *widget, int decorationRegion, DecorationState state);
private:
int border;
int buttonHeight;
int buttonMargin;
int buttonWidth;
int titleHeight;
QHash<Qt::WindowType, DecorationRegion> buttonHintMap;
QHash<DecorationRegion, QPixmap> normalButtonPixmaps;
QHash<DecorationRegion, QPixmap> maximizedButtonPixmaps;
QVector<Qt::WindowType> buttonHints;
QVector<DecorationRegion> stateRegions;
};
//! [decoration class definition]
#endif

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Simple Decoration
Exec=/opt/usr/bin/simpledecoration
Icon=simpledecoration
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

View File

@ -1,16 +0,0 @@
TEMPLATE = app
HEADERS = analogclock.h \
mydecoration.h
SOURCES = analogclock.cpp \
main.cpp \
mydecoration.cpp
# install
target.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qws/simpledecoration
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS *.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/qtbase/qws/simpledecoration
INSTALLS += target sources
QT += widgets
simulator: warning(This example does not work on Simulator platform)

View File

@ -1,9 +0,0 @@
This is the SVGA screen driver plugin example for QWS.
You may need to set the SVGALIB_DEFAULT_MODE environment
variable. These values have been confirmed to work on one specific
machine using svgalib 1.4.3: 18, 24, 34, 35, 36
There is a bug in the example causing missing updates in 8-bit mode
(e.g. modes 10 and 12). Fixing this bug is left as an exercise for the
reader.

View File

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Name=Accelerated Graphics Driver
Exec=/opt/usr/bin/svgalib
Icon=svgalib
X-Window-Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable

View File

@ -1,22 +0,0 @@
TEMPLATE = lib
CONFIG += plugin
LIBS += -lvgagl -lvga
TARGET = svgalibscreen
target.path = $$[QT_INSTALL_PLUGINS]/gfxdrivers
INSTALLS += target
HEADERS = svgalibscreen.h \
svgalibpaintengine.h \
svgalibsurface.h \
svgalibpaintdevice.h
SOURCES = svgalibscreen.cpp \
svgalibpaintengine.cpp \
svgalibsurface.cpp \
svgalibpaintdevice.cpp \
svgalibplugin.cpp
QT += widgets
simulator: warning(This example does not work on Simulator platform)

View File

@ -1,66 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "svgalibpaintdevice.h"
#include "svgalibpaintengine.h"
#include <QApplication>
#include <QDesktopWidget>
SvgalibPaintDevice::SvgalibPaintDevice(QWidget *w)
: QCustomRasterPaintDevice(w)
{
pengine = new SvgalibPaintEngine(this);
}
SvgalibPaintDevice::~SvgalibPaintDevice()
{
delete pengine;
}
int SvgalibPaintDevice::metric(PaintDeviceMetric m) const
{
if (m == PdmWidth)
return QApplication::desktop()->screenGeometry().width();
else if (m == PdmHeight)
return QApplication::desktop()->screenGeometry().height();
return QCustomRasterPaintDevice::metric(m);
}

View File

@ -1,65 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef SVGALIBPAINTDEVICE_H
#define SVGALIBPAINTDEVICE_H
#include "svgalibpaintengine.h"
#include <private/qpaintengine_raster_p.h>
#include <qscreen_qws.h>
//! [0]
class SvgalibPaintDevice : public QCustomRasterPaintDevice
{
public:
SvgalibPaintDevice(QWidget *w);
~SvgalibPaintDevice();
void* memory() const { return QScreen::instance()->base(); }
QPaintEngine *paintEngine() const { return pengine; }
int metric(PaintDeviceMetric m) const;
private:
SvgalibPaintEngine *pengine;
};
//! [0]
#endif // SVGALIBPAINTDEVICE_H

View File

@ -1,190 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "svgalibpaintengine.h"
#include <QColor>
#include <vga.h>
#include <vgagl.h>
SvgalibPaintEngine::SvgalibPaintEngine(QPaintDevice *device)
: QRasterPaintEngine(device)
{
}
SvgalibPaintEngine::~SvgalibPaintEngine()
{
}
//! [0]
bool SvgalibPaintEngine::begin(QPaintDevice *dev)
{
device = dev;
pen = Qt::NoPen;
simplePen = true;
brush = Qt::NoBrush;
simpleBrush = true;
matrix = QTransform();
simpleMatrix = true;
setClip(QRect(0, 0, device->width(), device->height()));
opaque = true;
aliased = true;
sourceOver = true;
return QRasterPaintEngine::begin(dev);
}
//! [0]
//! [1]
bool SvgalibPaintEngine::end()
{
gl_setclippingwindow(0, 0, device->width() - 1, device->height() - 1);
return QRasterPaintEngine::end();
}
//! [1]
//! [2]
void SvgalibPaintEngine::updateState()
{
QRasterPaintEngineState *s = state();
if (s->dirty & DirtyTransform) {
matrix = s->matrix;
simpleMatrix = (matrix.m12() == 0 && matrix.m21() == 0);
}
if (s->dirty & DirtyPen) {
pen = s->pen;
simplePen = (pen.width() == 0 || pen.widthF() <= 1)
&& (pen.style() == Qt::NoPen || pen.style() == Qt::SolidLine)
&& (pen.color().alpha() == 255);
}
if (s->dirty & DirtyBrush) {
brush = s->brush;
simpleBrush = (brush.style() == Qt::SolidPattern
|| brush.style() == Qt::NoBrush)
&& (brush.color().alpha() == 255);
}
if (s->dirty & DirtyClipRegion)
setClip(s->clipRegion);
if (s->dirty & DirtyClipEnabled) {
clipEnabled = s->isClipEnabled();
updateClip();
}
if (s->dirty & DirtyClipPath) {
setClip(QRegion());
simpleClip = false;
}
if (s->dirty & DirtyCompositionMode) {
const QPainter::CompositionMode m = s->composition_mode;
sourceOver = (m == QPainter::CompositionMode_SourceOver);
}
if (s->dirty & DirtyOpacity)
opaque = (s->opacity == 256);
if (s->dirty & DirtyHints)
aliased = !(s->flags.antialiased);
}
//! [2]
//! [3]
void SvgalibPaintEngine::setClip(const QRegion &region)
{
if (region.isEmpty())
clip = QRect(0, 0, device->width(), device->height());
else
clip = matrix.map(region) & QRect(0, 0, device->width(), device->height());
clipEnabled = true;
updateClip();
}
//! [3]
//! [4]
void SvgalibPaintEngine::updateClip()
{
QRegion clipRegion = QRect(0, 0, device->width(), device->height());
if (!systemClip().isEmpty())
clipRegion &= systemClip();
if (clipEnabled)
clipRegion &= clip;
simpleClip = (clipRegion.rects().size() <= 1);
const QRect r = clipRegion.boundingRect();
gl_setclippingwindow(r.left(), r.top(),
r.x() + r.width(),
r.y() + r.height());
}
//! [4]
//! [5]
void SvgalibPaintEngine::drawRects(const QRect *rects, int rectCount)
{
const bool canAccelerate = simplePen && simpleBrush && simpleMatrix
&& simpleClip && opaque && aliased
&& sourceOver;
if (!canAccelerate) {
QRasterPaintEngine::drawRects(rects, rectCount);
return;
}
for (int i = 0; i < rectCount; ++i) {
const QRect r = matrix.mapRect(rects[i]);
if (brush != Qt::NoBrush) {
gl_fillbox(r.left(), r.top(), r.width(), r.height(),
brush.color().rgba());
}
if (pen != Qt::NoPen) {
const int c = pen.color().rgba();
gl_hline(r.left(), r.top(), r.right(), c);
gl_hline(r.left(), r.bottom(), r.right(), c);
gl_line(r.left(), r.top(), r.left(), r.bottom(), c);
gl_line(r.right(), r.top(), r.right(), r.bottom(), c);
}
}
}
//! [5]

View File

@ -1,78 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef SVGALIBPAINTENGINE_H
#define SVGALIBPAINTENGINE_H
//! [0]
#include <private/qpaintengine_raster_p.h>
class SvgalibPaintEngine : public QRasterPaintEngine
{
public:
SvgalibPaintEngine(QPaintDevice *device);
~SvgalibPaintEngine();
bool begin(QPaintDevice *device);
bool end();
void updateState();
void drawRects(const QRect *rects, int rectCount);
private:
void setClip(const QRegion &region);
void updateClip();
QPen pen;
bool simplePen;
QBrush brush;
bool simpleBrush;
QTransform matrix;
bool simpleMatrix;
QRegion clip;
bool clipEnabled;
bool simpleClip;
bool opaque;
bool aliased;
bool sourceOver;
QPaintDevice *device;
};
//! [0]
#endif // SVGALIBPAINTENGINE_H

View File

@ -1,74 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "svgalibscreen.h"
#include <QScreenDriverPlugin>
#include <QStringList>
class SvgalibPlugin : public QScreenDriverPlugin
{
public:
SvgalibPlugin();
QStringList keys() const;
QScreen *create(const QString&, int displayId);
};
SvgalibPlugin::SvgalibPlugin()
: QScreenDriverPlugin()
{
}
QStringList SvgalibPlugin::keys() const
{
return (QStringList() << "svgalib");
}
QScreen* SvgalibPlugin::create(const QString& driver, int displayId)
{
if (driver.toLower() != "svgalib")
return 0;
return new SvgalibScreen(displayId);
}
Q_EXPORT_STATIC_PLUGIN(Svgalib)
Q_EXPORT_PLUGIN2(svgalibscreendriver, SvgalibPlugin)

View File

@ -1,353 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "svgalibscreen.h"
#include "svgalibsurface.h"
#include <QVector>
#include <QApplication>
#include <QColor>
#include <QWidget>
#include <math.h>
static int getModeDepth(vga_modeinfo *mode)
{
const int bits = int(log2(mode->colors));
if (bits == 24 && mode->bytesperpixel == 4)
return 32;
return bits;
}
//! [0]
bool SvgalibScreen::connect(const QString &displaySpec)
{
int mode = vga_getdefaultmode();
if (mode <= 0) {
qCritical("SvgalibScreen::connect(): invalid vga mode");
return false;
}
vga_modeinfo *modeinfo = vga_getmodeinfo(mode);
QScreen::lstep = modeinfo->linewidth;
QScreen::dw = QScreen::w = modeinfo->width;
QScreen::dh = QScreen::h = modeinfo->height;
QScreen::d = getModeDepth(modeinfo);
QScreen::size = QScreen::lstep * dh;
QScreen::data = 0;
switch (depth()) {
case 32:
setPixelFormat(QImage::Format_ARGB32_Premultiplied);
break;
case 24:
setPixelFormat(QImage::Format_RGB888);
break;
case 16:
setPixelFormat(QImage::Format_RGB16);
break;
case 15:
setPixelFormat(QImage::Format_RGB555);
break;
default:
break;
}
const int dpi = 72;
QScreen::physWidth = qRound(QScreen::dw * 25.4 / dpi);
QScreen::physHeight = qRound(QScreen::dh * 25.4 / dpi);
const QStringList args = displaySpec.split(QLatin1Char(':'),
QString::SkipEmptyParts);
grayscale = args.contains(QLatin1String("grayscale"), Qt::CaseInsensitive);
return true;
}
//! [0]
void SvgalibScreen::initColorMap()
{
const int numColors = vga_getcolors();
if (numColors == 2 || numColors > 256) {
screencols = 0;
return; // not a palette based mode
}
if (numColors == 16) {
if (grayscale) {
for (int i = 0; i < 256; ++i) {
const int c = i * 16 / 256;
vga_setpalette(i, c, c, c);
}
screencols = 256; // XXX: takes advantage of optimization in alloc()
} else { // read in EGA palette
int r, g, b;
for (int i = 0; i < 16; ++i) {
vga_getpalette(i, &r, &g, &b);
screenclut[i] = qRgb(r, g, b);
}
screencols = 16;
}
return;
}
Q_ASSERT(numColors == 256);
if (grayscale) {
for (int i = 0; i < 256; ++i) {
const int c = i * 64 / 256;
vga_setpalette(i, c, c, c);
}
} else {
int i = 0;
#if 0
// read in EGA palette
while (i < 16) {
int r, g, b;
vga_getpalette(i, &r, &g, &b);
screenclut[i] = qRgb(r, g, b);
++i;
}
screencols = 16;
#endif
// 6 * 6 * 6 color cube
for (int r = 0; r < 6; ++r) {
for (int g = 0; g < 6; ++g) {
for (int b = 0; b < 6; ++b) {
vga_setpalette(i, r * 64/6, g * 64/6, b * 64/6);
screenclut[i] = qRgb(r * 256/6, g * 256/6, b * 256/6);
++i;
}
}
}
screencols = i;
while (i < 256) {
screenclut[i] = qRgb(0, 0, 0);
++i;
}
}
}
//! [1]
bool SvgalibScreen::initDevice()
{
if (vga_init() != 0) {
qCritical("SvgalibScreen::initDevice(): unable to initialize svgalib");
return false;
}
int mode = vga_getdefaultmode();
if (vga_setmode(mode) == -1) {
qCritical("SvgalibScreen::initialize(): unable to set graphics mode");
return false;
}
if (gl_setcontextvga(mode) != 0) {
qCritical("SvgalibScreen::initDevice(): unable to set vga context");
return false;
}
context = gl_allocatecontext();
gl_getcontext(context);
vga_modeinfo *modeinfo = vga_getmodeinfo(mode);
if (modeinfo->flags & IS_LINEAR)
QScreen::data = vga_getgraphmem();
initColorMap();
QScreenCursor::initSoftwareCursor();
return true;
}
//! [1]
//! [2]
void SvgalibScreen::shutdownDevice()
{
gl_freecontext(context);
vga_setmode(TEXT);
}
//! [2]
//! [3]
void SvgalibScreen::disconnect()
{
}
//! [3]
//! [4]
void SvgalibScreen::solidFill(const QColor &color, const QRegion &reg)
{
int c;
if (depth() == 4 || depth() == 8)
c = alloc(color.red(), color.green(), color.blue());
else
c = gl_rgbcolor(color.red(), color.green(), color.blue());
const QVector<QRect> rects = (reg & region()).rects();
for (int i = 0; i < rects.size(); ++i) {
const QRect r = rects.at(i);
gl_fillbox(r.left(), r.top(), r.width(), r.height(), c);
}
}
//! [4]
void SvgalibScreen::blit16To8(const QImage &image,
const QPoint &topLeft, const QRegion &region)
{
const int imageStride = image.bytesPerLine() / 2;
const QVector<QRect> rects = region.rects();
for (int i = 0; i < rects.size(); ++i) {
const QRect r = rects.at(i).translated(-topLeft);
int y = r.y();
const quint16 *s = reinterpret_cast<const quint16*>(image.scanLine(y));
while (y <= r.bottom()) {
int x1 = r.x();
while (x1 <= r.right()) {
const quint16 c = s[x1];
int x2 = x1;
// find span length
while ((x2+1 < r.right()) && (s[x2+1] == c))
++x2;
gl_hline(x1 + topLeft.x(), y + topLeft.y(), x2 + topLeft.x(),
qt_colorConvert<quint8, quint16>(c, 0));
x1 = x2 + 1;
}
s += imageStride;
++y;
}
}
}
void SvgalibScreen::blit32To8(const QImage &image,
const QPoint &topLeft, const QRegion &region)
{
const int imageStride = image.bytesPerLine() / 4;
const QVector<QRect> rects = region.rects();
for (int i = 0; i < rects.size(); ++i) {
const QRect r = rects.at(i).translated(-topLeft);
int y = r.y();
const quint32 *s = reinterpret_cast<const quint32*>(image.scanLine(y));
while (y <= r.bottom()) {
int x1 = r.x();
while (x1 <= r.right()) {
const quint32 c = s[x1];
int x2 = x1;
// find span length
while ((x2+1 < r.right()) && (s[x2+1] == c))
++x2;
gl_hline(x1 + topLeft.x(), y + topLeft.y(), x2 + topLeft.x(),
qt_colorConvert<quint8, quint32>(c, 0));
x1 = x2 + 1;
}
s += imageStride;
++y;
}
}
}
//! [5]
void SvgalibScreen::blit(const QImage &img, const QPoint &topLeft,
const QRegion &reg)
{
if (depth() == 8) {
switch (img.format()) {
case QImage::Format_RGB16:
blit16To8(img, topLeft, reg);
return;
case QImage::Format_RGB32:
case QImage::Format_ARGB32:
case QImage::Format_ARGB32_Premultiplied:
blit32To8(img, topLeft, reg);
return;
default:
break;
}
}
if (img.format() != pixelFormat()) {
if (base())
QScreen::blit(img, topLeft, reg);
return;
}
const QVector<QRect> rects = (reg & region()).rects();
for (int i = 0; i < rects.size(); ++i) {
const QRect r = rects.at(i);
gl_putboxpart(r.x(), r.y(), r.width(), r.height(),
img.width(), img.height(),
static_cast<void*>(const_cast<uchar*>(img.bits())),
r.x() - topLeft.x(), r.y() - topLeft.y());
}
}
//! [5]
//! [7]
QWSWindowSurface* SvgalibScreen::createSurface(QWidget *widget) const
{
if (base()) {
static int onScreenPaint = -1;
if (onScreenPaint == -1)
onScreenPaint = qgetenv("QT_ONSCREEN_PAINT").toInt();
if (onScreenPaint > 0 || widget->testAttribute(Qt::WA_PaintOnScreen))
return new SvgalibSurface(widget);
}
return QScreen::createSurface(widget);
}
//! [7]
//! [8]
QWSWindowSurface* SvgalibScreen::createSurface(const QString &key) const
{
if (key == QLatin1String("svgalib"))
return new SvgalibSurface;
return QScreen::createSurface(key);
}
//! [8]

View File

@ -1,83 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef SVGALIBSCREEN_H
#define SVGALIBSCREEN_H
#include <QScreen>
#include <vga.h>
#include <vgagl.h>
//! [0]
class SvgalibScreen : public QScreen
{
public:
SvgalibScreen(int displayId) : QScreen(displayId) {}
~SvgalibScreen() {}
bool connect(const QString &displaySpec);
bool initDevice();
void shutdownDevice();
void disconnect();
void setMode(int, int, int) {}
void blank(bool) {}
void blit(const QImage &img, const QPoint &topLeft, const QRegion &region);
void solidFill(const QColor &color, const QRegion &region);
//! [0]
QWSWindowSurface* createSurface(QWidget *widget) const;
QWSWindowSurface* createSurface(const QString &key) const;
//! [1]
private:
void initColorMap();
void blit16To8(const QImage &image,
const QPoint &topLeft, const QRegion &region);
void blit32To8(const QImage &image,
const QPoint &topLeft, const QRegion &region);
GraphicsContext *context;
};
//! [1]
#endif // SVGALIBSCREEN_H

View File

@ -1,86 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#include "svgalibsurface.h"
#include "svgalibpaintdevice.h"
#include <vgagl.h>
SvgalibSurface::SvgalibSurface() : QWSWindowSurface(), pdevice(0)
{
setSurfaceFlags(Opaque);
}
SvgalibSurface::SvgalibSurface(QWidget *w)
: QWSWindowSurface(w)
{
setSurfaceFlags(Opaque);
pdevice = new SvgalibPaintDevice(w);
}
SvgalibSurface::~SvgalibSurface()
{
delete pdevice;
}
void SvgalibSurface::setGeometry(const QRect &rect)
{
QWSWindowSurface::setGeometry(rect);
}
QPoint SvgalibSurface::painterOffset() const
{
return geometry().topLeft() + QWSWindowSurface::painterOffset();
}
//! [0]
bool SvgalibSurface::scroll(const QRegion &region, int dx, int dy)
{
const QVector<QRect> rects = region.rects();
for (int i = 0; i < rects.size(); ++i) {
const QRect r = rects.at(i);
gl_copybox(r.left(), r.top(), r.width(), r.height(),
r.left() + dx, r.top() + dy);
}
return true;
}
//! [0]

View File

@ -1,75 +0,0 @@
/****************************************************************************
**
** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/
**
** This file is part of the examples of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:BSD$
** You may use this file under the terms of the BSD license as follows:
**
** "Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the following conditions are
** met:
** * Redistributions of source code must retain the above copyright
** notice, this list of conditions and the following disclaimer.
** * Redistributions in binary form must reproduce the above copyright
** notice, this list of conditions and the following disclaimer in
** the documentation and/or other materials provided with the
** distribution.
** * Neither the name of Nokia Corporation and its Subsidiary(-ies) nor
** the names of its contributors may be used to endorse or promote
** products derived from this software without specific prior written
** permission.
**
** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
**
** $QT_END_LICENSE$
**
****************************************************************************/
#ifndef SVGALIBSURFACE_H
#define SVGALIBSURFACE_H
#include "svgalibpaintengine.h"
#include "svgalibpaintdevice.h"
#include <private/qwindowsurface_qws_p.h>
class SvgalibPaintDevice;
//! [0]
class SvgalibSurface : public QWSWindowSurface
{
public:
SvgalibSurface();
SvgalibSurface(QWidget *w);
~SvgalibSurface();
void setGeometry(const QRect &rect);
bool isValid() const { return true; }
bool scroll(const QRegion &region, int dx, int dy);
QString key() const { return QLatin1String("svgalib"); }
bool attach(const QByteArray &) { return true; }
void detach() {}
QImage image() const { return QImage(); }
QPaintDevice *paintDevice() { return pdevice; }
QPoint painterOffset() const;
private:
SvgalibPaintDevice *pdevice;
};
//! [0]
#endif // SVGALIBSURFACE_H

View File

@ -86,7 +86,7 @@ for(QT_CURRENT_VERIFY, $$list($$QT_PLUGIN_VERIFY)) {
BEARERPLUGINS = qgenericbearer qnativewifibearer
CODECPLUGINS = qcncodecs qjpcodecs qkrcodecs qtwcodecs
DECORATIONPLUGINS = qdecorationdefault qdecorationstyled qdecorationwindows
GFXDRIVERPLUGINS = qgfxvnc qscreenvfb qgfxtransformed qgfxshadowfb qgfxpvregl qscreenlinuxfb qeglnullws qdirectfbscreen qahiscreen
GFXDRIVERPLUGINS = qscreenvfb qgfxtransformed qgfxshadowfb qgfxpvregl qscreenlinuxfb qeglnullws qdirectfbscreen qahiscreen
GRAPHICSSYSTEMPLUGINS = qmeegographicssystem qglgraphicssystem qvggraphicssystem qshivavggraphicssystem
IMAGEPLUGINS = qgif qico qjpeg qsvg
INPUTPLUGINS = qimsw-multi

View File

@ -14,6 +14,14 @@ include(../common/gcc-base-unix.conf)
include(../common/g++-unix.conf)
load(qt_config)
QMAKE_LIBS_THREAD += -lrt
QMAKE_LSB = 1
QMAKE_CC = lsbcc
QMAKE_CXX = lsbc++
QMAKE_LINK_C = $$QMAKE_CC
QMAKE_LINK_C_SHLIB = $$QMAKE_CC
QMAKE_LINK = $$QMAKE_CXX
QMAKE_LINK_SHLIB = $$QMAKE_CXX

View File

@ -219,8 +219,12 @@ struct HB_PairSet_
{
HB_UShort PairValueCount;
/* number of PairValueRecord tables */
#ifndef HB_USE_FLEXIBLE_VALUE_RECORD
HB_PairValueRecord* PairValueRecord;
/* array of PairValueRecord tables */
#else
HB_Short* ValueRecords;
#endif
};
typedef struct HB_PairSet_ HB_PairSet;

View File

@ -185,6 +185,18 @@ HB_Error HB_Done_GPOS_Table( HB_GPOSHeader* gpos )
return HB_Err_Ok;
}
static HB_UInt Calculate_Class2RecordSize(HB_UShort format1, HB_UShort format2)
{
// Return number of 16 bit values in two value records with given formats
return (format1 & 0x01) + (format2 & 0x01)
+ ((format1 & 0x02) >> 1) + ((format2 & 0x02) >> 1)
+ ((format1 & 0x04) >> 2) + ((format2 & 0x04) >> 2)
+ ((format1 & 0x08) >> 3) + ((format2 & 0x08) >> 3)
+ ((format1 & 0x10) >> 4) + ((format2 & 0x10) >> 4)
+ ((format1 & 0x20) >> 5) + ((format2 & 0x20) >> 5)
+ ((format1 & 0x40) >> 6) + ((format2 & 0x40) >> 6)
+ ((format1 & 0x80) >> 7) + ((format2 & 0x80) >> 7);
}
/*****************************
* SubTable related functions
@ -1096,7 +1108,6 @@ static HB_Error Lookup_SinglePos( GPOS_Instance* gpi,
return HB_Err_Ok;
}
/* LookupType 2 */
/* PairSet */
@ -1111,8 +1122,12 @@ static HB_Error Load_PairSet ( HB_PairSet* ps,
HB_UShort n, m, count;
HB_UInt base_offset;
#ifdef HB_USE_FLEXIBLE_VALUE_RECORD
HB_UInt record_size = 0;
HB_Short *vr;
#else
HB_PairValueRecord* pvr;
#endif
base_offset = FILE_Pos();
@ -1123,6 +1138,7 @@ static HB_Error Load_PairSet ( HB_PairSet* ps,
FORGET_Frame();
#ifndef HB_USE_FLEXIBLE_VALUE_RECORD
ps->PairValueRecord = NULL;
if ( ALLOC_ARRAY( ps->PairValueRecord, count, HB_PairValueRecord ) )
@ -1142,26 +1158,50 @@ static HB_Error Load_PairSet ( HB_PairSet* ps,
if ( format1 )
{
error = Load_ValueRecord( &pvr[n].Value1, format1,
base_offset, stream );
base_offset, stream );
if ( error )
goto Fail;
goto Fail;
}
if ( format2 )
{
error = Load_ValueRecord( &pvr[n].Value2, format2,
base_offset, stream );
base_offset, stream );
if ( error )
{
if ( format1 )
Free_ValueRecord( &pvr[n].Value1, format1 );
goto Fail;
if ( format1 )
Free_ValueRecord( &pvr[n].Value1, format1 );
goto Fail;
}
}
}
#else
ps->ValueRecords = 0;
// Add one for the SecondGlyph part of each record
record_size = Calculate_Class2RecordSize( format1, format2 ) + 1;
if ( ALLOC_ARRAY( ps->ValueRecords, record_size * count, HB_Short ) )
return error;
vr = ps->ValueRecords;
for ( n = 0; n < count; n++ )
{
if ( ACCESS_Frame( 2L ) )
goto Fail;
for ( m = 0; m < record_size; m++ )
*(vr++) = GET_Short();
FORGET_Frame();
}
#endif
return HB_Err_Ok;
Fail:
#ifndef HB_USE_FLEXIBLE_VALUE_RECORD
for ( m = 0; m < n; m++ )
{
if ( format1 )
@ -1171,19 +1211,23 @@ Fail:
}
FREE( pvr );
#else
FREE ( ps->ValueRecords );
#endif
return error;
}
static void Free_PairSet( HB_PairSet* ps,
HB_UShort format1,
HB_UShort format2 )
HB_UShort format2)
{
#ifndef HB_USE_FLEXIBLE_VALUE_RECORD
HB_UShort n, count;
HB_PairValueRecord* pvr;
if ( ps->PairValueRecord )
{
count = ps->PairValueCount;
@ -1199,6 +1243,12 @@ static void Free_PairSet( HB_PairSet* ps,
FREE( pvr );
}
#else
if ( ps->ValueRecords )
{
FREE( ps->ValueRecords );
}
#endif
}
@ -1282,19 +1332,6 @@ static void Free_PairPos1( HB_PairPosFormat1* ppf1,
}
}
static HB_UInt Calculate_Class2RecordSize(HB_UShort format1, HB_UShort format2)
{
// Return number of 16 bit values in two value records with given formats
return (format1 & 0x01) + (format2 & 0x01)
+ ((format1 & 0x02) >> 1) + ((format2 & 0x02) >> 1)
+ ((format1 & 0x04) >> 2) + ((format2 & 0x04) >> 2)
+ ((format1 & 0x08) >> 3) + ((format2 & 0x08) >> 3)
+ ((format1 & 0x10) >> 4) + ((format2 & 0x10) >> 4)
+ ((format1 & 0x20) >> 5) + ((format2 & 0x20) >> 5)
+ ((format1 & 0x40) >> 6) + ((format2 & 0x40) >> 6)
+ ((format1 & 0x80) >> 7) + ((format2 & 0x80) >> 7);
}
/* PairPosFormat2 */
@ -1577,7 +1614,6 @@ static void Free_PairPos( HB_GPOS_SubTable* st )
_HB_OPEN_Free_Coverage( &pp->Coverage );
}
static HB_Error Lookup_PairPos1( GPOS_Instance* gpi,
HB_PairPosFormat1* ppf1,
HB_Buffer buffer,
@ -1589,8 +1625,13 @@ static HB_Error Lookup_PairPos1( GPOS_Instance* gpi,
HB_Error error;
HB_UShort numpvr, glyph2;
#ifndef HB_USE_FLEXIBLE_VALUE_RECORD
HB_PairValueRecord* pvr;
#else
HB_Short *vr;
HB_UShort second_glyph;
HB_UInt record_size1, record_size2;
#endif
if ( index >= ppf1->PairSetCount )
return ERR(HB_Err_Invalid_SubTable);
@ -1598,12 +1639,13 @@ static HB_Error Lookup_PairPos1( GPOS_Instance* gpi,
if (!ppf1->PairSet[index].PairValueCount)
return HB_Err_Not_Covered;
glyph2 = IN_CURGLYPH();
#ifndef HB_USE_FLEXIBLE_VALUE_RECORD
pvr = ppf1->PairSet[index].PairValueRecord;
if ( !pvr )
return ERR(HB_Err_Invalid_SubTable);
glyph2 = IN_CURGLYPH();
for ( numpvr = ppf1->PairSet[index].PairValueCount;
numpvr;
numpvr--, pvr++ )
@ -1613,11 +1655,38 @@ static HB_Error Lookup_PairPos1( GPOS_Instance* gpi,
error = Get_ValueRecord( gpi, &pvr->Value1, format1,
POSITION( first_pos ) );
if ( error )
return error;
return error;
return Get_ValueRecord( gpi, &pvr->Value2, format2,
POSITION( buffer->in_pos ) );
}
}
#else
vr = ppf1->PairSet[index].ValueRecords;
if ( !vr )
return ERR(HB_Err_Invalid_SubTable);
record_size1 = Calculate_Class2RecordSize( format1, 0 );
record_size2 = Calculate_Class2RecordSize( format2, 0 );
for ( numpvr = ppf1->PairSet[index].PairValueCount; numpvr; numpvr-- )
{
second_glyph = *((HB_UShort *)vr);
vr++;
if ( glyph2 == second_glyph )
{
error = Get_FlexibleValueRecord( gpi, vr, format1, POSITION( first_pos ) );
if ( error )
return error;
vr += record_size1;
return Get_FlexibleValueRecord( gpi, vr, format2, POSITION( buffer->in_pos ) );
}
else
{
vr += record_size1 + record_size2;
}
}
#endif
return HB_Err_Not_Covered;
}

View File

@ -0,0 +1,585 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:56 2012
*/
/* Compiler settings for Accessible2.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __Accessible2_h__
#define __Accessible2_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessible2_FWD_DEFINED__
#define __IAccessible2_FWD_DEFINED__
typedef interface IAccessible2 IAccessible2;
#endif /* __IAccessible2_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "AccessibleRelation.h"
#include "AccessibleStates.h"
#include "IA2CommonTypes.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_Accessible2_0000_0000 */
/* [local] */
typedef struct IA2Locale
{
BSTR language;
BSTR country;
BSTR variant;
} IA2Locale;
extern RPC_IF_HANDLE __MIDL_itf_Accessible2_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_Accessible2_0000_0000_v0_0_s_ifspec;
#ifndef __IAccessible2_INTERFACE_DEFINED__
#define __IAccessible2_INTERFACE_DEFINED__
/* interface IAccessible2 */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessible2;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("E89F726E-C4F4-4c19-BB19-B647D7FA8478")
IAccessible2 : public IAccessible
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nRelations(
/* [retval][out] */ long *nRelations) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_relation(
/* [in] */ long relationIndex,
/* [retval][out] */ IAccessibleRelation **relation) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_relations(
/* [in] */ long maxRelations,
/* [length_is][size_is][out] */ IAccessibleRelation **relations,
/* [retval][out] */ long *nRelations) = 0;
virtual HRESULT STDMETHODCALLTYPE role(
/* [retval][out] */ long *role) = 0;
virtual HRESULT STDMETHODCALLTYPE scrollTo(
/* [in] */ enum IA2ScrollType scrollType) = 0;
virtual HRESULT STDMETHODCALLTYPE scrollToPoint(
/* [in] */ enum IA2CoordinateType coordinateType,
/* [in] */ long x,
/* [in] */ long y) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_groupPosition(
/* [out] */ long *groupLevel,
/* [out] */ long *similarItemsInGroup,
/* [retval][out] */ long *positionInGroup) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_states(
/* [retval][out] */ AccessibleStates *states) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_extendedRole(
/* [retval][out] */ BSTR *extendedRole) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_localizedExtendedRole(
/* [retval][out] */ BSTR *localizedExtendedRole) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nExtendedStates(
/* [retval][out] */ long *nExtendedStates) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_extendedStates(
/* [in] */ long maxExtendedStates,
/* [length_is][length_is][size_is][size_is][out] */ BSTR **extendedStates,
/* [retval][out] */ long *nExtendedStates) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_localizedExtendedStates(
/* [in] */ long maxLocalizedExtendedStates,
/* [length_is][length_is][size_is][size_is][out] */ BSTR **localizedExtendedStates,
/* [retval][out] */ long *nLocalizedExtendedStates) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_uniqueID(
/* [retval][out] */ long *uniqueID) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_windowHandle(
/* [retval][out] */ HWND *windowHandle) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_indexInParent(
/* [retval][out] */ long *indexInParent) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_locale(
/* [retval][out] */ IA2Locale *locale) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_attributes(
/* [retval][out] */ BSTR *attributes) = 0;
};
#else /* C style interface */
typedef struct IAccessible2Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessible2 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessible2 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessible2 * This);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
IAccessible2 * This,
/* [out] */ UINT *pctinfo);
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
IAccessible2 * This,
/* [in] */ UINT iTInfo,
/* [in] */ LCID lcid,
/* [out] */ ITypeInfo **ppTInfo);
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
IAccessible2 * This,
/* [in] */ REFIID riid,
/* [size_is][in] */ LPOLESTR *rgszNames,
/* [range][in] */ UINT cNames,
/* [in] */ LCID lcid,
/* [size_is][out] */ DISPID *rgDispId);
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
IAccessible2 * This,
/* [in] */ DISPID dispIdMember,
/* [in] */ REFIID riid,
/* [in] */ LCID lcid,
/* [in] */ WORD wFlags,
/* [out][in] */ DISPPARAMS *pDispParams,
/* [out] */ VARIANT *pVarResult,
/* [out] */ EXCEPINFO *pExcepInfo,
/* [out] */ UINT *puArgErr);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accParent )(
IAccessible2 * This,
/* [retval][out] */ IDispatch **ppdispParent);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accChildCount )(
IAccessible2 * This,
/* [retval][out] */ long *pcountChildren);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accChild )(
IAccessible2 * This,
/* [in] */ VARIANT varChild,
/* [retval][out] */ IDispatch **ppdispChild);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accName )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszName);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accValue )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszValue);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accDescription )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszDescription);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accRole )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ VARIANT *pvarRole);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accState )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ VARIANT *pvarState);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accHelp )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszHelp);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accHelpTopic )(
IAccessible2 * This,
/* [out] */ BSTR *pszHelpFile,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ long *pidTopic);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accKeyboardShortcut )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszKeyboardShortcut);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accFocus )(
IAccessible2 * This,
/* [retval][out] */ VARIANT *pvarChild);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accSelection )(
IAccessible2 * This,
/* [retval][out] */ VARIANT *pvarChildren);
/* [id][propget][hidden] */ HRESULT ( STDMETHODCALLTYPE *get_accDefaultAction )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [retval][out] */ BSTR *pszDefaultAction);
/* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *accSelect )(
IAccessible2 * This,
/* [in] */ long flagsSelect,
/* [optional][in] */ VARIANT varChild);
/* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *accLocation )(
IAccessible2 * This,
/* [out] */ long *pxLeft,
/* [out] */ long *pyTop,
/* [out] */ long *pcxWidth,
/* [out] */ long *pcyHeight,
/* [optional][in] */ VARIANT varChild);
/* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *accNavigate )(
IAccessible2 * This,
/* [in] */ long navDir,
/* [optional][in] */ VARIANT varStart,
/* [retval][out] */ VARIANT *pvarEndUpAt);
/* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *accHitTest )(
IAccessible2 * This,
/* [in] */ long xLeft,
/* [in] */ long yTop,
/* [retval][out] */ VARIANT *pvarChild);
/* [id][hidden] */ HRESULT ( STDMETHODCALLTYPE *accDoDefaultAction )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild);
/* [id][propput][hidden] */ HRESULT ( STDMETHODCALLTYPE *put_accName )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [in] */ BSTR szName);
/* [id][propput][hidden] */ HRESULT ( STDMETHODCALLTYPE *put_accValue )(
IAccessible2 * This,
/* [optional][in] */ VARIANT varChild,
/* [in] */ BSTR szValue);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nRelations )(
IAccessible2 * This,
/* [retval][out] */ long *nRelations);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_relation )(
IAccessible2 * This,
/* [in] */ long relationIndex,
/* [retval][out] */ IAccessibleRelation **relation);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_relations )(
IAccessible2 * This,
/* [in] */ long maxRelations,
/* [length_is][size_is][out] */ IAccessibleRelation **relations,
/* [retval][out] */ long *nRelations);
HRESULT ( STDMETHODCALLTYPE *role )(
IAccessible2 * This,
/* [retval][out] */ long *role);
HRESULT ( STDMETHODCALLTYPE *scrollTo )(
IAccessible2 * This,
/* [in] */ enum IA2ScrollType scrollType);
HRESULT ( STDMETHODCALLTYPE *scrollToPoint )(
IAccessible2 * This,
/* [in] */ enum IA2CoordinateType coordinateType,
/* [in] */ long x,
/* [in] */ long y);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_groupPosition )(
IAccessible2 * This,
/* [out] */ long *groupLevel,
/* [out] */ long *similarItemsInGroup,
/* [retval][out] */ long *positionInGroup);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_states )(
IAccessible2 * This,
/* [retval][out] */ AccessibleStates *states);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_extendedRole )(
IAccessible2 * This,
/* [retval][out] */ BSTR *extendedRole);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_localizedExtendedRole )(
IAccessible2 * This,
/* [retval][out] */ BSTR *localizedExtendedRole);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nExtendedStates )(
IAccessible2 * This,
/* [retval][out] */ long *nExtendedStates);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_extendedStates )(
IAccessible2 * This,
/* [in] */ long maxExtendedStates,
/* [length_is][length_is][size_is][size_is][out] */ BSTR **extendedStates,
/* [retval][out] */ long *nExtendedStates);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_localizedExtendedStates )(
IAccessible2 * This,
/* [in] */ long maxLocalizedExtendedStates,
/* [length_is][length_is][size_is][size_is][out] */ BSTR **localizedExtendedStates,
/* [retval][out] */ long *nLocalizedExtendedStates);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_uniqueID )(
IAccessible2 * This,
/* [retval][out] */ long *uniqueID);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_windowHandle )(
IAccessible2 * This,
/* [retval][out] */ HWND *windowHandle);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_indexInParent )(
IAccessible2 * This,
/* [retval][out] */ long *indexInParent);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_locale )(
IAccessible2 * This,
/* [retval][out] */ IA2Locale *locale);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_attributes )(
IAccessible2 * This,
/* [retval][out] */ BSTR *attributes);
END_INTERFACE
} IAccessible2Vtbl;
interface IAccessible2
{
CONST_VTBL struct IAccessible2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessible2_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessible2_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessible2_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessible2_GetTypeInfoCount(This,pctinfo) \
( (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo) )
#define IAccessible2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
( (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo) )
#define IAccessible2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
( (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) )
#define IAccessible2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
( (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) )
#define IAccessible2_get_accParent(This,ppdispParent) \
( (This)->lpVtbl -> get_accParent(This,ppdispParent) )
#define IAccessible2_get_accChildCount(This,pcountChildren) \
( (This)->lpVtbl -> get_accChildCount(This,pcountChildren) )
#define IAccessible2_get_accChild(This,varChild,ppdispChild) \
( (This)->lpVtbl -> get_accChild(This,varChild,ppdispChild) )
#define IAccessible2_get_accName(This,varChild,pszName) \
( (This)->lpVtbl -> get_accName(This,varChild,pszName) )
#define IAccessible2_get_accValue(This,varChild,pszValue) \
( (This)->lpVtbl -> get_accValue(This,varChild,pszValue) )
#define IAccessible2_get_accDescription(This,varChild,pszDescription) \
( (This)->lpVtbl -> get_accDescription(This,varChild,pszDescription) )
#define IAccessible2_get_accRole(This,varChild,pvarRole) \
( (This)->lpVtbl -> get_accRole(This,varChild,pvarRole) )
#define IAccessible2_get_accState(This,varChild,pvarState) \
( (This)->lpVtbl -> get_accState(This,varChild,pvarState) )
#define IAccessible2_get_accHelp(This,varChild,pszHelp) \
( (This)->lpVtbl -> get_accHelp(This,varChild,pszHelp) )
#define IAccessible2_get_accHelpTopic(This,pszHelpFile,varChild,pidTopic) \
( (This)->lpVtbl -> get_accHelpTopic(This,pszHelpFile,varChild,pidTopic) )
#define IAccessible2_get_accKeyboardShortcut(This,varChild,pszKeyboardShortcut) \
( (This)->lpVtbl -> get_accKeyboardShortcut(This,varChild,pszKeyboardShortcut) )
#define IAccessible2_get_accFocus(This,pvarChild) \
( (This)->lpVtbl -> get_accFocus(This,pvarChild) )
#define IAccessible2_get_accSelection(This,pvarChildren) \
( (This)->lpVtbl -> get_accSelection(This,pvarChildren) )
#define IAccessible2_get_accDefaultAction(This,varChild,pszDefaultAction) \
( (This)->lpVtbl -> get_accDefaultAction(This,varChild,pszDefaultAction) )
#define IAccessible2_accSelect(This,flagsSelect,varChild) \
( (This)->lpVtbl -> accSelect(This,flagsSelect,varChild) )
#define IAccessible2_accLocation(This,pxLeft,pyTop,pcxWidth,pcyHeight,varChild) \
( (This)->lpVtbl -> accLocation(This,pxLeft,pyTop,pcxWidth,pcyHeight,varChild) )
#define IAccessible2_accNavigate(This,navDir,varStart,pvarEndUpAt) \
( (This)->lpVtbl -> accNavigate(This,navDir,varStart,pvarEndUpAt) )
#define IAccessible2_accHitTest(This,xLeft,yTop,pvarChild) \
( (This)->lpVtbl -> accHitTest(This,xLeft,yTop,pvarChild) )
#define IAccessible2_accDoDefaultAction(This,varChild) \
( (This)->lpVtbl -> accDoDefaultAction(This,varChild) )
#define IAccessible2_put_accName(This,varChild,szName) \
( (This)->lpVtbl -> put_accName(This,varChild,szName) )
#define IAccessible2_put_accValue(This,varChild,szValue) \
( (This)->lpVtbl -> put_accValue(This,varChild,szValue) )
#define IAccessible2_get_nRelations(This,nRelations) \
( (This)->lpVtbl -> get_nRelations(This,nRelations) )
#define IAccessible2_get_relation(This,relationIndex,relation) \
( (This)->lpVtbl -> get_relation(This,relationIndex,relation) )
#define IAccessible2_get_relations(This,maxRelations,relations,nRelations) \
( (This)->lpVtbl -> get_relations(This,maxRelations,relations,nRelations) )
#define IAccessible2_role(This,role) \
( (This)->lpVtbl -> role(This,role) )
#define IAccessible2_scrollTo(This,scrollType) \
( (This)->lpVtbl -> scrollTo(This,scrollType) )
#define IAccessible2_scrollToPoint(This,coordinateType,x,y) \
( (This)->lpVtbl -> scrollToPoint(This,coordinateType,x,y) )
#define IAccessible2_get_groupPosition(This,groupLevel,similarItemsInGroup,positionInGroup) \
( (This)->lpVtbl -> get_groupPosition(This,groupLevel,similarItemsInGroup,positionInGroup) )
#define IAccessible2_get_states(This,states) \
( (This)->lpVtbl -> get_states(This,states) )
#define IAccessible2_get_extendedRole(This,extendedRole) \
( (This)->lpVtbl -> get_extendedRole(This,extendedRole) )
#define IAccessible2_get_localizedExtendedRole(This,localizedExtendedRole) \
( (This)->lpVtbl -> get_localizedExtendedRole(This,localizedExtendedRole) )
#define IAccessible2_get_nExtendedStates(This,nExtendedStates) \
( (This)->lpVtbl -> get_nExtendedStates(This,nExtendedStates) )
#define IAccessible2_get_extendedStates(This,maxExtendedStates,extendedStates,nExtendedStates) \
( (This)->lpVtbl -> get_extendedStates(This,maxExtendedStates,extendedStates,nExtendedStates) )
#define IAccessible2_get_localizedExtendedStates(This,maxLocalizedExtendedStates,localizedExtendedStates,nLocalizedExtendedStates) \
( (This)->lpVtbl -> get_localizedExtendedStates(This,maxLocalizedExtendedStates,localizedExtendedStates,nLocalizedExtendedStates) )
#define IAccessible2_get_uniqueID(This,uniqueID) \
( (This)->lpVtbl -> get_uniqueID(This,uniqueID) )
#define IAccessible2_get_windowHandle(This,windowHandle) \
( (This)->lpVtbl -> get_windowHandle(This,windowHandle) )
#define IAccessible2_get_indexInParent(This,indexInParent) \
( (This)->lpVtbl -> get_indexInParent(This,indexInParent) )
#define IAccessible2_get_locale(This,locale) \
( (This)->lpVtbl -> get_locale(This,locale) )
#define IAccessible2_get_attributes(This,attributes) \
( (This)->lpVtbl -> get_attributes(This,attributes) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessible2_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
unsigned long __RPC_USER HWND_UserSize( unsigned long *, unsigned long , HWND * );
unsigned char * __RPC_USER HWND_UserMarshal( unsigned long *, unsigned char *, HWND * );
unsigned char * __RPC_USER HWND_UserUnmarshal(unsigned long *, unsigned char *, HWND * );
void __RPC_USER HWND_UserFree( unsigned long *, HWND * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:56 2012
*/
/* Compiler settings for Accessible2.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessible2,0xE89F726E,0xC4F4,0x4c19,0xBB,0x19,0xB6,0x47,0xD7,0xFA,0x84,0x78);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,220 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:56 2012
*/
/* Compiler settings for AccessibleAction.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleAction_h__
#define __AccessibleAction_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleAction_FWD_DEFINED__
#define __IAccessibleAction_FWD_DEFINED__
typedef interface IAccessibleAction IAccessibleAction;
#endif /* __IAccessibleAction_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleAction_INTERFACE_DEFINED__
#define __IAccessibleAction_INTERFACE_DEFINED__
/* interface IAccessibleAction */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleAction;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("B70D9F59-3B5A-4dba-AB9E-22012F607DF5")
IAccessibleAction : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE nActions(
/* [retval][out] */ long *nActions) = 0;
virtual HRESULT STDMETHODCALLTYPE doAction(
/* [in] */ long actionIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_description(
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *description) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_keyBinding(
/* [in] */ long actionIndex,
/* [in] */ long nMaxBindings,
/* [length_is][length_is][size_is][size_is][out] */ BSTR **keyBindings,
/* [retval][out] */ long *nBindings) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_name(
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *name) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_localizedName(
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *localizedName) = 0;
};
#else /* C style interface */
typedef struct IAccessibleActionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleAction * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleAction * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleAction * This);
HRESULT ( STDMETHODCALLTYPE *nActions )(
IAccessibleAction * This,
/* [retval][out] */ long *nActions);
HRESULT ( STDMETHODCALLTYPE *doAction )(
IAccessibleAction * This,
/* [in] */ long actionIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_description )(
IAccessibleAction * This,
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *description);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_keyBinding )(
IAccessibleAction * This,
/* [in] */ long actionIndex,
/* [in] */ long nMaxBindings,
/* [length_is][length_is][size_is][size_is][out] */ BSTR **keyBindings,
/* [retval][out] */ long *nBindings);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_name )(
IAccessibleAction * This,
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *name);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_localizedName )(
IAccessibleAction * This,
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *localizedName);
END_INTERFACE
} IAccessibleActionVtbl;
interface IAccessibleAction
{
CONST_VTBL struct IAccessibleActionVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleAction_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleAction_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleAction_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleAction_nActions(This,nActions) \
( (This)->lpVtbl -> nActions(This,nActions) )
#define IAccessibleAction_doAction(This,actionIndex) \
( (This)->lpVtbl -> doAction(This,actionIndex) )
#define IAccessibleAction_get_description(This,actionIndex,description) \
( (This)->lpVtbl -> get_description(This,actionIndex,description) )
#define IAccessibleAction_get_keyBinding(This,actionIndex,nMaxBindings,keyBindings,nBindings) \
( (This)->lpVtbl -> get_keyBinding(This,actionIndex,nMaxBindings,keyBindings,nBindings) )
#define IAccessibleAction_get_name(This,actionIndex,name) \
( (This)->lpVtbl -> get_name(This,actionIndex,name) )
#define IAccessibleAction_get_localizedName(This,actionIndex,localizedName) \
( (This)->lpVtbl -> get_localizedName(This,actionIndex,localizedName) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleAction_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:56 2012
*/
/* Compiler settings for AccessibleAction.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleAction,0xB70D9F59,0x3B5A,0x4dba,0xAB,0x9E,0x22,0x01,0x2F,0x60,0x7D,0xF5);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,557 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:56 2012
*/
/* Compiler settings for AccessibleAction.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleAction.h"
#define TYPE_FORMAT_STRING_SIZE 77
#define PROC_FORMAT_STRING_SIZE 265
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 1
typedef struct _AccessibleAction_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleAction_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleAction_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleAction_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleAction_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleAction_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleAction_MIDL_TYPE_FORMAT_STRING AccessibleAction__MIDL_TypeFormatString;
extern const AccessibleAction_MIDL_PROC_FORMAT_STRING AccessibleAction__MIDL_ProcFormatString;
extern const AccessibleAction_MIDL_EXPR_FORMAT_STRING AccessibleAction__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleAction_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleAction_ProxyInfo;
extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleAction_MIDL_PROC_FORMAT_STRING AccessibleAction__MIDL_ProcFormatString =
{
0,
{
/* Procedure nActions */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x3 ), /* 3 */
/* 8 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 10 */ NdrFcShort( 0x0 ), /* 0 */
/* 12 */ NdrFcShort( 0x24 ), /* 36 */
/* 14 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 16 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 18 */ NdrFcShort( 0x0 ), /* 0 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter nActions */
/* 26 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 32 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure doAction */
/* 38 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 40 */ NdrFcLong( 0x0 ), /* 0 */
/* 44 */ NdrFcShort( 0x4 ), /* 4 */
/* 46 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 48 */ NdrFcShort( 0x8 ), /* 8 */
/* 50 */ NdrFcShort( 0x8 ), /* 8 */
/* 52 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 54 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 56 */ NdrFcShort( 0x0 ), /* 0 */
/* 58 */ NdrFcShort( 0x0 ), /* 0 */
/* 60 */ NdrFcShort( 0x0 ), /* 0 */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter actionIndex */
/* 64 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 66 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 68 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 70 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 72 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 74 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_description */
/* 76 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 78 */ NdrFcLong( 0x0 ), /* 0 */
/* 82 */ NdrFcShort( 0x5 ), /* 5 */
/* 84 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 86 */ NdrFcShort( 0x8 ), /* 8 */
/* 88 */ NdrFcShort( 0x8 ), /* 8 */
/* 90 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x3, /* 3 */
/* 92 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 94 */ NdrFcShort( 0x1 ), /* 1 */
/* 96 */ NdrFcShort( 0x0 ), /* 0 */
/* 98 */ NdrFcShort( 0x0 ), /* 0 */
/* 100 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter actionIndex */
/* 102 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 104 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 106 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter description */
/* 108 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 110 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 112 */ NdrFcShort( 0x24 ), /* Type Offset=36 */
/* Return value */
/* 114 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 116 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 118 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_keyBinding */
/* 120 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 122 */ NdrFcLong( 0x0 ), /* 0 */
/* 126 */ NdrFcShort( 0x6 ), /* 6 */
/* 128 */ NdrFcShort( 0x30 ), /* X64 Stack size/offset = 48 */
/* 130 */ NdrFcShort( 0x10 ), /* 16 */
/* 132 */ NdrFcShort( 0x24 ), /* 36 */
/* 134 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x5, /* 5 */
/* 136 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 138 */ NdrFcShort( 0x1 ), /* 1 */
/* 140 */ NdrFcShort( 0x0 ), /* 0 */
/* 142 */ NdrFcShort( 0x0 ), /* 0 */
/* 144 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter actionIndex */
/* 146 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 148 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 150 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter nMaxBindings */
/* 152 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 154 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 156 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter keyBindings */
/* 158 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */
/* 160 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 162 */ NdrFcShort( 0x2e ), /* Type Offset=46 */
/* Parameter nBindings */
/* 164 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 166 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 168 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 170 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 172 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */
/* 174 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_name */
/* 176 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 178 */ NdrFcLong( 0x0 ), /* 0 */
/* 182 */ NdrFcShort( 0x7 ), /* 7 */
/* 184 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 186 */ NdrFcShort( 0x8 ), /* 8 */
/* 188 */ NdrFcShort( 0x8 ), /* 8 */
/* 190 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x3, /* 3 */
/* 192 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 194 */ NdrFcShort( 0x1 ), /* 1 */
/* 196 */ NdrFcShort( 0x0 ), /* 0 */
/* 198 */ NdrFcShort( 0x0 ), /* 0 */
/* 200 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter actionIndex */
/* 202 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 204 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 206 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter name */
/* 208 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 210 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 212 */ NdrFcShort( 0x24 ), /* Type Offset=36 */
/* Return value */
/* 214 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 216 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 218 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_localizedName */
/* 220 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 222 */ NdrFcLong( 0x0 ), /* 0 */
/* 226 */ NdrFcShort( 0x8 ), /* 8 */
/* 228 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 230 */ NdrFcShort( 0x8 ), /* 8 */
/* 232 */ NdrFcShort( 0x8 ), /* 8 */
/* 234 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x3, /* 3 */
/* 236 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 238 */ NdrFcShort( 0x1 ), /* 1 */
/* 240 */ NdrFcShort( 0x0 ), /* 0 */
/* 242 */ NdrFcShort( 0x0 ), /* 0 */
/* 244 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter actionIndex */
/* 246 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 248 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 250 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter localizedName */
/* 252 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 254 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 256 */ NdrFcShort( 0x24 ), /* Type Offset=36 */
/* Return value */
/* 258 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 260 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 262 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleAction_MIDL_TYPE_FORMAT_STRING AccessibleAction__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 4 */ 0x8, /* FC_LONG */
0x5c, /* FC_PAD */
/* 6 */
0x11, 0x4, /* FC_RP [alloced_on_stack] */
/* 8 */ NdrFcShort( 0x1c ), /* Offset= 28 (36) */
/* 10 */
0x13, 0x0, /* FC_OP */
/* 12 */ NdrFcShort( 0xe ), /* Offset= 14 (26) */
/* 14 */
0x1b, /* FC_CARRAY */
0x1, /* 1 */
/* 16 */ NdrFcShort( 0x2 ), /* 2 */
/* 18 */ 0x9, /* Corr desc: FC_ULONG */
0x0, /* */
/* 20 */ NdrFcShort( 0xfffc ), /* -4 */
/* 22 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
/* 24 */ 0x6, /* FC_SHORT */
0x5b, /* FC_END */
/* 26 */
0x17, /* FC_CSTRUCT */
0x3, /* 3 */
/* 28 */ NdrFcShort( 0x8 ), /* 8 */
/* 30 */ NdrFcShort( 0xfff0 ), /* Offset= -16 (14) */
/* 32 */ 0x8, /* FC_LONG */
0x8, /* FC_LONG */
/* 34 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
/* 36 */ 0xb4, /* FC_USER_MARSHAL */
0x83, /* 131 */
/* 38 */ NdrFcShort( 0x0 ), /* 0 */
/* 40 */ NdrFcShort( 0x8 ), /* 8 */
/* 42 */ NdrFcShort( 0x0 ), /* 0 */
/* 44 */ NdrFcShort( 0xffde ), /* Offset= -34 (10) */
/* 46 */
0x11, 0x14, /* FC_RP [alloced_on_stack] [pointer_deref] */
/* 48 */ NdrFcShort( 0x2 ), /* Offset= 2 (50) */
/* 50 */
0x13, 0x0, /* FC_OP */
/* 52 */ NdrFcShort( 0x2 ), /* Offset= 2 (54) */
/* 54 */
0x21, /* FC_BOGUS_ARRAY */
0x3, /* 3 */
/* 56 */ NdrFcShort( 0x0 ), /* 0 */
/* 58 */ 0x28, /* Corr desc: parameter, FC_LONG */
0x0, /* */
/* 60 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 62 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
/* 64 */ 0x28, /* Corr desc: parameter, FC_LONG */
0x54, /* FC_DEREFERENCE */
/* 66 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 68 */ NdrFcShort( 0x0 ), /* Corr flags: */
/* 70 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
0x0, /* 0 */
/* 72 */ NdrFcShort( 0xffdc ), /* Offset= -36 (36) */
/* 74 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
0x0
}
};
static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
{
{
BSTR_UserSize
,BSTR_UserMarshal
,BSTR_UserUnmarshal
,BSTR_UserFree
}
};
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleAction, ver. 0.0,
GUID={0xB70D9F59,0x3B5A,0x4dba,{0xAB,0x9E,0x22,0x01,0x2F,0x60,0x7D,0xF5}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleAction_FormatStringOffsetTable[] =
{
0,
38,
76,
120,
176,
220
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleAction_ProxyInfo =
{
&Object_StubDesc,
AccessibleAction__MIDL_ProcFormatString.Format,
&IAccessibleAction_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleAction_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleAction__MIDL_ProcFormatString.Format,
&IAccessibleAction_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(9) _IAccessibleActionProxyVtbl =
{
&IAccessibleAction_ProxyInfo,
&IID_IAccessibleAction,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
(void *) (INT_PTR) -1 /* IAccessibleAction::nActions */ ,
(void *) (INT_PTR) -1 /* IAccessibleAction::doAction */ ,
(void *) (INT_PTR) -1 /* IAccessibleAction::get_description */ ,
(void *) (INT_PTR) -1 /* IAccessibleAction::get_keyBinding */ ,
(void *) (INT_PTR) -1 /* IAccessibleAction::get_name */ ,
(void *) (INT_PTR) -1 /* IAccessibleAction::get_localizedName */
};
const CInterfaceStubVtbl _IAccessibleActionStubVtbl =
{
&IID_IAccessibleAction,
&IAccessibleAction_ServerInfo,
9,
0, /* pure interpreted */
CStdStubBuffer_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleAction__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
UserMarshalRoutines,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleAction_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleActionProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleAction_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleActionStubVtbl,
0
};
PCInterfaceName const _AccessibleAction_InterfaceNamesList[] =
{
"IAccessibleAction",
0
};
#define _AccessibleAction_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleAction, pIID, n)
int __stdcall _AccessibleAction_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleAction_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleAction_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleAction_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleAction_StubVtblList,
(const PCInterfaceName * ) & _AccessibleAction_InterfaceNamesList,
0, /* no delegation */
& _AccessibleAction_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,188 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleApplication.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleApplication_h__
#define __AccessibleApplication_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleApplication_FWD_DEFINED__
#define __IAccessibleApplication_FWD_DEFINED__
typedef interface IAccessibleApplication IAccessibleApplication;
#endif /* __IAccessibleApplication_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleApplication_INTERFACE_DEFINED__
#define __IAccessibleApplication_INTERFACE_DEFINED__
/* interface IAccessibleApplication */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleApplication;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("D49DED83-5B25-43F4-9B95-93B44595979E")
IAccessibleApplication : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_appName(
/* [retval][out] */ BSTR *name) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_appVersion(
/* [retval][out] */ BSTR *version) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_toolkitName(
/* [retval][out] */ BSTR *name) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_toolkitVersion(
/* [retval][out] */ BSTR *version) = 0;
};
#else /* C style interface */
typedef struct IAccessibleApplicationVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleApplication * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleApplication * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleApplication * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_appName )(
IAccessibleApplication * This,
/* [retval][out] */ BSTR *name);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_appVersion )(
IAccessibleApplication * This,
/* [retval][out] */ BSTR *version);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_toolkitName )(
IAccessibleApplication * This,
/* [retval][out] */ BSTR *name);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_toolkitVersion )(
IAccessibleApplication * This,
/* [retval][out] */ BSTR *version);
END_INTERFACE
} IAccessibleApplicationVtbl;
interface IAccessibleApplication
{
CONST_VTBL struct IAccessibleApplicationVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleApplication_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleApplication_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleApplication_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleApplication_get_appName(This,name) \
( (This)->lpVtbl -> get_appName(This,name) )
#define IAccessibleApplication_get_appVersion(This,version) \
( (This)->lpVtbl -> get_appVersion(This,version) )
#define IAccessibleApplication_get_toolkitName(This,name) \
( (This)->lpVtbl -> get_toolkitName(This,name) )
#define IAccessibleApplication_get_toolkitVersion(This,version) \
( (This)->lpVtbl -> get_toolkitVersion(This,version) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleApplication_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleApplication.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleApplication,0xD49DED83,0x5B25,0x43F4,0x9B,0x95,0x93,0xB4,0x45,0x95,0x97,0x9E);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,420 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleApplication.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleApplication.h"
#define TYPE_FORMAT_STRING_SIZE 43
#define PROC_FORMAT_STRING_SIZE 153
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 1
typedef struct _AccessibleApplication_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleApplication_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleApplication_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleApplication_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleApplication_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleApplication_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleApplication_MIDL_TYPE_FORMAT_STRING AccessibleApplication__MIDL_TypeFormatString;
extern const AccessibleApplication_MIDL_PROC_FORMAT_STRING AccessibleApplication__MIDL_ProcFormatString;
extern const AccessibleApplication_MIDL_EXPR_FORMAT_STRING AccessibleApplication__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleApplication_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleApplication_ProxyInfo;
extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleApplication_MIDL_PROC_FORMAT_STRING AccessibleApplication__MIDL_ProcFormatString =
{
0,
{
/* Procedure get_appName */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x3 ), /* 3 */
/* 8 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 10 */ NdrFcShort( 0x0 ), /* 0 */
/* 12 */ NdrFcShort( 0x8 ), /* 8 */
/* 14 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 16 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 18 */ NdrFcShort( 0x1 ), /* 1 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter name */
/* 26 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 32 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_appVersion */
/* 38 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 40 */ NdrFcLong( 0x0 ), /* 0 */
/* 44 */ NdrFcShort( 0x4 ), /* 4 */
/* 46 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 48 */ NdrFcShort( 0x0 ), /* 0 */
/* 50 */ NdrFcShort( 0x8 ), /* 8 */
/* 52 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 54 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 56 */ NdrFcShort( 0x1 ), /* 1 */
/* 58 */ NdrFcShort( 0x0 ), /* 0 */
/* 60 */ NdrFcShort( 0x0 ), /* 0 */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter version */
/* 64 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 66 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 68 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 70 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 72 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 74 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_toolkitName */
/* 76 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 78 */ NdrFcLong( 0x0 ), /* 0 */
/* 82 */ NdrFcShort( 0x5 ), /* 5 */
/* 84 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 86 */ NdrFcShort( 0x0 ), /* 0 */
/* 88 */ NdrFcShort( 0x8 ), /* 8 */
/* 90 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 92 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 94 */ NdrFcShort( 0x1 ), /* 1 */
/* 96 */ NdrFcShort( 0x0 ), /* 0 */
/* 98 */ NdrFcShort( 0x0 ), /* 0 */
/* 100 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter name */
/* 102 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 104 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 106 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 108 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 110 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 112 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_toolkitVersion */
/* 114 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 116 */ NdrFcLong( 0x0 ), /* 0 */
/* 120 */ NdrFcShort( 0x6 ), /* 6 */
/* 122 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 124 */ NdrFcShort( 0x0 ), /* 0 */
/* 126 */ NdrFcShort( 0x8 ), /* 8 */
/* 128 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 130 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 132 */ NdrFcShort( 0x1 ), /* 1 */
/* 134 */ NdrFcShort( 0x0 ), /* 0 */
/* 136 */ NdrFcShort( 0x0 ), /* 0 */
/* 138 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter version */
/* 140 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 142 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 144 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 146 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 148 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 150 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleApplication_MIDL_TYPE_FORMAT_STRING AccessibleApplication__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0x4, /* FC_RP [alloced_on_stack] */
/* 4 */ NdrFcShort( 0x1c ), /* Offset= 28 (32) */
/* 6 */
0x13, 0x0, /* FC_OP */
/* 8 */ NdrFcShort( 0xe ), /* Offset= 14 (22) */
/* 10 */
0x1b, /* FC_CARRAY */
0x1, /* 1 */
/* 12 */ NdrFcShort( 0x2 ), /* 2 */
/* 14 */ 0x9, /* Corr desc: FC_ULONG */
0x0, /* */
/* 16 */ NdrFcShort( 0xfffc ), /* -4 */
/* 18 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
/* 20 */ 0x6, /* FC_SHORT */
0x5b, /* FC_END */
/* 22 */
0x17, /* FC_CSTRUCT */
0x3, /* 3 */
/* 24 */ NdrFcShort( 0x8 ), /* 8 */
/* 26 */ NdrFcShort( 0xfff0 ), /* Offset= -16 (10) */
/* 28 */ 0x8, /* FC_LONG */
0x8, /* FC_LONG */
/* 30 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
/* 32 */ 0xb4, /* FC_USER_MARSHAL */
0x83, /* 131 */
/* 34 */ NdrFcShort( 0x0 ), /* 0 */
/* 36 */ NdrFcShort( 0x8 ), /* 8 */
/* 38 */ NdrFcShort( 0x0 ), /* 0 */
/* 40 */ NdrFcShort( 0xffde ), /* Offset= -34 (6) */
0x0
}
};
static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
{
{
BSTR_UserSize
,BSTR_UserMarshal
,BSTR_UserUnmarshal
,BSTR_UserFree
}
};
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleApplication, ver. 0.0,
GUID={0xD49DED83,0x5B25,0x43F4,{0x9B,0x95,0x93,0xB4,0x45,0x95,0x97,0x9E}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleApplication_FormatStringOffsetTable[] =
{
0,
38,
76,
114
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleApplication_ProxyInfo =
{
&Object_StubDesc,
AccessibleApplication__MIDL_ProcFormatString.Format,
&IAccessibleApplication_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleApplication_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleApplication__MIDL_ProcFormatString.Format,
&IAccessibleApplication_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(7) _IAccessibleApplicationProxyVtbl =
{
&IAccessibleApplication_ProxyInfo,
&IID_IAccessibleApplication,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
(void *) (INT_PTR) -1 /* IAccessibleApplication::get_appName */ ,
(void *) (INT_PTR) -1 /* IAccessibleApplication::get_appVersion */ ,
(void *) (INT_PTR) -1 /* IAccessibleApplication::get_toolkitName */ ,
(void *) (INT_PTR) -1 /* IAccessibleApplication::get_toolkitVersion */
};
const CInterfaceStubVtbl _IAccessibleApplicationStubVtbl =
{
&IID_IAccessibleApplication,
&IAccessibleApplication_ServerInfo,
7,
0, /* pure interpreted */
CStdStubBuffer_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleApplication__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
UserMarshalRoutines,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleApplication_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleApplicationProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleApplication_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleApplicationStubVtbl,
0
};
PCInterfaceName const _AccessibleApplication_InterfaceNamesList[] =
{
"IAccessibleApplication",
0
};
#define _AccessibleApplication_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleApplication, pIID, n)
int __stdcall _AccessibleApplication_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleApplication_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleApplication_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleApplication_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleApplication_StubVtblList,
(const PCInterfaceName * ) & _AccessibleApplication_InterfaceNamesList,
0, /* no delegation */
& _AccessibleApplication_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,185 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleComponent.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleComponent_h__
#define __AccessibleComponent_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleComponent_FWD_DEFINED__
#define __IAccessibleComponent_FWD_DEFINED__
typedef interface IAccessibleComponent IAccessibleComponent;
#endif /* __IAccessibleComponent_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_AccessibleComponent_0000_0000 */
/* [local] */
typedef long IA2Color;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleComponent_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleComponent_0000_0000_v0_0_s_ifspec;
#ifndef __IAccessibleComponent_INTERFACE_DEFINED__
#define __IAccessibleComponent_INTERFACE_DEFINED__
/* interface IAccessibleComponent */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleComponent;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("1546D4B0-4C98-4bda-89AE-9A64748BDDE4")
IAccessibleComponent : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_locationInParent(
/* [out] */ long *x,
/* [retval][out] */ long *y) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_foreground(
/* [retval][out] */ IA2Color *foreground) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_background(
/* [retval][out] */ IA2Color *background) = 0;
};
#else /* C style interface */
typedef struct IAccessibleComponentVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleComponent * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleComponent * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleComponent * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_locationInParent )(
IAccessibleComponent * This,
/* [out] */ long *x,
/* [retval][out] */ long *y);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_foreground )(
IAccessibleComponent * This,
/* [retval][out] */ IA2Color *foreground);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_background )(
IAccessibleComponent * This,
/* [retval][out] */ IA2Color *background);
END_INTERFACE
} IAccessibleComponentVtbl;
interface IAccessibleComponent
{
CONST_VTBL struct IAccessibleComponentVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleComponent_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleComponent_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleComponent_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleComponent_get_locationInParent(This,x,y) \
( (This)->lpVtbl -> get_locationInParent(This,x,y) )
#define IAccessibleComponent_get_foreground(This,foreground) \
( (This)->lpVtbl -> get_foreground(This,foreground) )
#define IAccessibleComponent_get_background(This,background) \
( (This)->lpVtbl -> get_background(This,background) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleComponent_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleComponent.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleComponent,0x1546D4B0,0x4C98,0x4bda,0x89,0xAE,0x9A,0x64,0x74,0x8B,0xDD,0xE4);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,360 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleComponent.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleComponent.h"
#define TYPE_FORMAT_STRING_SIZE 7
#define PROC_FORMAT_STRING_SIZE 121
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 0
typedef struct _AccessibleComponent_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleComponent_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleComponent_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleComponent_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleComponent_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleComponent_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleComponent_MIDL_TYPE_FORMAT_STRING AccessibleComponent__MIDL_TypeFormatString;
extern const AccessibleComponent_MIDL_PROC_FORMAT_STRING AccessibleComponent__MIDL_ProcFormatString;
extern const AccessibleComponent_MIDL_EXPR_FORMAT_STRING AccessibleComponent__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleComponent_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleComponent_ProxyInfo;
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleComponent_MIDL_PROC_FORMAT_STRING AccessibleComponent__MIDL_ProcFormatString =
{
0,
{
/* Procedure get_locationInParent */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x3 ), /* 3 */
/* 8 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 10 */ NdrFcShort( 0x0 ), /* 0 */
/* 12 */ NdrFcShort( 0x40 ), /* 64 */
/* 14 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x3, /* 3 */
/* 16 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 18 */ NdrFcShort( 0x0 ), /* 0 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter x */
/* 26 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter y */
/* 32 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 38 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 40 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 42 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_foreground */
/* 44 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 46 */ NdrFcLong( 0x0 ), /* 0 */
/* 50 */ NdrFcShort( 0x4 ), /* 4 */
/* 52 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 54 */ NdrFcShort( 0x0 ), /* 0 */
/* 56 */ NdrFcShort( 0x24 ), /* 36 */
/* 58 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 60 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* 64 */ NdrFcShort( 0x0 ), /* 0 */
/* 66 */ NdrFcShort( 0x0 ), /* 0 */
/* 68 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter foreground */
/* 70 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 72 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 74 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 76 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 78 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 80 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_background */
/* 82 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 84 */ NdrFcLong( 0x0 ), /* 0 */
/* 88 */ NdrFcShort( 0x5 ), /* 5 */
/* 90 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 92 */ NdrFcShort( 0x0 ), /* 0 */
/* 94 */ NdrFcShort( 0x24 ), /* 36 */
/* 96 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 98 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 100 */ NdrFcShort( 0x0 ), /* 0 */
/* 102 */ NdrFcShort( 0x0 ), /* 0 */
/* 104 */ NdrFcShort( 0x0 ), /* 0 */
/* 106 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter background */
/* 108 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 110 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 112 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 114 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 116 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 118 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleComponent_MIDL_TYPE_FORMAT_STRING AccessibleComponent__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 4 */ 0x8, /* FC_LONG */
0x5c, /* FC_PAD */
0x0
}
};
/* Standard interface: __MIDL_itf_AccessibleComponent_0000_0000, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleComponent, ver. 0.0,
GUID={0x1546D4B0,0x4C98,0x4bda,{0x89,0xAE,0x9A,0x64,0x74,0x8B,0xDD,0xE4}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleComponent_FormatStringOffsetTable[] =
{
0,
44,
82
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleComponent_ProxyInfo =
{
&Object_StubDesc,
AccessibleComponent__MIDL_ProcFormatString.Format,
&IAccessibleComponent_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleComponent_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleComponent__MIDL_ProcFormatString.Format,
&IAccessibleComponent_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(6) _IAccessibleComponentProxyVtbl =
{
&IAccessibleComponent_ProxyInfo,
&IID_IAccessibleComponent,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
(void *) (INT_PTR) -1 /* IAccessibleComponent::get_locationInParent */ ,
(void *) (INT_PTR) -1 /* IAccessibleComponent::get_foreground */ ,
(void *) (INT_PTR) -1 /* IAccessibleComponent::get_background */
};
const CInterfaceStubVtbl _IAccessibleComponentStubVtbl =
{
&IID_IAccessibleComponent,
&IAccessibleComponent_ServerInfo,
6,
0, /* pure interpreted */
CStdStubBuffer_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleComponent__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
0,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleComponent_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleComponentProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleComponent_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleComponentStubVtbl,
0
};
PCInterfaceName const _AccessibleComponent_InterfaceNamesList[] =
{
"IAccessibleComponent",
0
};
#define _AccessibleComponent_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleComponent, pIID, n)
int __stdcall _AccessibleComponent_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleComponent_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleComponent_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleComponent_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleComponent_StubVtblList,
(const PCInterfaceName * ) & _AccessibleComponent_InterfaceNamesList,
0, /* no delegation */
& _AccessibleComponent_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,235 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleEditableText.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleEditableText_h__
#define __AccessibleEditableText_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleEditableText_FWD_DEFINED__
#define __IAccessibleEditableText_FWD_DEFINED__
typedef interface IAccessibleEditableText IAccessibleEditableText;
#endif /* __IAccessibleEditableText_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "IA2CommonTypes.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleEditableText_INTERFACE_DEFINED__
#define __IAccessibleEditableText_INTERFACE_DEFINED__
/* interface IAccessibleEditableText */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleEditableText;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("A59AA09A-7011-4b65-939D-32B1FB5547E3")
IAccessibleEditableText : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE copyText(
/* [in] */ long startOffset,
/* [in] */ long endOffset) = 0;
virtual HRESULT STDMETHODCALLTYPE deleteText(
/* [in] */ long startOffset,
/* [in] */ long endOffset) = 0;
virtual HRESULT STDMETHODCALLTYPE insertText(
/* [in] */ long offset,
/* [in] */ BSTR *text) = 0;
virtual HRESULT STDMETHODCALLTYPE cutText(
/* [in] */ long startOffset,
/* [in] */ long endOffset) = 0;
virtual HRESULT STDMETHODCALLTYPE pasteText(
/* [in] */ long offset) = 0;
virtual HRESULT STDMETHODCALLTYPE replaceText(
/* [in] */ long startOffset,
/* [in] */ long endOffset,
/* [in] */ BSTR *text) = 0;
virtual HRESULT STDMETHODCALLTYPE setAttributes(
/* [in] */ long startOffset,
/* [in] */ long endOffset,
/* [in] */ BSTR *attributes) = 0;
};
#else /* C style interface */
typedef struct IAccessibleEditableTextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleEditableText * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleEditableText * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleEditableText * This);
HRESULT ( STDMETHODCALLTYPE *copyText )(
IAccessibleEditableText * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset);
HRESULT ( STDMETHODCALLTYPE *deleteText )(
IAccessibleEditableText * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset);
HRESULT ( STDMETHODCALLTYPE *insertText )(
IAccessibleEditableText * This,
/* [in] */ long offset,
/* [in] */ BSTR *text);
HRESULT ( STDMETHODCALLTYPE *cutText )(
IAccessibleEditableText * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset);
HRESULT ( STDMETHODCALLTYPE *pasteText )(
IAccessibleEditableText * This,
/* [in] */ long offset);
HRESULT ( STDMETHODCALLTYPE *replaceText )(
IAccessibleEditableText * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset,
/* [in] */ BSTR *text);
HRESULT ( STDMETHODCALLTYPE *setAttributes )(
IAccessibleEditableText * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset,
/* [in] */ BSTR *attributes);
END_INTERFACE
} IAccessibleEditableTextVtbl;
interface IAccessibleEditableText
{
CONST_VTBL struct IAccessibleEditableTextVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleEditableText_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleEditableText_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleEditableText_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleEditableText_copyText(This,startOffset,endOffset) \
( (This)->lpVtbl -> copyText(This,startOffset,endOffset) )
#define IAccessibleEditableText_deleteText(This,startOffset,endOffset) \
( (This)->lpVtbl -> deleteText(This,startOffset,endOffset) )
#define IAccessibleEditableText_insertText(This,offset,text) \
( (This)->lpVtbl -> insertText(This,offset,text) )
#define IAccessibleEditableText_cutText(This,startOffset,endOffset) \
( (This)->lpVtbl -> cutText(This,startOffset,endOffset) )
#define IAccessibleEditableText_pasteText(This,offset) \
( (This)->lpVtbl -> pasteText(This,offset) )
#define IAccessibleEditableText_replaceText(This,startOffset,endOffset,text) \
( (This)->lpVtbl -> replaceText(This,startOffset,endOffset,text) )
#define IAccessibleEditableText_setAttributes(This,startOffset,endOffset,attributes) \
( (This)->lpVtbl -> setAttributes(This,startOffset,endOffset,attributes) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleEditableText_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleEditableText.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleEditableText,0xA59AA09A,0x7011,0x4b65,0x93,0x9D,0x32,0xB1,0xFB,0x55,0x47,0xE3);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,579 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleEditableText.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleEditableText.h"
#define TYPE_FORMAT_STRING_SIZE 43
#define PROC_FORMAT_STRING_SIZE 315
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 1
typedef struct _AccessibleEditableText_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleEditableText_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleEditableText_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleEditableText_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleEditableText_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleEditableText_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleEditableText_MIDL_TYPE_FORMAT_STRING AccessibleEditableText__MIDL_TypeFormatString;
extern const AccessibleEditableText_MIDL_PROC_FORMAT_STRING AccessibleEditableText__MIDL_ProcFormatString;
extern const AccessibleEditableText_MIDL_EXPR_FORMAT_STRING AccessibleEditableText__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleEditableText_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleEditableText_ProxyInfo;
extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleEditableText_MIDL_PROC_FORMAT_STRING AccessibleEditableText__MIDL_ProcFormatString =
{
0,
{
/* Procedure copyText */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x3 ), /* 3 */
/* 8 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 10 */ NdrFcShort( 0x10 ), /* 16 */
/* 12 */ NdrFcShort( 0x8 ), /* 8 */
/* 14 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x3, /* 3 */
/* 16 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 18 */ NdrFcShort( 0x0 ), /* 0 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter startOffset */
/* 26 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter endOffset */
/* 32 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 38 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 40 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 42 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure deleteText */
/* 44 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 46 */ NdrFcLong( 0x0 ), /* 0 */
/* 50 */ NdrFcShort( 0x4 ), /* 4 */
/* 52 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 54 */ NdrFcShort( 0x10 ), /* 16 */
/* 56 */ NdrFcShort( 0x8 ), /* 8 */
/* 58 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x3, /* 3 */
/* 60 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* 64 */ NdrFcShort( 0x0 ), /* 0 */
/* 66 */ NdrFcShort( 0x0 ), /* 0 */
/* 68 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter startOffset */
/* 70 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 72 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 74 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter endOffset */
/* 76 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 78 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 80 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 82 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 84 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 86 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure insertText */
/* 88 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 90 */ NdrFcLong( 0x0 ), /* 0 */
/* 94 */ NdrFcShort( 0x5 ), /* 5 */
/* 96 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 98 */ NdrFcShort( 0x8 ), /* 8 */
/* 100 */ NdrFcShort( 0x8 ), /* 8 */
/* 102 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
0x3, /* 3 */
/* 104 */ 0xa, /* 10 */
0x5, /* Ext Flags: new corr desc, srv corr check, */
/* 106 */ NdrFcShort( 0x0 ), /* 0 */
/* 108 */ NdrFcShort( 0x1 ), /* 1 */
/* 110 */ NdrFcShort( 0x0 ), /* 0 */
/* 112 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter offset */
/* 114 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 116 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 118 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter text */
/* 120 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */
/* 122 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 124 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 126 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 128 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 130 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure cutText */
/* 132 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 134 */ NdrFcLong( 0x0 ), /* 0 */
/* 138 */ NdrFcShort( 0x6 ), /* 6 */
/* 140 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 142 */ NdrFcShort( 0x10 ), /* 16 */
/* 144 */ NdrFcShort( 0x8 ), /* 8 */
/* 146 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x3, /* 3 */
/* 148 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 150 */ NdrFcShort( 0x0 ), /* 0 */
/* 152 */ NdrFcShort( 0x0 ), /* 0 */
/* 154 */ NdrFcShort( 0x0 ), /* 0 */
/* 156 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter startOffset */
/* 158 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 160 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 162 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter endOffset */
/* 164 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 166 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 168 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 170 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 172 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 174 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure pasteText */
/* 176 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 178 */ NdrFcLong( 0x0 ), /* 0 */
/* 182 */ NdrFcShort( 0x7 ), /* 7 */
/* 184 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 186 */ NdrFcShort( 0x8 ), /* 8 */
/* 188 */ NdrFcShort( 0x8 ), /* 8 */
/* 190 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 192 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 194 */ NdrFcShort( 0x0 ), /* 0 */
/* 196 */ NdrFcShort( 0x0 ), /* 0 */
/* 198 */ NdrFcShort( 0x0 ), /* 0 */
/* 200 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter offset */
/* 202 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 204 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 206 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 208 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 210 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 212 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure replaceText */
/* 214 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 216 */ NdrFcLong( 0x0 ), /* 0 */
/* 220 */ NdrFcShort( 0x8 ), /* 8 */
/* 222 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */
/* 224 */ NdrFcShort( 0x10 ), /* 16 */
/* 226 */ NdrFcShort( 0x8 ), /* 8 */
/* 228 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
0x4, /* 4 */
/* 230 */ 0xa, /* 10 */
0x5, /* Ext Flags: new corr desc, srv corr check, */
/* 232 */ NdrFcShort( 0x0 ), /* 0 */
/* 234 */ NdrFcShort( 0x1 ), /* 1 */
/* 236 */ NdrFcShort( 0x0 ), /* 0 */
/* 238 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter startOffset */
/* 240 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 242 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 244 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter endOffset */
/* 246 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 248 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 250 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter text */
/* 252 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */
/* 254 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 256 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 258 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 260 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 262 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure setAttributes */
/* 264 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 266 */ NdrFcLong( 0x0 ), /* 0 */
/* 270 */ NdrFcShort( 0x9 ), /* 9 */
/* 272 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */
/* 274 */ NdrFcShort( 0x10 ), /* 16 */
/* 276 */ NdrFcShort( 0x8 ), /* 8 */
/* 278 */ 0x46, /* Oi2 Flags: clt must size, has return, has ext, */
0x4, /* 4 */
/* 280 */ 0xa, /* 10 */
0x5, /* Ext Flags: new corr desc, srv corr check, */
/* 282 */ NdrFcShort( 0x0 ), /* 0 */
/* 284 */ NdrFcShort( 0x1 ), /* 1 */
/* 286 */ NdrFcShort( 0x0 ), /* 0 */
/* 288 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter startOffset */
/* 290 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 292 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 294 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter endOffset */
/* 296 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 298 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 300 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter attributes */
/* 302 */ NdrFcShort( 0x10b ), /* Flags: must size, must free, in, simple ref, */
/* 304 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 306 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 308 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 310 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 312 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleEditableText_MIDL_TYPE_FORMAT_STRING AccessibleEditableText__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0x0, /* FC_RP */
/* 4 */ NdrFcShort( 0x1c ), /* Offset= 28 (32) */
/* 6 */
0x12, 0x0, /* FC_UP */
/* 8 */ NdrFcShort( 0xe ), /* Offset= 14 (22) */
/* 10 */
0x1b, /* FC_CARRAY */
0x1, /* 1 */
/* 12 */ NdrFcShort( 0x2 ), /* 2 */
/* 14 */ 0x9, /* Corr desc: FC_ULONG */
0x0, /* */
/* 16 */ NdrFcShort( 0xfffc ), /* -4 */
/* 18 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
/* 20 */ 0x6, /* FC_SHORT */
0x5b, /* FC_END */
/* 22 */
0x17, /* FC_CSTRUCT */
0x3, /* 3 */
/* 24 */ NdrFcShort( 0x8 ), /* 8 */
/* 26 */ NdrFcShort( 0xfff0 ), /* Offset= -16 (10) */
/* 28 */ 0x8, /* FC_LONG */
0x8, /* FC_LONG */
/* 30 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
/* 32 */ 0xb4, /* FC_USER_MARSHAL */
0x83, /* 131 */
/* 34 */ NdrFcShort( 0x0 ), /* 0 */
/* 36 */ NdrFcShort( 0x8 ), /* 8 */
/* 38 */ NdrFcShort( 0x0 ), /* 0 */
/* 40 */ NdrFcShort( 0xffde ), /* Offset= -34 (6) */
0x0
}
};
static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
{
{
BSTR_UserSize
,BSTR_UserMarshal
,BSTR_UserUnmarshal
,BSTR_UserFree
}
};
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleEditableText, ver. 0.0,
GUID={0xA59AA09A,0x7011,0x4b65,{0x93,0x9D,0x32,0xB1,0xFB,0x55,0x47,0xE3}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleEditableText_FormatStringOffsetTable[] =
{
0,
44,
88,
132,
176,
214,
264
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleEditableText_ProxyInfo =
{
&Object_StubDesc,
AccessibleEditableText__MIDL_ProcFormatString.Format,
&IAccessibleEditableText_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleEditableText_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleEditableText__MIDL_ProcFormatString.Format,
&IAccessibleEditableText_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(10) _IAccessibleEditableTextProxyVtbl =
{
&IAccessibleEditableText_ProxyInfo,
&IID_IAccessibleEditableText,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
(void *) (INT_PTR) -1 /* IAccessibleEditableText::copyText */ ,
(void *) (INT_PTR) -1 /* IAccessibleEditableText::deleteText */ ,
(void *) (INT_PTR) -1 /* IAccessibleEditableText::insertText */ ,
(void *) (INT_PTR) -1 /* IAccessibleEditableText::cutText */ ,
(void *) (INT_PTR) -1 /* IAccessibleEditableText::pasteText */ ,
(void *) (INT_PTR) -1 /* IAccessibleEditableText::replaceText */ ,
(void *) (INT_PTR) -1 /* IAccessibleEditableText::setAttributes */
};
const CInterfaceStubVtbl _IAccessibleEditableTextStubVtbl =
{
&IID_IAccessibleEditableText,
&IAccessibleEditableText_ServerInfo,
10,
0, /* pure interpreted */
CStdStubBuffer_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleEditableText__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
UserMarshalRoutines,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleEditableText_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleEditableTextProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleEditableText_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleEditableTextStubVtbl,
0
};
PCInterfaceName const _AccessibleEditableText_InterfaceNamesList[] =
{
"IAccessibleEditableText",
0
};
#define _AccessibleEditableText_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleEditableText, pIID, n)
int __stdcall _AccessibleEditableText_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleEditableText_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleEditableText_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleEditableText_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleEditableText_StubVtblList,
(const PCInterfaceName * ) & _AccessibleEditableText_InterfaceNamesList,
0, /* no delegation */
& _AccessibleEditableText_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,105 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleEventID.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleEventID_h__
#define __AccessibleEventID_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_AccessibleEventID_0000_0000 */
/* [local] */
enum IA2EventID
{ IA2_EVENT_ACTION_CHANGED = 0x101,
IA2_EVENT_ACTIVE_DECENDENT_CHANGED = ( IA2_EVENT_ACTION_CHANGED + 1 ) ,
IA2_EVENT_ACTIVE_DESCENDANT_CHANGED = IA2_EVENT_ACTIVE_DECENDENT_CHANGED,
IA2_EVENT_DOCUMENT_ATTRIBUTE_CHANGED = ( IA2_EVENT_ACTIVE_DESCENDANT_CHANGED + 1 ) ,
IA2_EVENT_DOCUMENT_CONTENT_CHANGED = ( IA2_EVENT_DOCUMENT_ATTRIBUTE_CHANGED + 1 ) ,
IA2_EVENT_DOCUMENT_LOAD_COMPLETE = ( IA2_EVENT_DOCUMENT_CONTENT_CHANGED + 1 ) ,
IA2_EVENT_DOCUMENT_LOAD_STOPPED = ( IA2_EVENT_DOCUMENT_LOAD_COMPLETE + 1 ) ,
IA2_EVENT_DOCUMENT_RELOAD = ( IA2_EVENT_DOCUMENT_LOAD_STOPPED + 1 ) ,
IA2_EVENT_HYPERLINK_END_INDEX_CHANGED = ( IA2_EVENT_DOCUMENT_RELOAD + 1 ) ,
IA2_EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED = ( IA2_EVENT_HYPERLINK_END_INDEX_CHANGED + 1 ) ,
IA2_EVENT_HYPERLINK_SELECTED_LINK_CHANGED = ( IA2_EVENT_HYPERLINK_NUMBER_OF_ANCHORS_CHANGED + 1 ) ,
IA2_EVENT_HYPERTEXT_LINK_ACTIVATED = ( IA2_EVENT_HYPERLINK_SELECTED_LINK_CHANGED + 1 ) ,
IA2_EVENT_HYPERTEXT_LINK_SELECTED = ( IA2_EVENT_HYPERTEXT_LINK_ACTIVATED + 1 ) ,
IA2_EVENT_HYPERLINK_START_INDEX_CHANGED = ( IA2_EVENT_HYPERTEXT_LINK_SELECTED + 1 ) ,
IA2_EVENT_HYPERTEXT_CHANGED = ( IA2_EVENT_HYPERLINK_START_INDEX_CHANGED + 1 ) ,
IA2_EVENT_HYPERTEXT_NLINKS_CHANGED = ( IA2_EVENT_HYPERTEXT_CHANGED + 1 ) ,
IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED = ( IA2_EVENT_HYPERTEXT_NLINKS_CHANGED + 1 ) ,
IA2_EVENT_PAGE_CHANGED = ( IA2_EVENT_OBJECT_ATTRIBUTE_CHANGED + 1 ) ,
IA2_EVENT_SECTION_CHANGED = ( IA2_EVENT_PAGE_CHANGED + 1 ) ,
IA2_EVENT_TABLE_CAPTION_CHANGED = ( IA2_EVENT_SECTION_CHANGED + 1 ) ,
IA2_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED = ( IA2_EVENT_TABLE_CAPTION_CHANGED + 1 ) ,
IA2_EVENT_TABLE_COLUMN_HEADER_CHANGED = ( IA2_EVENT_TABLE_COLUMN_DESCRIPTION_CHANGED + 1 ) ,
IA2_EVENT_TABLE_MODEL_CHANGED = ( IA2_EVENT_TABLE_COLUMN_HEADER_CHANGED + 1 ) ,
IA2_EVENT_TABLE_ROW_DESCRIPTION_CHANGED = ( IA2_EVENT_TABLE_MODEL_CHANGED + 1 ) ,
IA2_EVENT_TABLE_ROW_HEADER_CHANGED = ( IA2_EVENT_TABLE_ROW_DESCRIPTION_CHANGED + 1 ) ,
IA2_EVENT_TABLE_SUMMARY_CHANGED = ( IA2_EVENT_TABLE_ROW_HEADER_CHANGED + 1 ) ,
IA2_EVENT_TEXT_ATTRIBUTE_CHANGED = ( IA2_EVENT_TABLE_SUMMARY_CHANGED + 1 ) ,
IA2_EVENT_TEXT_CARET_MOVED = ( IA2_EVENT_TEXT_ATTRIBUTE_CHANGED + 1 ) ,
IA2_EVENT_TEXT_CHANGED = ( IA2_EVENT_TEXT_CARET_MOVED + 1 ) ,
IA2_EVENT_TEXT_COLUMN_CHANGED = ( IA2_EVENT_TEXT_CHANGED + 1 ) ,
IA2_EVENT_TEXT_INSERTED = ( IA2_EVENT_TEXT_COLUMN_CHANGED + 1 ) ,
IA2_EVENT_TEXT_REMOVED = ( IA2_EVENT_TEXT_INSERTED + 1 ) ,
IA2_EVENT_TEXT_UPDATED = ( IA2_EVENT_TEXT_REMOVED + 1 ) ,
IA2_EVENT_TEXT_SELECTION_CHANGED = ( IA2_EVENT_TEXT_UPDATED + 1 ) ,
IA2_EVENT_VISIBLE_DATA_CHANGED = ( IA2_EVENT_TEXT_SELECTION_CHANGED + 1 )
} ;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleEventID_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleEventID_0000_0000_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,252 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleHyperlink.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleHyperlink_h__
#define __AccessibleHyperlink_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleHyperlink_FWD_DEFINED__
#define __IAccessibleHyperlink_FWD_DEFINED__
typedef interface IAccessibleHyperlink IAccessibleHyperlink;
#endif /* __IAccessibleHyperlink_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "AccessibleAction.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleHyperlink_INTERFACE_DEFINED__
#define __IAccessibleHyperlink_INTERFACE_DEFINED__
/* interface IAccessibleHyperlink */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleHyperlink;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("01C20F2B-3DD2-400f-949F-AD00BDAB1D41")
IAccessibleHyperlink : public IAccessibleAction
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchor(
/* [in] */ long index,
/* [retval][out] */ VARIANT *anchor) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_anchorTarget(
/* [in] */ long index,
/* [retval][out] */ VARIANT *anchorTarget) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_startIndex(
/* [retval][out] */ long *index) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_endIndex(
/* [retval][out] */ long *index) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_valid(
/* [retval][out] */ boolean *valid) = 0;
};
#else /* C style interface */
typedef struct IAccessibleHyperlinkVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleHyperlink * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleHyperlink * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleHyperlink * This);
HRESULT ( STDMETHODCALLTYPE *nActions )(
IAccessibleHyperlink * This,
/* [retval][out] */ long *nActions);
HRESULT ( STDMETHODCALLTYPE *doAction )(
IAccessibleHyperlink * This,
/* [in] */ long actionIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_description )(
IAccessibleHyperlink * This,
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *description);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_keyBinding )(
IAccessibleHyperlink * This,
/* [in] */ long actionIndex,
/* [in] */ long nMaxBindings,
/* [length_is][length_is][size_is][size_is][out] */ BSTR **keyBindings,
/* [retval][out] */ long *nBindings);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_name )(
IAccessibleHyperlink * This,
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *name);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_localizedName )(
IAccessibleHyperlink * This,
/* [in] */ long actionIndex,
/* [retval][out] */ BSTR *localizedName);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_anchor )(
IAccessibleHyperlink * This,
/* [in] */ long index,
/* [retval][out] */ VARIANT *anchor);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_anchorTarget )(
IAccessibleHyperlink * This,
/* [in] */ long index,
/* [retval][out] */ VARIANT *anchorTarget);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_startIndex )(
IAccessibleHyperlink * This,
/* [retval][out] */ long *index);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_endIndex )(
IAccessibleHyperlink * This,
/* [retval][out] */ long *index);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_valid )(
IAccessibleHyperlink * This,
/* [retval][out] */ boolean *valid);
END_INTERFACE
} IAccessibleHyperlinkVtbl;
interface IAccessibleHyperlink
{
CONST_VTBL struct IAccessibleHyperlinkVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleHyperlink_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleHyperlink_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleHyperlink_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleHyperlink_nActions(This,nActions) \
( (This)->lpVtbl -> nActions(This,nActions) )
#define IAccessibleHyperlink_doAction(This,actionIndex) \
( (This)->lpVtbl -> doAction(This,actionIndex) )
#define IAccessibleHyperlink_get_description(This,actionIndex,description) \
( (This)->lpVtbl -> get_description(This,actionIndex,description) )
#define IAccessibleHyperlink_get_keyBinding(This,actionIndex,nMaxBindings,keyBindings,nBindings) \
( (This)->lpVtbl -> get_keyBinding(This,actionIndex,nMaxBindings,keyBindings,nBindings) )
#define IAccessibleHyperlink_get_name(This,actionIndex,name) \
( (This)->lpVtbl -> get_name(This,actionIndex,name) )
#define IAccessibleHyperlink_get_localizedName(This,actionIndex,localizedName) \
( (This)->lpVtbl -> get_localizedName(This,actionIndex,localizedName) )
#define IAccessibleHyperlink_get_anchor(This,index,anchor) \
( (This)->lpVtbl -> get_anchor(This,index,anchor) )
#define IAccessibleHyperlink_get_anchorTarget(This,index,anchorTarget) \
( (This)->lpVtbl -> get_anchorTarget(This,index,anchorTarget) )
#define IAccessibleHyperlink_get_startIndex(This,index) \
( (This)->lpVtbl -> get_startIndex(This,index) )
#define IAccessibleHyperlink_get_endIndex(This,index) \
( (This)->lpVtbl -> get_endIndex(This,index) )
#define IAccessibleHyperlink_get_valid(This,valid) \
( (This)->lpVtbl -> get_valid(This,valid) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleHyperlink_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:57 2012
*/
/* Compiler settings for AccessibleHyperlink.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleHyperlink,0x01C20F2B,0x3DD2,0x400f,0x94,0x9F,0xAD,0x00,0xBD,0xAB,0x1D,0x41);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,349 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleHypertext.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleHypertext_h__
#define __AccessibleHypertext_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleHypertext_FWD_DEFINED__
#define __IAccessibleHypertext_FWD_DEFINED__
typedef interface IAccessibleHypertext IAccessibleHypertext;
#endif /* __IAccessibleHypertext_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "AccessibleText.h"
#include "AccessibleHyperlink.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleHypertext_INTERFACE_DEFINED__
#define __IAccessibleHypertext_INTERFACE_DEFINED__
/* interface IAccessibleHypertext */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleHypertext;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6B4F8BBF-F1F2-418a-B35E-A195BC4103B9")
IAccessibleHypertext : public IAccessibleText
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nHyperlinks(
/* [retval][out] */ long *hyperlinkCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlink(
/* [in] */ long index,
/* [retval][out] */ IAccessibleHyperlink **hyperlink) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_hyperlinkIndex(
/* [in] */ long charIndex,
/* [retval][out] */ long *hyperlinkIndex) = 0;
};
#else /* C style interface */
typedef struct IAccessibleHypertextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleHypertext * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleHypertext * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleHypertext * This);
HRESULT ( STDMETHODCALLTYPE *addSelection )(
IAccessibleHypertext * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_attributes )(
IAccessibleHypertext * This,
/* [in] */ long offset,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *textAttributes);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_caretOffset )(
IAccessibleHypertext * This,
/* [retval][out] */ long *offset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_characterExtents )(
IAccessibleHypertext * This,
/* [in] */ long offset,
/* [in] */ enum IA2CoordinateType coordType,
/* [out] */ long *x,
/* [out] */ long *y,
/* [out] */ long *width,
/* [retval][out] */ long *height);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelections )(
IAccessibleHypertext * This,
/* [retval][out] */ long *nSelections);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_offsetAtPoint )(
IAccessibleHypertext * This,
/* [in] */ long x,
/* [in] */ long y,
/* [in] */ enum IA2CoordinateType coordType,
/* [retval][out] */ long *offset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selection )(
IAccessibleHypertext * This,
/* [in] */ long selectionIndex,
/* [out] */ long *startOffset,
/* [retval][out] */ long *endOffset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_text )(
IAccessibleHypertext * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset,
/* [retval][out] */ BSTR *text);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textBeforeOffset )(
IAccessibleHypertext * This,
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textAfterOffset )(
IAccessibleHypertext * This,
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textAtOffset )(
IAccessibleHypertext * This,
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text);
HRESULT ( STDMETHODCALLTYPE *removeSelection )(
IAccessibleHypertext * This,
/* [in] */ long selectionIndex);
HRESULT ( STDMETHODCALLTYPE *setCaretOffset )(
IAccessibleHypertext * This,
/* [in] */ long offset);
HRESULT ( STDMETHODCALLTYPE *setSelection )(
IAccessibleHypertext * This,
/* [in] */ long selectionIndex,
/* [in] */ long startOffset,
/* [in] */ long endOffset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nCharacters )(
IAccessibleHypertext * This,
/* [retval][out] */ long *nCharacters);
HRESULT ( STDMETHODCALLTYPE *scrollSubstringTo )(
IAccessibleHypertext * This,
/* [in] */ long startIndex,
/* [in] */ long endIndex,
/* [in] */ enum IA2ScrollType scrollType);
HRESULT ( STDMETHODCALLTYPE *scrollSubstringToPoint )(
IAccessibleHypertext * This,
/* [in] */ long startIndex,
/* [in] */ long endIndex,
/* [in] */ enum IA2CoordinateType coordinateType,
/* [in] */ long x,
/* [in] */ long y);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_newText )(
IAccessibleHypertext * This,
/* [retval][out] */ IA2TextSegment *newText);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_oldText )(
IAccessibleHypertext * This,
/* [retval][out] */ IA2TextSegment *oldText);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nHyperlinks )(
IAccessibleHypertext * This,
/* [retval][out] */ long *hyperlinkCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_hyperlink )(
IAccessibleHypertext * This,
/* [in] */ long index,
/* [retval][out] */ IAccessibleHyperlink **hyperlink);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_hyperlinkIndex )(
IAccessibleHypertext * This,
/* [in] */ long charIndex,
/* [retval][out] */ long *hyperlinkIndex);
END_INTERFACE
} IAccessibleHypertextVtbl;
interface IAccessibleHypertext
{
CONST_VTBL struct IAccessibleHypertextVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleHypertext_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleHypertext_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleHypertext_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleHypertext_addSelection(This,startOffset,endOffset) \
( (This)->lpVtbl -> addSelection(This,startOffset,endOffset) )
#define IAccessibleHypertext_get_attributes(This,offset,startOffset,endOffset,textAttributes) \
( (This)->lpVtbl -> get_attributes(This,offset,startOffset,endOffset,textAttributes) )
#define IAccessibleHypertext_get_caretOffset(This,offset) \
( (This)->lpVtbl -> get_caretOffset(This,offset) )
#define IAccessibleHypertext_get_characterExtents(This,offset,coordType,x,y,width,height) \
( (This)->lpVtbl -> get_characterExtents(This,offset,coordType,x,y,width,height) )
#define IAccessibleHypertext_get_nSelections(This,nSelections) \
( (This)->lpVtbl -> get_nSelections(This,nSelections) )
#define IAccessibleHypertext_get_offsetAtPoint(This,x,y,coordType,offset) \
( (This)->lpVtbl -> get_offsetAtPoint(This,x,y,coordType,offset) )
#define IAccessibleHypertext_get_selection(This,selectionIndex,startOffset,endOffset) \
( (This)->lpVtbl -> get_selection(This,selectionIndex,startOffset,endOffset) )
#define IAccessibleHypertext_get_text(This,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_text(This,startOffset,endOffset,text) )
#define IAccessibleHypertext_get_textBeforeOffset(This,offset,boundaryType,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_textBeforeOffset(This,offset,boundaryType,startOffset,endOffset,text) )
#define IAccessibleHypertext_get_textAfterOffset(This,offset,boundaryType,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_textAfterOffset(This,offset,boundaryType,startOffset,endOffset,text) )
#define IAccessibleHypertext_get_textAtOffset(This,offset,boundaryType,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_textAtOffset(This,offset,boundaryType,startOffset,endOffset,text) )
#define IAccessibleHypertext_removeSelection(This,selectionIndex) \
( (This)->lpVtbl -> removeSelection(This,selectionIndex) )
#define IAccessibleHypertext_setCaretOffset(This,offset) \
( (This)->lpVtbl -> setCaretOffset(This,offset) )
#define IAccessibleHypertext_setSelection(This,selectionIndex,startOffset,endOffset) \
( (This)->lpVtbl -> setSelection(This,selectionIndex,startOffset,endOffset) )
#define IAccessibleHypertext_get_nCharacters(This,nCharacters) \
( (This)->lpVtbl -> get_nCharacters(This,nCharacters) )
#define IAccessibleHypertext_scrollSubstringTo(This,startIndex,endIndex,scrollType) \
( (This)->lpVtbl -> scrollSubstringTo(This,startIndex,endIndex,scrollType) )
#define IAccessibleHypertext_scrollSubstringToPoint(This,startIndex,endIndex,coordinateType,x,y) \
( (This)->lpVtbl -> scrollSubstringToPoint(This,startIndex,endIndex,coordinateType,x,y) )
#define IAccessibleHypertext_get_newText(This,newText) \
( (This)->lpVtbl -> get_newText(This,newText) )
#define IAccessibleHypertext_get_oldText(This,oldText) \
( (This)->lpVtbl -> get_oldText(This,oldText) )
#define IAccessibleHypertext_get_nHyperlinks(This,hyperlinkCount) \
( (This)->lpVtbl -> get_nHyperlinks(This,hyperlinkCount) )
#define IAccessibleHypertext_get_hyperlink(This,index,hyperlink) \
( (This)->lpVtbl -> get_hyperlink(This,index,hyperlink) )
#define IAccessibleHypertext_get_hyperlinkIndex(This,charIndex,hyperlinkIndex) \
( (This)->lpVtbl -> get_hyperlinkIndex(This,charIndex,hyperlinkIndex) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleHypertext_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleHypertext.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleHypertext,0x6B4F8BBF,0xF1F2,0x418a,0xB3,0x5E,0xA1,0x95,0xBC,0x41,0x03,0xB9);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,454 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleHypertext.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleHypertext.h"
#define TYPE_FORMAT_STRING_SIZE 29
#define PROC_FORMAT_STRING_SIZE 127
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 0
typedef struct _AccessibleHypertext_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleHypertext_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleHypertext_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleHypertext_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleHypertext_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleHypertext_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleHypertext_MIDL_TYPE_FORMAT_STRING AccessibleHypertext__MIDL_TypeFormatString;
extern const AccessibleHypertext_MIDL_PROC_FORMAT_STRING AccessibleHypertext__MIDL_ProcFormatString;
extern const AccessibleHypertext_MIDL_EXPR_FORMAT_STRING AccessibleHypertext__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleHypertext_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleHypertext_ProxyInfo;
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleHypertext_MIDL_PROC_FORMAT_STRING AccessibleHypertext__MIDL_ProcFormatString =
{
0,
{
/* Procedure get_nHyperlinks */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x16 ), /* 22 */
/* 8 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 10 */ NdrFcShort( 0x0 ), /* 0 */
/* 12 */ NdrFcShort( 0x24 ), /* 36 */
/* 14 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 16 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 18 */ NdrFcShort( 0x0 ), /* 0 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter hyperlinkCount */
/* 26 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 32 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_hyperlink */
/* 38 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 40 */ NdrFcLong( 0x0 ), /* 0 */
/* 44 */ NdrFcShort( 0x17 ), /* 23 */
/* 46 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 48 */ NdrFcShort( 0x8 ), /* 8 */
/* 50 */ NdrFcShort( 0x8 ), /* 8 */
/* 52 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x3, /* 3 */
/* 54 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 56 */ NdrFcShort( 0x0 ), /* 0 */
/* 58 */ NdrFcShort( 0x0 ), /* 0 */
/* 60 */ NdrFcShort( 0x0 ), /* 0 */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter index */
/* 64 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 66 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 68 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter hyperlink */
/* 70 */ NdrFcShort( 0x13 ), /* Flags: must size, must free, out, */
/* 72 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 74 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
/* Return value */
/* 76 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 78 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 80 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_hyperlinkIndex */
/* 82 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 84 */ NdrFcLong( 0x0 ), /* 0 */
/* 88 */ NdrFcShort( 0x18 ), /* 24 */
/* 90 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 92 */ NdrFcShort( 0x8 ), /* 8 */
/* 94 */ NdrFcShort( 0x24 ), /* 36 */
/* 96 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x3, /* 3 */
/* 98 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 100 */ NdrFcShort( 0x0 ), /* 0 */
/* 102 */ NdrFcShort( 0x0 ), /* 0 */
/* 104 */ NdrFcShort( 0x0 ), /* 0 */
/* 106 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter charIndex */
/* 108 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 110 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 112 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter hyperlinkIndex */
/* 114 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 116 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 118 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 120 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 122 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 124 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleHypertext_MIDL_TYPE_FORMAT_STRING AccessibleHypertext__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 4 */ 0x8, /* FC_LONG */
0x5c, /* FC_PAD */
/* 6 */
0x11, 0x10, /* FC_RP [pointer_deref] */
/* 8 */ NdrFcShort( 0x2 ), /* Offset= 2 (10) */
/* 10 */
0x2f, /* FC_IP */
0x5a, /* FC_CONSTANT_IID */
/* 12 */ NdrFcLong( 0x1c20f2b ), /* 29495083 */
/* 16 */ NdrFcShort( 0x3dd2 ), /* 15826 */
/* 18 */ NdrFcShort( 0x400f ), /* 16399 */
/* 20 */ 0x94, /* 148 */
0x9f, /* 159 */
/* 22 */ 0xad, /* 173 */
0x0, /* 0 */
/* 24 */ 0xbd, /* 189 */
0xab, /* 171 */
/* 26 */ 0x1d, /* 29 */
0x41, /* 65 */
0x0
}
};
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleText, ver. 0.0,
GUID={0x24FD2FFB,0x3AAD,0x4a08,{0x83,0x35,0xA3,0xAD,0x89,0xC0,0xFB,0x4B}} */
/* Object interface: IAccessibleHypertext, ver. 0.0,
GUID={0x6B4F8BBF,0xF1F2,0x418a,{0xB3,0x5E,0xA1,0x95,0xBC,0x41,0x03,0xB9}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleHypertext_FormatStringOffsetTable[] =
{
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
(unsigned short) -1,
0,
38,
82
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleHypertext_ProxyInfo =
{
&Object_StubDesc,
AccessibleHypertext__MIDL_ProcFormatString.Format,
&IAccessibleHypertext_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleHypertext_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleHypertext__MIDL_ProcFormatString.Format,
&IAccessibleHypertext_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(25) _IAccessibleHypertextProxyVtbl =
{
&IAccessibleHypertext_ProxyInfo,
&IID_IAccessibleHypertext,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
0 /* IAccessibleText::addSelection */ ,
0 /* IAccessibleText::get_attributes */ ,
0 /* IAccessibleText::get_caretOffset */ ,
0 /* IAccessibleText::get_characterExtents */ ,
0 /* IAccessibleText::get_nSelections */ ,
0 /* IAccessibleText::get_offsetAtPoint */ ,
0 /* IAccessibleText::get_selection */ ,
0 /* IAccessibleText::get_text */ ,
0 /* IAccessibleText::get_textBeforeOffset */ ,
0 /* IAccessibleText::get_textAfterOffset */ ,
0 /* IAccessibleText::get_textAtOffset */ ,
0 /* IAccessibleText::removeSelection */ ,
0 /* IAccessibleText::setCaretOffset */ ,
0 /* IAccessibleText::setSelection */ ,
0 /* IAccessibleText::get_nCharacters */ ,
0 /* IAccessibleText::scrollSubstringTo */ ,
0 /* IAccessibleText::scrollSubstringToPoint */ ,
0 /* IAccessibleText::get_newText */ ,
0 /* IAccessibleText::get_oldText */ ,
(void *) (INT_PTR) -1 /* IAccessibleHypertext::get_nHyperlinks */ ,
(void *) (INT_PTR) -1 /* IAccessibleHypertext::get_hyperlink */ ,
(void *) (INT_PTR) -1 /* IAccessibleHypertext::get_hyperlinkIndex */
};
static const PRPC_STUB_FUNCTION IAccessibleHypertext_table[] =
{
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
STUB_FORWARDING_FUNCTION,
NdrStubCall2,
NdrStubCall2,
NdrStubCall2
};
CInterfaceStubVtbl _IAccessibleHypertextStubVtbl =
{
&IID_IAccessibleHypertext,
&IAccessibleHypertext_ServerInfo,
25,
&IAccessibleHypertext_table[-3],
CStdStubBuffer_DELEGATING_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleHypertext__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
0,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleHypertext_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleHypertextProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleHypertext_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleHypertextStubVtbl,
0
};
PCInterfaceName const _AccessibleHypertext_InterfaceNamesList[] =
{
"IAccessibleHypertext",
0
};
const IID * const _AccessibleHypertext_BaseIIDList[] =
{
&IID_IAccessibleText,
0
};
#define _AccessibleHypertext_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleHypertext, pIID, n)
int __stdcall _AccessibleHypertext_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleHypertext_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleHypertext_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleHypertext_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleHypertext_StubVtblList,
(const PCInterfaceName * ) & _AccessibleHypertext_InterfaceNamesList,
(const IID ** ) & _AccessibleHypertext_BaseIIDList,
& _AccessibleHypertext_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,185 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleImage.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleImage_h__
#define __AccessibleImage_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleImage_FWD_DEFINED__
#define __IAccessibleImage_FWD_DEFINED__
typedef interface IAccessibleImage IAccessibleImage;
#endif /* __IAccessibleImage_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "IA2CommonTypes.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleImage_INTERFACE_DEFINED__
#define __IAccessibleImage_INTERFACE_DEFINED__
/* interface IAccessibleImage */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleImage;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("FE5ABB3D-615E-4f7b-909F-5F0EDA9E8DDE")
IAccessibleImage : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_description(
/* [retval][out] */ BSTR *description) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imagePosition(
/* [in] */ enum IA2CoordinateType coordinateType,
/* [out] */ long *x,
/* [retval][out] */ long *y) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_imageSize(
/* [out] */ long *height,
/* [retval][out] */ long *width) = 0;
};
#else /* C style interface */
typedef struct IAccessibleImageVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleImage * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleImage * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleImage * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_description )(
IAccessibleImage * This,
/* [retval][out] */ BSTR *description);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_imagePosition )(
IAccessibleImage * This,
/* [in] */ enum IA2CoordinateType coordinateType,
/* [out] */ long *x,
/* [retval][out] */ long *y);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_imageSize )(
IAccessibleImage * This,
/* [out] */ long *height,
/* [retval][out] */ long *width);
END_INTERFACE
} IAccessibleImageVtbl;
interface IAccessibleImage
{
CONST_VTBL struct IAccessibleImageVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleImage_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleImage_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleImage_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleImage_get_description(This,description) \
( (This)->lpVtbl -> get_description(This,description) )
#define IAccessibleImage_get_imagePosition(This,coordinateType,x,y) \
( (This)->lpVtbl -> get_imagePosition(This,coordinateType,x,y) )
#define IAccessibleImage_get_imageSize(This,height,width) \
( (This)->lpVtbl -> get_imageSize(This,height,width) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleImage_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleImage.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleImage,0xFE5ABB3D,0x615E,0x4f7b,0x90,0x9F,0x5F,0x0E,0xDA,0x9E,0x8D,0xDE);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,414 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleImage.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleImage.h"
#define TYPE_FORMAT_STRING_SIZE 47
#define PROC_FORMAT_STRING_SIZE 133
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 1
typedef struct _AccessibleImage_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleImage_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleImage_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleImage_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleImage_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleImage_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleImage_MIDL_TYPE_FORMAT_STRING AccessibleImage__MIDL_TypeFormatString;
extern const AccessibleImage_MIDL_PROC_FORMAT_STRING AccessibleImage__MIDL_ProcFormatString;
extern const AccessibleImage_MIDL_EXPR_FORMAT_STRING AccessibleImage__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleImage_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleImage_ProxyInfo;
extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleImage_MIDL_PROC_FORMAT_STRING AccessibleImage__MIDL_ProcFormatString =
{
0,
{
/* Procedure get_description */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x3 ), /* 3 */
/* 8 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 10 */ NdrFcShort( 0x0 ), /* 0 */
/* 12 */ NdrFcShort( 0x8 ), /* 8 */
/* 14 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 16 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 18 */ NdrFcShort( 0x1 ), /* 1 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter description */
/* 26 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 32 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_imagePosition */
/* 38 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 40 */ NdrFcLong( 0x0 ), /* 0 */
/* 44 */ NdrFcShort( 0x4 ), /* 4 */
/* 46 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */
/* 48 */ NdrFcShort( 0x6 ), /* 6 */
/* 50 */ NdrFcShort( 0x40 ), /* 64 */
/* 52 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x4, /* 4 */
/* 54 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 56 */ NdrFcShort( 0x0 ), /* 0 */
/* 58 */ NdrFcShort( 0x0 ), /* 0 */
/* 60 */ NdrFcShort( 0x0 ), /* 0 */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter coordinateType */
/* 64 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 66 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 68 */ 0xd, /* FC_ENUM16 */
0x0, /* 0 */
/* Parameter x */
/* 70 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 72 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 74 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter y */
/* 76 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 78 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 80 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 82 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 84 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 86 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_imageSize */
/* 88 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 90 */ NdrFcLong( 0x0 ), /* 0 */
/* 94 */ NdrFcShort( 0x5 ), /* 5 */
/* 96 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 98 */ NdrFcShort( 0x0 ), /* 0 */
/* 100 */ NdrFcShort( 0x40 ), /* 64 */
/* 102 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x3, /* 3 */
/* 104 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 106 */ NdrFcShort( 0x0 ), /* 0 */
/* 108 */ NdrFcShort( 0x0 ), /* 0 */
/* 110 */ NdrFcShort( 0x0 ), /* 0 */
/* 112 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter height */
/* 114 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 116 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 118 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter width */
/* 120 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 122 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 124 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 126 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 128 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 130 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleImage_MIDL_TYPE_FORMAT_STRING AccessibleImage__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0x4, /* FC_RP [alloced_on_stack] */
/* 4 */ NdrFcShort( 0x1c ), /* Offset= 28 (32) */
/* 6 */
0x13, 0x0, /* FC_OP */
/* 8 */ NdrFcShort( 0xe ), /* Offset= 14 (22) */
/* 10 */
0x1b, /* FC_CARRAY */
0x1, /* 1 */
/* 12 */ NdrFcShort( 0x2 ), /* 2 */
/* 14 */ 0x9, /* Corr desc: FC_ULONG */
0x0, /* */
/* 16 */ NdrFcShort( 0xfffc ), /* -4 */
/* 18 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
/* 20 */ 0x6, /* FC_SHORT */
0x5b, /* FC_END */
/* 22 */
0x17, /* FC_CSTRUCT */
0x3, /* 3 */
/* 24 */ NdrFcShort( 0x8 ), /* 8 */
/* 26 */ NdrFcShort( 0xfff0 ), /* Offset= -16 (10) */
/* 28 */ 0x8, /* FC_LONG */
0x8, /* FC_LONG */
/* 30 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
/* 32 */ 0xb4, /* FC_USER_MARSHAL */
0x83, /* 131 */
/* 34 */ NdrFcShort( 0x0 ), /* 0 */
/* 36 */ NdrFcShort( 0x8 ), /* 8 */
/* 38 */ NdrFcShort( 0x0 ), /* 0 */
/* 40 */ NdrFcShort( 0xffde ), /* Offset= -34 (6) */
/* 42 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 44 */ 0x8, /* FC_LONG */
0x5c, /* FC_PAD */
0x0
}
};
static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
{
{
BSTR_UserSize
,BSTR_UserMarshal
,BSTR_UserUnmarshal
,BSTR_UserFree
}
};
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleImage, ver. 0.0,
GUID={0xFE5ABB3D,0x615E,0x4f7b,{0x90,0x9F,0x5F,0x0E,0xDA,0x9E,0x8D,0xDE}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleImage_FormatStringOffsetTable[] =
{
0,
38,
88
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleImage_ProxyInfo =
{
&Object_StubDesc,
AccessibleImage__MIDL_ProcFormatString.Format,
&IAccessibleImage_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleImage_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleImage__MIDL_ProcFormatString.Format,
&IAccessibleImage_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(6) _IAccessibleImageProxyVtbl =
{
&IAccessibleImage_ProxyInfo,
&IID_IAccessibleImage,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
(void *) (INT_PTR) -1 /* IAccessibleImage::get_description */ ,
(void *) (INT_PTR) -1 /* IAccessibleImage::get_imagePosition */ ,
(void *) (INT_PTR) -1 /* IAccessibleImage::get_imageSize */
};
const CInterfaceStubVtbl _IAccessibleImageStubVtbl =
{
&IID_IAccessibleImage,
&IAccessibleImage_ServerInfo,
6,
0, /* pure interpreted */
CStdStubBuffer_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleImage__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
UserMarshalRoutines,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleImage_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleImageProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleImage_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleImageStubVtbl,
0
};
PCInterfaceName const _AccessibleImage_InterfaceNamesList[] =
{
"IAccessibleImage",
0
};
#define _AccessibleImage_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleImage, pIID, n)
int __stdcall _AccessibleImage_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleImage_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleImage_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleImage_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleImage_StubVtblList,
(const PCInterfaceName * ) & _AccessibleImage_InterfaceNamesList,
0, /* no delegation */
& _AccessibleImage_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,244 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleRelation.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleRelation_h__
#define __AccessibleRelation_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleRelation_FWD_DEFINED__
#define __IAccessibleRelation_FWD_DEFINED__
typedef interface IAccessibleRelation IAccessibleRelation;
#endif /* __IAccessibleRelation_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_AccessibleRelation_0000_0000 */
/* [local] */
#define IA2_RELATION_CONTROLLED_BY ( L"controlledBy" )
#define IA2_RELATION_CONTROLLER_FOR ( L"controllerFor" )
#define IA2_RELATION_DESCRIBED_BY ( L"describedBy" )
#define IA2_RELATION_DESCRIPTION_FOR ( L"descriptionFor" )
#define IA2_RELATION_EMBEDDED_BY ( L"embeddedBy" )
#define IA2_RELATION_EMBEDS ( L"embeds" )
#define IA2_RELATION_FLOWS_FROM ( L"flowsFrom" )
#define IA2_RELATION_FLOWS_TO ( L"flowsTo" )
#define IA2_RELATION_LABEL_FOR ( L"labelFor" )
#define IA2_RELATION_LABELED_BY ( L"labelledBy" )
#define IA2_RELATION_LABELLED_BY ( L"labelledBy" )
#define IA2_RELATION_MEMBER_OF ( L"memberOf" )
#define IA2_RELATION_NODE_CHILD_OF ( L"nodeChildOf" )
#define IA2_RELATION_PARENT_WINDOW_OF ( L"parentWindowOf" )
#define IA2_RELATION_POPUP_FOR ( L"popupFor" )
#define IA2_RELATION_SUBWINDOW_OF ( L"subwindowOf" )
extern RPC_IF_HANDLE __MIDL_itf_AccessibleRelation_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleRelation_0000_0000_v0_0_s_ifspec;
#ifndef __IAccessibleRelation_INTERFACE_DEFINED__
#define __IAccessibleRelation_INTERFACE_DEFINED__
/* interface IAccessibleRelation */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleRelation;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("7CDF86EE-C3DA-496a-BDA4-281B336E1FDC")
IAccessibleRelation : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_relationType(
/* [retval][out] */ BSTR *relationType) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_localizedRelationType(
/* [retval][out] */ BSTR *localizedRelationType) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nTargets(
/* [retval][out] */ long *nTargets) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_target(
/* [in] */ long targetIndex,
/* [retval][out] */ IUnknown **target) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_targets(
/* [in] */ long maxTargets,
/* [length_is][size_is][out] */ IUnknown **targets,
/* [retval][out] */ long *nTargets) = 0;
};
#else /* C style interface */
typedef struct IAccessibleRelationVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleRelation * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleRelation * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleRelation * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_relationType )(
IAccessibleRelation * This,
/* [retval][out] */ BSTR *relationType);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_localizedRelationType )(
IAccessibleRelation * This,
/* [retval][out] */ BSTR *localizedRelationType);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nTargets )(
IAccessibleRelation * This,
/* [retval][out] */ long *nTargets);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_target )(
IAccessibleRelation * This,
/* [in] */ long targetIndex,
/* [retval][out] */ IUnknown **target);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_targets )(
IAccessibleRelation * This,
/* [in] */ long maxTargets,
/* [length_is][size_is][out] */ IUnknown **targets,
/* [retval][out] */ long *nTargets);
END_INTERFACE
} IAccessibleRelationVtbl;
interface IAccessibleRelation
{
CONST_VTBL struct IAccessibleRelationVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleRelation_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleRelation_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleRelation_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleRelation_get_relationType(This,relationType) \
( (This)->lpVtbl -> get_relationType(This,relationType) )
#define IAccessibleRelation_get_localizedRelationType(This,localizedRelationType) \
( (This)->lpVtbl -> get_localizedRelationType(This,localizedRelationType) )
#define IAccessibleRelation_get_nTargets(This,nTargets) \
( (This)->lpVtbl -> get_nTargets(This,nTargets) )
#define IAccessibleRelation_get_target(This,targetIndex,target) \
( (This)->lpVtbl -> get_target(This,targetIndex,target) )
#define IAccessibleRelation_get_targets(This,maxTargets,targets,nTargets) \
( (This)->lpVtbl -> get_targets(This,maxTargets,targets,nTargets) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleRelation_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleRelation.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleRelation,0x7CDF86EE,0xC3DA,0x496a,0xBD,0xA4,0x28,0x1B,0x33,0x6E,0x1F,0xDC);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,520 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:58 2012
*/
/* Compiler settings for AccessibleRelation.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleRelation.h"
#define TYPE_FORMAT_STRING_SIZE 95
#define PROC_FORMAT_STRING_SIZE 209
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 1
typedef struct _AccessibleRelation_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleRelation_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleRelation_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleRelation_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleRelation_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleRelation_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleRelation_MIDL_TYPE_FORMAT_STRING AccessibleRelation__MIDL_TypeFormatString;
extern const AccessibleRelation_MIDL_PROC_FORMAT_STRING AccessibleRelation__MIDL_ProcFormatString;
extern const AccessibleRelation_MIDL_EXPR_FORMAT_STRING AccessibleRelation__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleRelation_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleRelation_ProxyInfo;
extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleRelation_MIDL_PROC_FORMAT_STRING AccessibleRelation__MIDL_ProcFormatString =
{
0,
{
/* Procedure get_relationType */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x3 ), /* 3 */
/* 8 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 10 */ NdrFcShort( 0x0 ), /* 0 */
/* 12 */ NdrFcShort( 0x8 ), /* 8 */
/* 14 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 16 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 18 */ NdrFcShort( 0x1 ), /* 1 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter relationType */
/* 26 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 32 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_localizedRelationType */
/* 38 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 40 */ NdrFcLong( 0x0 ), /* 0 */
/* 44 */ NdrFcShort( 0x4 ), /* 4 */
/* 46 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 48 */ NdrFcShort( 0x0 ), /* 0 */
/* 50 */ NdrFcShort( 0x8 ), /* 8 */
/* 52 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 54 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 56 */ NdrFcShort( 0x1 ), /* 1 */
/* 58 */ NdrFcShort( 0x0 ), /* 0 */
/* 60 */ NdrFcShort( 0x0 ), /* 0 */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter localizedRelationType */
/* 64 */ NdrFcShort( 0x2113 ), /* Flags: must size, must free, out, simple ref, srv alloc size=8 */
/* 66 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 68 */ NdrFcShort( 0x20 ), /* Type Offset=32 */
/* Return value */
/* 70 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 72 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 74 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_nTargets */
/* 76 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 78 */ NdrFcLong( 0x0 ), /* 0 */
/* 82 */ NdrFcShort( 0x5 ), /* 5 */
/* 84 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 86 */ NdrFcShort( 0x0 ), /* 0 */
/* 88 */ NdrFcShort( 0x24 ), /* 36 */
/* 90 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 92 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 94 */ NdrFcShort( 0x0 ), /* 0 */
/* 96 */ NdrFcShort( 0x0 ), /* 0 */
/* 98 */ NdrFcShort( 0x0 ), /* 0 */
/* 100 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter nTargets */
/* 102 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 104 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 106 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 108 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 110 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 112 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_target */
/* 114 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 116 */ NdrFcLong( 0x0 ), /* 0 */
/* 120 */ NdrFcShort( 0x6 ), /* 6 */
/* 122 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 124 */ NdrFcShort( 0x8 ), /* 8 */
/* 126 */ NdrFcShort( 0x8 ), /* 8 */
/* 128 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x3, /* 3 */
/* 130 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 132 */ NdrFcShort( 0x0 ), /* 0 */
/* 134 */ NdrFcShort( 0x0 ), /* 0 */
/* 136 */ NdrFcShort( 0x0 ), /* 0 */
/* 138 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter targetIndex */
/* 140 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 142 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 144 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter target */
/* 146 */ NdrFcShort( 0x13 ), /* Flags: must size, must free, out, */
/* 148 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 150 */ NdrFcShort( 0x2e ), /* Type Offset=46 */
/* Return value */
/* 152 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 154 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 156 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_targets */
/* 158 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 160 */ NdrFcLong( 0x0 ), /* 0 */
/* 164 */ NdrFcShort( 0x7 ), /* 7 */
/* 166 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */
/* 168 */ NdrFcShort( 0x8 ), /* 8 */
/* 170 */ NdrFcShort( 0x24 ), /* 36 */
/* 172 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x4, /* 4 */
/* 174 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 176 */ NdrFcShort( 0x1 ), /* 1 */
/* 178 */ NdrFcShort( 0x0 ), /* 0 */
/* 180 */ NdrFcShort( 0x0 ), /* 0 */
/* 182 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter maxTargets */
/* 184 */ NdrFcShort( 0x48 ), /* Flags: in, base type, */
/* 186 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 188 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter targets */
/* 190 */ NdrFcShort( 0x113 ), /* Flags: must size, must free, out, simple ref, */
/* 192 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 194 */ NdrFcShort( 0x48 ), /* Type Offset=72 */
/* Parameter nTargets */
/* 196 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 198 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 200 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 202 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 204 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 206 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleRelation_MIDL_TYPE_FORMAT_STRING AccessibleRelation__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0x4, /* FC_RP [alloced_on_stack] */
/* 4 */ NdrFcShort( 0x1c ), /* Offset= 28 (32) */
/* 6 */
0x13, 0x0, /* FC_OP */
/* 8 */ NdrFcShort( 0xe ), /* Offset= 14 (22) */
/* 10 */
0x1b, /* FC_CARRAY */
0x1, /* 1 */
/* 12 */ NdrFcShort( 0x2 ), /* 2 */
/* 14 */ 0x9, /* Corr desc: FC_ULONG */
0x0, /* */
/* 16 */ NdrFcShort( 0xfffc ), /* -4 */
/* 18 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
/* 20 */ 0x6, /* FC_SHORT */
0x5b, /* FC_END */
/* 22 */
0x17, /* FC_CSTRUCT */
0x3, /* 3 */
/* 24 */ NdrFcShort( 0x8 ), /* 8 */
/* 26 */ NdrFcShort( 0xfff0 ), /* Offset= -16 (10) */
/* 28 */ 0x8, /* FC_LONG */
0x8, /* FC_LONG */
/* 30 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
/* 32 */ 0xb4, /* FC_USER_MARSHAL */
0x83, /* 131 */
/* 34 */ NdrFcShort( 0x0 ), /* 0 */
/* 36 */ NdrFcShort( 0x8 ), /* 8 */
/* 38 */ NdrFcShort( 0x0 ), /* 0 */
/* 40 */ NdrFcShort( 0xffde ), /* Offset= -34 (6) */
/* 42 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 44 */ 0x8, /* FC_LONG */
0x5c, /* FC_PAD */
/* 46 */
0x11, 0x10, /* FC_RP [pointer_deref] */
/* 48 */ NdrFcShort( 0x2 ), /* Offset= 2 (50) */
/* 50 */
0x2f, /* FC_IP */
0x5a, /* FC_CONSTANT_IID */
/* 52 */ NdrFcLong( 0x0 ), /* 0 */
/* 56 */ NdrFcShort( 0x0 ), /* 0 */
/* 58 */ NdrFcShort( 0x0 ), /* 0 */
/* 60 */ 0xc0, /* 192 */
0x0, /* 0 */
/* 62 */ 0x0, /* 0 */
0x0, /* 0 */
/* 64 */ 0x0, /* 0 */
0x0, /* 0 */
/* 66 */ 0x0, /* 0 */
0x46, /* 70 */
/* 68 */
0x11, 0x0, /* FC_RP */
/* 70 */ NdrFcShort( 0x2 ), /* Offset= 2 (72) */
/* 72 */
0x21, /* FC_BOGUS_ARRAY */
0x3, /* 3 */
/* 74 */ NdrFcShort( 0x0 ), /* 0 */
/* 76 */ 0x28, /* Corr desc: parameter, FC_LONG */
0x0, /* */
/* 78 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 80 */ NdrFcShort( 0x1 ), /* Corr flags: early, */
/* 82 */ 0x28, /* Corr desc: parameter, FC_LONG */
0x54, /* FC_DEREFERENCE */
/* 84 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 86 */ NdrFcShort( 0x0 ), /* Corr flags: */
/* 88 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
0x0, /* 0 */
/* 90 */ NdrFcShort( 0xffd8 ), /* Offset= -40 (50) */
/* 92 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
0x0
}
};
static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
{
{
BSTR_UserSize
,BSTR_UserMarshal
,BSTR_UserUnmarshal
,BSTR_UserFree
}
};
/* Standard interface: __MIDL_itf_AccessibleRelation_0000_0000, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleRelation, ver. 0.0,
GUID={0x7CDF86EE,0xC3DA,0x496a,{0xBD,0xA4,0x28,0x1B,0x33,0x6E,0x1F,0xDC}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleRelation_FormatStringOffsetTable[] =
{
0,
38,
76,
114,
158
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleRelation_ProxyInfo =
{
&Object_StubDesc,
AccessibleRelation__MIDL_ProcFormatString.Format,
&IAccessibleRelation_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleRelation_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleRelation__MIDL_ProcFormatString.Format,
&IAccessibleRelation_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(8) _IAccessibleRelationProxyVtbl =
{
&IAccessibleRelation_ProxyInfo,
&IID_IAccessibleRelation,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
(void *) (INT_PTR) -1 /* IAccessibleRelation::get_relationType */ ,
(void *) (INT_PTR) -1 /* IAccessibleRelation::get_localizedRelationType */ ,
(void *) (INT_PTR) -1 /* IAccessibleRelation::get_nTargets */ ,
(void *) (INT_PTR) -1 /* IAccessibleRelation::get_target */ ,
(void *) (INT_PTR) -1 /* IAccessibleRelation::get_targets */
};
const CInterfaceStubVtbl _IAccessibleRelationStubVtbl =
{
&IID_IAccessibleRelation,
&IAccessibleRelation_ServerInfo,
8,
0, /* pure interpreted */
CStdStubBuffer_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleRelation__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
UserMarshalRoutines,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleRelation_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleRelationProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleRelation_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleRelationStubVtbl,
0
};
PCInterfaceName const _AccessibleRelation_InterfaceNamesList[] =
{
"IAccessibleRelation",
0
};
#define _AccessibleRelation_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleRelation, pIID, n)
int __stdcall _AccessibleRelation_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleRelation_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleRelation_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleRelation_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleRelation_StubVtblList,
(const PCInterfaceName * ) & _AccessibleRelation_InterfaceNamesList,
0, /* no delegation */
& _AccessibleRelation_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,118 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:59 2012
*/
/* Compiler settings for AccessibleRole.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleRole_h__
#define __AccessibleRole_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
/* header files for imported files */
#include "objidl.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_AccessibleRole_0000_0000 */
/* [local] */
enum IA2Role
{ IA2_ROLE_UNKNOWN = 0,
IA2_ROLE_CANVAS = 0x401,
IA2_ROLE_CAPTION = ( IA2_ROLE_CANVAS + 1 ) ,
IA2_ROLE_CHECK_MENU_ITEM = ( IA2_ROLE_CAPTION + 1 ) ,
IA2_ROLE_COLOR_CHOOSER = ( IA2_ROLE_CHECK_MENU_ITEM + 1 ) ,
IA2_ROLE_DATE_EDITOR = ( IA2_ROLE_COLOR_CHOOSER + 1 ) ,
IA2_ROLE_DESKTOP_ICON = ( IA2_ROLE_DATE_EDITOR + 1 ) ,
IA2_ROLE_DESKTOP_PANE = ( IA2_ROLE_DESKTOP_ICON + 1 ) ,
IA2_ROLE_DIRECTORY_PANE = ( IA2_ROLE_DESKTOP_PANE + 1 ) ,
IA2_ROLE_EDITBAR = ( IA2_ROLE_DIRECTORY_PANE + 1 ) ,
IA2_ROLE_EMBEDDED_OBJECT = ( IA2_ROLE_EDITBAR + 1 ) ,
IA2_ROLE_ENDNOTE = ( IA2_ROLE_EMBEDDED_OBJECT + 1 ) ,
IA2_ROLE_FILE_CHOOSER = ( IA2_ROLE_ENDNOTE + 1 ) ,
IA2_ROLE_FONT_CHOOSER = ( IA2_ROLE_FILE_CHOOSER + 1 ) ,
IA2_ROLE_FOOTER = ( IA2_ROLE_FONT_CHOOSER + 1 ) ,
IA2_ROLE_FOOTNOTE = ( IA2_ROLE_FOOTER + 1 ) ,
IA2_ROLE_FORM = ( IA2_ROLE_FOOTNOTE + 1 ) ,
IA2_ROLE_FRAME = ( IA2_ROLE_FORM + 1 ) ,
IA2_ROLE_GLASS_PANE = ( IA2_ROLE_FRAME + 1 ) ,
IA2_ROLE_HEADER = ( IA2_ROLE_GLASS_PANE + 1 ) ,
IA2_ROLE_HEADING = ( IA2_ROLE_HEADER + 1 ) ,
IA2_ROLE_ICON = ( IA2_ROLE_HEADING + 1 ) ,
IA2_ROLE_IMAGE_MAP = ( IA2_ROLE_ICON + 1 ) ,
IA2_ROLE_INPUT_METHOD_WINDOW = ( IA2_ROLE_IMAGE_MAP + 1 ) ,
IA2_ROLE_INTERNAL_FRAME = ( IA2_ROLE_INPUT_METHOD_WINDOW + 1 ) ,
IA2_ROLE_LABEL = ( IA2_ROLE_INTERNAL_FRAME + 1 ) ,
IA2_ROLE_LAYERED_PANE = ( IA2_ROLE_LABEL + 1 ) ,
IA2_ROLE_NOTE = ( IA2_ROLE_LAYERED_PANE + 1 ) ,
IA2_ROLE_OPTION_PANE = ( IA2_ROLE_NOTE + 1 ) ,
IA2_ROLE_PAGE = ( IA2_ROLE_OPTION_PANE + 1 ) ,
IA2_ROLE_PARAGRAPH = ( IA2_ROLE_PAGE + 1 ) ,
IA2_ROLE_RADIO_MENU_ITEM = ( IA2_ROLE_PARAGRAPH + 1 ) ,
IA2_ROLE_REDUNDANT_OBJECT = ( IA2_ROLE_RADIO_MENU_ITEM + 1 ) ,
IA2_ROLE_ROOT_PANE = ( IA2_ROLE_REDUNDANT_OBJECT + 1 ) ,
IA2_ROLE_RULER = ( IA2_ROLE_ROOT_PANE + 1 ) ,
IA2_ROLE_SCROLL_PANE = ( IA2_ROLE_RULER + 1 ) ,
IA2_ROLE_SECTION = ( IA2_ROLE_SCROLL_PANE + 1 ) ,
IA2_ROLE_SHAPE = ( IA2_ROLE_SECTION + 1 ) ,
IA2_ROLE_SPLIT_PANE = ( IA2_ROLE_SHAPE + 1 ) ,
IA2_ROLE_TEAR_OFF_MENU = ( IA2_ROLE_SPLIT_PANE + 1 ) ,
IA2_ROLE_TERMINAL = ( IA2_ROLE_TEAR_OFF_MENU + 1 ) ,
IA2_ROLE_TEXT_FRAME = ( IA2_ROLE_TERMINAL + 1 ) ,
IA2_ROLE_TOGGLE_BUTTON = ( IA2_ROLE_TEXT_FRAME + 1 ) ,
IA2_ROLE_VIEW_PORT = ( IA2_ROLE_TOGGLE_BUTTON + 1 ) ,
IA2_ROLE_COMPLEMENTARY_CONTENT = ( IA2_ROLE_VIEW_PORT + 1 )
} ;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleRole_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleRole_0000_0000_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,95 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:59 2012
*/
/* Compiler settings for AccessibleStates.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleStates_h__
#define __AccessibleStates_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
/* header files for imported files */
#include "objidl.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_AccessibleStates_0000_0000 */
/* [local] */
typedef long AccessibleStates;
enum IA2States
{ IA2_STATE_ACTIVE = 0x1,
IA2_STATE_ARMED = 0x2,
IA2_STATE_DEFUNCT = 0x4,
IA2_STATE_EDITABLE = 0x8,
IA2_STATE_HORIZONTAL = 0x10,
IA2_STATE_ICONIFIED = 0x20,
IA2_STATE_INVALID_ENTRY = 0x40,
IA2_STATE_MANAGES_DESCENDANTS = 0x80,
IA2_STATE_MODAL = 0x100,
IA2_STATE_MULTI_LINE = 0x200,
IA2_STATE_OPAQUE = 0x400,
IA2_STATE_REQUIRED = 0x800,
IA2_STATE_SELECTABLE_TEXT = 0x1000,
IA2_STATE_SINGLE_LINE = 0x2000,
IA2_STATE_STALE = 0x4000,
IA2_STATE_SUPPORTS_AUTOCOMPLETION = 0x8000,
IA2_STATE_TRANSIENT = 0x10000,
IA2_STATE_VERTICAL = 0x20000,
IA2_STATE_CHECKABLE = 0x40000,
IA2_STATE_PINNED = 0x80000
} ;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleStates_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleStates_0000_0000_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,497 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:59 2012
*/
/* Compiler settings for AccessibleTable.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleTable_h__
#define __AccessibleTable_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleTable_FWD_DEFINED__
#define __IAccessibleTable_FWD_DEFINED__
typedef interface IAccessibleTable IAccessibleTable;
#endif /* __IAccessibleTable_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "Accessible2.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleTable_INTERFACE_DEFINED__
#define __IAccessibleTable_INTERFACE_DEFINED__
/* interface IAccessibleTable */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleTable;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("35AD8070-C20C-4fb4-B094-F4F7275DD469")
IAccessibleTable : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_accessibleAt(
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ IUnknown **accessible) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_caption(
/* [retval][out] */ IUnknown **accessible) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_childIndex(
/* [in] */ long rowIndex,
/* [in] */ long columnIndex,
/* [retval][out] */ long *cellIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnDescription(
/* [in] */ long column,
/* [retval][out] */ BSTR *description) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnExtentAt(
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ long *nColumnsSpanned) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnHeader(
/* [out] */ IAccessibleTable **accessibleTable,
/* [retval][out] */ long *startingRowIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnIndex(
/* [in] */ long cellIndex,
/* [retval][out] */ long *columnIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nColumns(
/* [retval][out] */ long *columnCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nRows(
/* [retval][out] */ long *rowCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nSelectedChildren(
/* [retval][out] */ long *cellCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nSelectedColumns(
/* [retval][out] */ long *columnCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nSelectedRows(
/* [retval][out] */ long *rowCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowDescription(
/* [in] */ long row,
/* [retval][out] */ BSTR *description) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowExtentAt(
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ long *nRowsSpanned) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowHeader(
/* [out] */ IAccessibleTable **accessibleTable,
/* [retval][out] */ long *startingColumnIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowIndex(
/* [in] */ long cellIndex,
/* [retval][out] */ long *rowIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selectedChildren(
/* [in] */ long maxChildren,
/* [length_is][length_is][size_is][size_is][out] */ long **children,
/* [retval][out] */ long *nChildren) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selectedColumns(
/* [in] */ long maxColumns,
/* [length_is][length_is][size_is][size_is][out] */ long **columns,
/* [retval][out] */ long *nColumns) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selectedRows(
/* [in] */ long maxRows,
/* [length_is][length_is][size_is][size_is][out] */ long **rows,
/* [retval][out] */ long *nRows) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_summary(
/* [retval][out] */ IUnknown **accessible) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_isColumnSelected(
/* [in] */ long column,
/* [retval][out] */ boolean *isSelected) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_isRowSelected(
/* [in] */ long row,
/* [retval][out] */ boolean *isSelected) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_isSelected(
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ boolean *isSelected) = 0;
virtual HRESULT STDMETHODCALLTYPE selectRow(
/* [in] */ long row) = 0;
virtual HRESULT STDMETHODCALLTYPE selectColumn(
/* [in] */ long column) = 0;
virtual HRESULT STDMETHODCALLTYPE unselectRow(
/* [in] */ long row) = 0;
virtual HRESULT STDMETHODCALLTYPE unselectColumn(
/* [in] */ long column) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowColumnExtentsAtIndex(
/* [in] */ long index,
/* [out] */ long *row,
/* [out] */ long *column,
/* [out] */ long *rowExtents,
/* [out] */ long *columnExtents,
/* [retval][out] */ boolean *isSelected) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_modelChange(
/* [retval][out] */ IA2TableModelChange *modelChange) = 0;
};
#else /* C style interface */
typedef struct IAccessibleTableVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleTable * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleTable * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleTable * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_accessibleAt )(
IAccessibleTable * This,
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ IUnknown **accessible);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_caption )(
IAccessibleTable * This,
/* [retval][out] */ IUnknown **accessible);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_childIndex )(
IAccessibleTable * This,
/* [in] */ long rowIndex,
/* [in] */ long columnIndex,
/* [retval][out] */ long *cellIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnDescription )(
IAccessibleTable * This,
/* [in] */ long column,
/* [retval][out] */ BSTR *description);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnExtentAt )(
IAccessibleTable * This,
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ long *nColumnsSpanned);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnHeader )(
IAccessibleTable * This,
/* [out] */ IAccessibleTable **accessibleTable,
/* [retval][out] */ long *startingRowIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnIndex )(
IAccessibleTable * This,
/* [in] */ long cellIndex,
/* [retval][out] */ long *columnIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nColumns )(
IAccessibleTable * This,
/* [retval][out] */ long *columnCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nRows )(
IAccessibleTable * This,
/* [retval][out] */ long *rowCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelectedChildren )(
IAccessibleTable * This,
/* [retval][out] */ long *cellCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelectedColumns )(
IAccessibleTable * This,
/* [retval][out] */ long *columnCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelectedRows )(
IAccessibleTable * This,
/* [retval][out] */ long *rowCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowDescription )(
IAccessibleTable * This,
/* [in] */ long row,
/* [retval][out] */ BSTR *description);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowExtentAt )(
IAccessibleTable * This,
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ long *nRowsSpanned);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowHeader )(
IAccessibleTable * This,
/* [out] */ IAccessibleTable **accessibleTable,
/* [retval][out] */ long *startingColumnIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowIndex )(
IAccessibleTable * This,
/* [in] */ long cellIndex,
/* [retval][out] */ long *rowIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selectedChildren )(
IAccessibleTable * This,
/* [in] */ long maxChildren,
/* [length_is][length_is][size_is][size_is][out] */ long **children,
/* [retval][out] */ long *nChildren);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selectedColumns )(
IAccessibleTable * This,
/* [in] */ long maxColumns,
/* [length_is][length_is][size_is][size_is][out] */ long **columns,
/* [retval][out] */ long *nColumns);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selectedRows )(
IAccessibleTable * This,
/* [in] */ long maxRows,
/* [length_is][length_is][size_is][size_is][out] */ long **rows,
/* [retval][out] */ long *nRows);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_summary )(
IAccessibleTable * This,
/* [retval][out] */ IUnknown **accessible);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_isColumnSelected )(
IAccessibleTable * This,
/* [in] */ long column,
/* [retval][out] */ boolean *isSelected);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_isRowSelected )(
IAccessibleTable * This,
/* [in] */ long row,
/* [retval][out] */ boolean *isSelected);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_isSelected )(
IAccessibleTable * This,
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ boolean *isSelected);
HRESULT ( STDMETHODCALLTYPE *selectRow )(
IAccessibleTable * This,
/* [in] */ long row);
HRESULT ( STDMETHODCALLTYPE *selectColumn )(
IAccessibleTable * This,
/* [in] */ long column);
HRESULT ( STDMETHODCALLTYPE *unselectRow )(
IAccessibleTable * This,
/* [in] */ long row);
HRESULT ( STDMETHODCALLTYPE *unselectColumn )(
IAccessibleTable * This,
/* [in] */ long column);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowColumnExtentsAtIndex )(
IAccessibleTable * This,
/* [in] */ long index,
/* [out] */ long *row,
/* [out] */ long *column,
/* [out] */ long *rowExtents,
/* [out] */ long *columnExtents,
/* [retval][out] */ boolean *isSelected);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_modelChange )(
IAccessibleTable * This,
/* [retval][out] */ IA2TableModelChange *modelChange);
END_INTERFACE
} IAccessibleTableVtbl;
interface IAccessibleTable
{
CONST_VTBL struct IAccessibleTableVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleTable_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleTable_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleTable_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleTable_get_accessibleAt(This,row,column,accessible) \
( (This)->lpVtbl -> get_accessibleAt(This,row,column,accessible) )
#define IAccessibleTable_get_caption(This,accessible) \
( (This)->lpVtbl -> get_caption(This,accessible) )
#define IAccessibleTable_get_childIndex(This,rowIndex,columnIndex,cellIndex) \
( (This)->lpVtbl -> get_childIndex(This,rowIndex,columnIndex,cellIndex) )
#define IAccessibleTable_get_columnDescription(This,column,description) \
( (This)->lpVtbl -> get_columnDescription(This,column,description) )
#define IAccessibleTable_get_columnExtentAt(This,row,column,nColumnsSpanned) \
( (This)->lpVtbl -> get_columnExtentAt(This,row,column,nColumnsSpanned) )
#define IAccessibleTable_get_columnHeader(This,accessibleTable,startingRowIndex) \
( (This)->lpVtbl -> get_columnHeader(This,accessibleTable,startingRowIndex) )
#define IAccessibleTable_get_columnIndex(This,cellIndex,columnIndex) \
( (This)->lpVtbl -> get_columnIndex(This,cellIndex,columnIndex) )
#define IAccessibleTable_get_nColumns(This,columnCount) \
( (This)->lpVtbl -> get_nColumns(This,columnCount) )
#define IAccessibleTable_get_nRows(This,rowCount) \
( (This)->lpVtbl -> get_nRows(This,rowCount) )
#define IAccessibleTable_get_nSelectedChildren(This,cellCount) \
( (This)->lpVtbl -> get_nSelectedChildren(This,cellCount) )
#define IAccessibleTable_get_nSelectedColumns(This,columnCount) \
( (This)->lpVtbl -> get_nSelectedColumns(This,columnCount) )
#define IAccessibleTable_get_nSelectedRows(This,rowCount) \
( (This)->lpVtbl -> get_nSelectedRows(This,rowCount) )
#define IAccessibleTable_get_rowDescription(This,row,description) \
( (This)->lpVtbl -> get_rowDescription(This,row,description) )
#define IAccessibleTable_get_rowExtentAt(This,row,column,nRowsSpanned) \
( (This)->lpVtbl -> get_rowExtentAt(This,row,column,nRowsSpanned) )
#define IAccessibleTable_get_rowHeader(This,accessibleTable,startingColumnIndex) \
( (This)->lpVtbl -> get_rowHeader(This,accessibleTable,startingColumnIndex) )
#define IAccessibleTable_get_rowIndex(This,cellIndex,rowIndex) \
( (This)->lpVtbl -> get_rowIndex(This,cellIndex,rowIndex) )
#define IAccessibleTable_get_selectedChildren(This,maxChildren,children,nChildren) \
( (This)->lpVtbl -> get_selectedChildren(This,maxChildren,children,nChildren) )
#define IAccessibleTable_get_selectedColumns(This,maxColumns,columns,nColumns) \
( (This)->lpVtbl -> get_selectedColumns(This,maxColumns,columns,nColumns) )
#define IAccessibleTable_get_selectedRows(This,maxRows,rows,nRows) \
( (This)->lpVtbl -> get_selectedRows(This,maxRows,rows,nRows) )
#define IAccessibleTable_get_summary(This,accessible) \
( (This)->lpVtbl -> get_summary(This,accessible) )
#define IAccessibleTable_get_isColumnSelected(This,column,isSelected) \
( (This)->lpVtbl -> get_isColumnSelected(This,column,isSelected) )
#define IAccessibleTable_get_isRowSelected(This,row,isSelected) \
( (This)->lpVtbl -> get_isRowSelected(This,row,isSelected) )
#define IAccessibleTable_get_isSelected(This,row,column,isSelected) \
( (This)->lpVtbl -> get_isSelected(This,row,column,isSelected) )
#define IAccessibleTable_selectRow(This,row) \
( (This)->lpVtbl -> selectRow(This,row) )
#define IAccessibleTable_selectColumn(This,column) \
( (This)->lpVtbl -> selectColumn(This,column) )
#define IAccessibleTable_unselectRow(This,row) \
( (This)->lpVtbl -> unselectRow(This,row) )
#define IAccessibleTable_unselectColumn(This,column) \
( (This)->lpVtbl -> unselectColumn(This,column) )
#define IAccessibleTable_get_rowColumnExtentsAtIndex(This,index,row,column,rowExtents,columnExtents,isSelected) \
( (This)->lpVtbl -> get_rowColumnExtentsAtIndex(This,index,row,column,rowExtents,columnExtents,isSelected) )
#define IAccessibleTable_get_modelChange(This,modelChange) \
( (This)->lpVtbl -> get_modelChange(This,modelChange) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleTable_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,367 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:59 2012
*/
/* Compiler settings for AccessibleTable2.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleTable2_h__
#define __AccessibleTable2_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleTable2_FWD_DEFINED__
#define __IAccessibleTable2_FWD_DEFINED__
typedef interface IAccessibleTable2 IAccessibleTable2;
#endif /* __IAccessibleTable2_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "Accessible2.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleTable2_INTERFACE_DEFINED__
#define __IAccessibleTable2_INTERFACE_DEFINED__
/* interface IAccessibleTable2 */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleTable2;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6167f295-06f0-4cdd-a1fa-02e25153d869")
IAccessibleTable2 : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_cellAt(
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ IUnknown **cell) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_caption(
/* [retval][out] */ IUnknown **accessible) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnDescription(
/* [in] */ long column,
/* [retval][out] */ BSTR *description) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nColumns(
/* [retval][out] */ long *columnCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nRows(
/* [retval][out] */ long *rowCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nSelectedCells(
/* [retval][out] */ long *cellCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nSelectedColumns(
/* [retval][out] */ long *columnCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nSelectedRows(
/* [retval][out] */ long *rowCount) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowDescription(
/* [in] */ long row,
/* [retval][out] */ BSTR *description) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selectedCells(
/* [size_is][size_is][size_is][out] */ IUnknown ***cells,
/* [retval][out] */ long *nSelectedCells) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selectedColumns(
/* [size_is][size_is][out] */ long **selectedColumns,
/* [retval][out] */ long *nColumns) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selectedRows(
/* [size_is][size_is][out] */ long **selectedRows,
/* [retval][out] */ long *nRows) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_summary(
/* [retval][out] */ IUnknown **accessible) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_isColumnSelected(
/* [in] */ long column,
/* [retval][out] */ boolean *isSelected) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_isRowSelected(
/* [in] */ long row,
/* [retval][out] */ boolean *isSelected) = 0;
virtual HRESULT STDMETHODCALLTYPE selectRow(
/* [in] */ long row) = 0;
virtual HRESULT STDMETHODCALLTYPE selectColumn(
/* [in] */ long column) = 0;
virtual HRESULT STDMETHODCALLTYPE unselectRow(
/* [in] */ long row) = 0;
virtual HRESULT STDMETHODCALLTYPE unselectColumn(
/* [in] */ long column) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_modelChange(
/* [retval][out] */ IA2TableModelChange *modelChange) = 0;
};
#else /* C style interface */
typedef struct IAccessibleTable2Vtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleTable2 * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleTable2 * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleTable2 * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_cellAt )(
IAccessibleTable2 * This,
/* [in] */ long row,
/* [in] */ long column,
/* [retval][out] */ IUnknown **cell);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_caption )(
IAccessibleTable2 * This,
/* [retval][out] */ IUnknown **accessible);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnDescription )(
IAccessibleTable2 * This,
/* [in] */ long column,
/* [retval][out] */ BSTR *description);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nColumns )(
IAccessibleTable2 * This,
/* [retval][out] */ long *columnCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nRows )(
IAccessibleTable2 * This,
/* [retval][out] */ long *rowCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelectedCells )(
IAccessibleTable2 * This,
/* [retval][out] */ long *cellCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelectedColumns )(
IAccessibleTable2 * This,
/* [retval][out] */ long *columnCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelectedRows )(
IAccessibleTable2 * This,
/* [retval][out] */ long *rowCount);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowDescription )(
IAccessibleTable2 * This,
/* [in] */ long row,
/* [retval][out] */ BSTR *description);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selectedCells )(
IAccessibleTable2 * This,
/* [size_is][size_is][size_is][out] */ IUnknown ***cells,
/* [retval][out] */ long *nSelectedCells);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selectedColumns )(
IAccessibleTable2 * This,
/* [size_is][size_is][out] */ long **selectedColumns,
/* [retval][out] */ long *nColumns);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selectedRows )(
IAccessibleTable2 * This,
/* [size_is][size_is][out] */ long **selectedRows,
/* [retval][out] */ long *nRows);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_summary )(
IAccessibleTable2 * This,
/* [retval][out] */ IUnknown **accessible);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_isColumnSelected )(
IAccessibleTable2 * This,
/* [in] */ long column,
/* [retval][out] */ boolean *isSelected);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_isRowSelected )(
IAccessibleTable2 * This,
/* [in] */ long row,
/* [retval][out] */ boolean *isSelected);
HRESULT ( STDMETHODCALLTYPE *selectRow )(
IAccessibleTable2 * This,
/* [in] */ long row);
HRESULT ( STDMETHODCALLTYPE *selectColumn )(
IAccessibleTable2 * This,
/* [in] */ long column);
HRESULT ( STDMETHODCALLTYPE *unselectRow )(
IAccessibleTable2 * This,
/* [in] */ long row);
HRESULT ( STDMETHODCALLTYPE *unselectColumn )(
IAccessibleTable2 * This,
/* [in] */ long column);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_modelChange )(
IAccessibleTable2 * This,
/* [retval][out] */ IA2TableModelChange *modelChange);
END_INTERFACE
} IAccessibleTable2Vtbl;
interface IAccessibleTable2
{
CONST_VTBL struct IAccessibleTable2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleTable2_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleTable2_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleTable2_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleTable2_get_cellAt(This,row,column,cell) \
( (This)->lpVtbl -> get_cellAt(This,row,column,cell) )
#define IAccessibleTable2_get_caption(This,accessible) \
( (This)->lpVtbl -> get_caption(This,accessible) )
#define IAccessibleTable2_get_columnDescription(This,column,description) \
( (This)->lpVtbl -> get_columnDescription(This,column,description) )
#define IAccessibleTable2_get_nColumns(This,columnCount) \
( (This)->lpVtbl -> get_nColumns(This,columnCount) )
#define IAccessibleTable2_get_nRows(This,rowCount) \
( (This)->lpVtbl -> get_nRows(This,rowCount) )
#define IAccessibleTable2_get_nSelectedCells(This,cellCount) \
( (This)->lpVtbl -> get_nSelectedCells(This,cellCount) )
#define IAccessibleTable2_get_nSelectedColumns(This,columnCount) \
( (This)->lpVtbl -> get_nSelectedColumns(This,columnCount) )
#define IAccessibleTable2_get_nSelectedRows(This,rowCount) \
( (This)->lpVtbl -> get_nSelectedRows(This,rowCount) )
#define IAccessibleTable2_get_rowDescription(This,row,description) \
( (This)->lpVtbl -> get_rowDescription(This,row,description) )
#define IAccessibleTable2_get_selectedCells(This,cells,nSelectedCells) \
( (This)->lpVtbl -> get_selectedCells(This,cells,nSelectedCells) )
#define IAccessibleTable2_get_selectedColumns(This,selectedColumns,nColumns) \
( (This)->lpVtbl -> get_selectedColumns(This,selectedColumns,nColumns) )
#define IAccessibleTable2_get_selectedRows(This,selectedRows,nRows) \
( (This)->lpVtbl -> get_selectedRows(This,selectedRows,nRows) )
#define IAccessibleTable2_get_summary(This,accessible) \
( (This)->lpVtbl -> get_summary(This,accessible) )
#define IAccessibleTable2_get_isColumnSelected(This,column,isSelected) \
( (This)->lpVtbl -> get_isColumnSelected(This,column,isSelected) )
#define IAccessibleTable2_get_isRowSelected(This,row,isSelected) \
( (This)->lpVtbl -> get_isRowSelected(This,row,isSelected) )
#define IAccessibleTable2_selectRow(This,row) \
( (This)->lpVtbl -> selectRow(This,row) )
#define IAccessibleTable2_selectColumn(This,column) \
( (This)->lpVtbl -> selectColumn(This,column) )
#define IAccessibleTable2_unselectRow(This,row) \
( (This)->lpVtbl -> unselectRow(This,row) )
#define IAccessibleTable2_unselectColumn(This,column) \
( (This)->lpVtbl -> unselectColumn(This,column) )
#define IAccessibleTable2_get_modelChange(This,modelChange) \
( (This)->lpVtbl -> get_modelChange(This,modelChange) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleTable2_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:59 2012
*/
/* Compiler settings for AccessibleTable2.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleTable2,0x6167f295,0x06f0,0x4cdd,0xa1,0xfa,0x02,0xe2,0x51,0x53,0xd8,0x69);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,246 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for AccessibleTableCell.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleTableCell_h__
#define __AccessibleTableCell_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleTableCell_FWD_DEFINED__
#define __IAccessibleTableCell_FWD_DEFINED__
typedef interface IAccessibleTableCell IAccessibleTableCell;
#endif /* __IAccessibleTableCell_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "Accessible2.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleTableCell_INTERFACE_DEFINED__
#define __IAccessibleTableCell_INTERFACE_DEFINED__
/* interface IAccessibleTableCell */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleTableCell;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("594116B1-C99F-4847-AD06-0A7A86ECE645")
IAccessibleTableCell : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnExtent(
/* [retval][out] */ long *nColumnsSpanned) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnHeaderCells(
/* [size_is][size_is][size_is][out] */ IUnknown ***cellAccessibles,
/* [retval][out] */ long *nColumnHeaderCells) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_columnIndex(
/* [retval][out] */ long *columnIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowExtent(
/* [retval][out] */ long *nRowsSpanned) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowHeaderCells(
/* [size_is][size_is][size_is][out] */ IUnknown ***cellAccessibles,
/* [retval][out] */ long *nRowHeaderCells) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowIndex(
/* [retval][out] */ long *rowIndex) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_isSelected(
/* [retval][out] */ boolean *isSelected) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_rowColumnExtents(
/* [out] */ long *row,
/* [out] */ long *column,
/* [out] */ long *rowExtents,
/* [out] */ long *columnExtents,
/* [retval][out] */ boolean *isSelected) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_table(
/* [retval][out] */ IUnknown **table) = 0;
};
#else /* C style interface */
typedef struct IAccessibleTableCellVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleTableCell * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleTableCell * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleTableCell * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnExtent )(
IAccessibleTableCell * This,
/* [retval][out] */ long *nColumnsSpanned);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnHeaderCells )(
IAccessibleTableCell * This,
/* [size_is][size_is][size_is][out] */ IUnknown ***cellAccessibles,
/* [retval][out] */ long *nColumnHeaderCells);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_columnIndex )(
IAccessibleTableCell * This,
/* [retval][out] */ long *columnIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowExtent )(
IAccessibleTableCell * This,
/* [retval][out] */ long *nRowsSpanned);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowHeaderCells )(
IAccessibleTableCell * This,
/* [size_is][size_is][size_is][out] */ IUnknown ***cellAccessibles,
/* [retval][out] */ long *nRowHeaderCells);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowIndex )(
IAccessibleTableCell * This,
/* [retval][out] */ long *rowIndex);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_isSelected )(
IAccessibleTableCell * This,
/* [retval][out] */ boolean *isSelected);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_rowColumnExtents )(
IAccessibleTableCell * This,
/* [out] */ long *row,
/* [out] */ long *column,
/* [out] */ long *rowExtents,
/* [out] */ long *columnExtents,
/* [retval][out] */ boolean *isSelected);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_table )(
IAccessibleTableCell * This,
/* [retval][out] */ IUnknown **table);
END_INTERFACE
} IAccessibleTableCellVtbl;
interface IAccessibleTableCell
{
CONST_VTBL struct IAccessibleTableCellVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleTableCell_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleTableCell_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleTableCell_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleTableCell_get_columnExtent(This,nColumnsSpanned) \
( (This)->lpVtbl -> get_columnExtent(This,nColumnsSpanned) )
#define IAccessibleTableCell_get_columnHeaderCells(This,cellAccessibles,nColumnHeaderCells) \
( (This)->lpVtbl -> get_columnHeaderCells(This,cellAccessibles,nColumnHeaderCells) )
#define IAccessibleTableCell_get_columnIndex(This,columnIndex) \
( (This)->lpVtbl -> get_columnIndex(This,columnIndex) )
#define IAccessibleTableCell_get_rowExtent(This,nRowsSpanned) \
( (This)->lpVtbl -> get_rowExtent(This,nRowsSpanned) )
#define IAccessibleTableCell_get_rowHeaderCells(This,cellAccessibles,nRowHeaderCells) \
( (This)->lpVtbl -> get_rowHeaderCells(This,cellAccessibles,nRowHeaderCells) )
#define IAccessibleTableCell_get_rowIndex(This,rowIndex) \
( (This)->lpVtbl -> get_rowIndex(This,rowIndex) )
#define IAccessibleTableCell_get_isSelected(This,isSelected) \
( (This)->lpVtbl -> get_isSelected(This,isSelected) )
#define IAccessibleTableCell_get_rowColumnExtents(This,row,column,rowExtents,columnExtents,isSelected) \
( (This)->lpVtbl -> get_rowColumnExtents(This,row,column,rowExtents,columnExtents,isSelected) )
#define IAccessibleTableCell_get_table(This,table) \
( (This)->lpVtbl -> get_table(This,table) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleTableCell_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for AccessibleTableCell.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleTableCell,0x594116B1,0xC99F,0x4847,0xAD,0x06,0x0A,0x7A,0x86,0xEC,0xE6,0x45);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

View File

@ -0,0 +1,634 @@
/* this ALWAYS GENERATED file contains the proxy stub code */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for AccessibleTableCell.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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( ) */
#if defined(_M_AMD64)
#pragma warning( disable: 4049 ) /* more than 64k source lines */
#if _MSC_VER >= 1200
#pragma warning(push)
#endif
#pragma warning( disable: 4211 ) /* redefine extern to static */
#pragma warning( disable: 4232 ) /* dllimport identity*/
#pragma warning( disable: 4024 ) /* array to pointer mapping*/
#pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
#define USE_STUBLESS_PROXY
/* verify that the <rpcproxy.h> version is high enough to compile this file*/
#ifndef __REDQ_RPCPROXY_H_VERSION__
#define __REQUIRED_RPCPROXY_H_VERSION__ 475
#endif
#include "rpcproxy.h"
#ifndef __RPCPROXY_H_VERSION__
#error this stub requires an updated version of <rpcproxy.h>
#endif /* __RPCPROXY_H_VERSION__ */
#include "AccessibleTableCell.h"
#define TYPE_FORMAT_STRING_SIZE 63
#define PROC_FORMAT_STRING_SIZE 379
#define EXPR_FORMAT_STRING_SIZE 1
#define TRANSMIT_AS_TABLE_SIZE 0
#define WIRE_MARSHAL_TABLE_SIZE 0
typedef struct _AccessibleTableCell_MIDL_TYPE_FORMAT_STRING
{
short Pad;
unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
} AccessibleTableCell_MIDL_TYPE_FORMAT_STRING;
typedef struct _AccessibleTableCell_MIDL_PROC_FORMAT_STRING
{
short Pad;
unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
} AccessibleTableCell_MIDL_PROC_FORMAT_STRING;
typedef struct _AccessibleTableCell_MIDL_EXPR_FORMAT_STRING
{
long Pad;
unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
} AccessibleTableCell_MIDL_EXPR_FORMAT_STRING;
static const RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
{{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
extern const AccessibleTableCell_MIDL_TYPE_FORMAT_STRING AccessibleTableCell__MIDL_TypeFormatString;
extern const AccessibleTableCell_MIDL_PROC_FORMAT_STRING AccessibleTableCell__MIDL_ProcFormatString;
extern const AccessibleTableCell_MIDL_EXPR_FORMAT_STRING AccessibleTableCell__MIDL_ExprFormatString;
extern const MIDL_STUB_DESC Object_StubDesc;
extern const MIDL_SERVER_INFO IAccessibleTableCell_ServerInfo;
extern const MIDL_STUBLESS_PROXY_INFO IAccessibleTableCell_ProxyInfo;
#if !defined(__RPC_WIN64__)
#error Invalid build platform for this stub.
#endif
static const AccessibleTableCell_MIDL_PROC_FORMAT_STRING AccessibleTableCell__MIDL_ProcFormatString =
{
0,
{
/* Procedure get_columnExtent */
0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 2 */ NdrFcLong( 0x0 ), /* 0 */
/* 6 */ NdrFcShort( 0x3 ), /* 3 */
/* 8 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 10 */ NdrFcShort( 0x0 ), /* 0 */
/* 12 */ NdrFcShort( 0x24 ), /* 36 */
/* 14 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 16 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 18 */ NdrFcShort( 0x0 ), /* 0 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter nColumnsSpanned */
/* 26 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 28 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 30 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 32 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 34 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 36 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_columnHeaderCells */
/* 38 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 40 */ NdrFcLong( 0x0 ), /* 0 */
/* 44 */ NdrFcShort( 0x4 ), /* 4 */
/* 46 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 48 */ NdrFcShort( 0x0 ), /* 0 */
/* 50 */ NdrFcShort( 0x24 ), /* 36 */
/* 52 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x3, /* 3 */
/* 54 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 56 */ NdrFcShort( 0x1 ), /* 1 */
/* 58 */ NdrFcShort( 0x0 ), /* 0 */
/* 60 */ NdrFcShort( 0x0 ), /* 0 */
/* 62 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter cellAccessibles */
/* 64 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */
/* 66 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 68 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
/* Parameter nColumnHeaderCells */
/* 70 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 72 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 74 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 76 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 78 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 80 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_columnIndex */
/* 82 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 84 */ NdrFcLong( 0x0 ), /* 0 */
/* 88 */ NdrFcShort( 0x5 ), /* 5 */
/* 90 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 92 */ NdrFcShort( 0x0 ), /* 0 */
/* 94 */ NdrFcShort( 0x24 ), /* 36 */
/* 96 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 98 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 100 */ NdrFcShort( 0x0 ), /* 0 */
/* 102 */ NdrFcShort( 0x0 ), /* 0 */
/* 104 */ NdrFcShort( 0x0 ), /* 0 */
/* 106 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter columnIndex */
/* 108 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 110 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 112 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 114 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 116 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 118 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_rowExtent */
/* 120 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 122 */ NdrFcLong( 0x0 ), /* 0 */
/* 126 */ NdrFcShort( 0x6 ), /* 6 */
/* 128 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 130 */ NdrFcShort( 0x0 ), /* 0 */
/* 132 */ NdrFcShort( 0x24 ), /* 36 */
/* 134 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 136 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 138 */ NdrFcShort( 0x0 ), /* 0 */
/* 140 */ NdrFcShort( 0x0 ), /* 0 */
/* 142 */ NdrFcShort( 0x0 ), /* 0 */
/* 144 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter nRowsSpanned */
/* 146 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 148 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 150 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 152 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 154 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 156 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_rowHeaderCells */
/* 158 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 160 */ NdrFcLong( 0x0 ), /* 0 */
/* 164 */ NdrFcShort( 0x7 ), /* 7 */
/* 166 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 168 */ NdrFcShort( 0x0 ), /* 0 */
/* 170 */ NdrFcShort( 0x24 ), /* 36 */
/* 172 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x3, /* 3 */
/* 174 */ 0xa, /* 10 */
0x3, /* Ext Flags: new corr desc, clt corr check, */
/* 176 */ NdrFcShort( 0x1 ), /* 1 */
/* 178 */ NdrFcShort( 0x0 ), /* 0 */
/* 180 */ NdrFcShort( 0x0 ), /* 0 */
/* 182 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter cellAccessibles */
/* 184 */ NdrFcShort( 0x2013 ), /* Flags: must size, must free, out, srv alloc size=8 */
/* 186 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 188 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
/* Parameter nRowHeaderCells */
/* 190 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 192 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 194 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 196 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 198 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 200 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_rowIndex */
/* 202 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 204 */ NdrFcLong( 0x0 ), /* 0 */
/* 208 */ NdrFcShort( 0x8 ), /* 8 */
/* 210 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 212 */ NdrFcShort( 0x0 ), /* 0 */
/* 214 */ NdrFcShort( 0x24 ), /* 36 */
/* 216 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 218 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 220 */ NdrFcShort( 0x0 ), /* 0 */
/* 222 */ NdrFcShort( 0x0 ), /* 0 */
/* 224 */ NdrFcShort( 0x0 ), /* 0 */
/* 226 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter rowIndex */
/* 228 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 230 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 232 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Return value */
/* 234 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 236 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 238 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_isSelected */
/* 240 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 242 */ NdrFcLong( 0x0 ), /* 0 */
/* 246 */ NdrFcShort( 0x9 ), /* 9 */
/* 248 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 250 */ NdrFcShort( 0x0 ), /* 0 */
/* 252 */ NdrFcShort( 0x21 ), /* 33 */
/* 254 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x2, /* 2 */
/* 256 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 258 */ NdrFcShort( 0x0 ), /* 0 */
/* 260 */ NdrFcShort( 0x0 ), /* 0 */
/* 262 */ NdrFcShort( 0x0 ), /* 0 */
/* 264 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter isSelected */
/* 266 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 268 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 270 */ 0x3, /* FC_SMALL */
0x0, /* 0 */
/* Return value */
/* 272 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 274 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 276 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_rowColumnExtents */
/* 278 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 280 */ NdrFcLong( 0x0 ), /* 0 */
/* 284 */ NdrFcShort( 0xa ), /* 10 */
/* 286 */ NdrFcShort( 0x38 ), /* X64 Stack size/offset = 56 */
/* 288 */ NdrFcShort( 0x0 ), /* 0 */
/* 290 */ NdrFcShort( 0x91 ), /* 145 */
/* 292 */ 0x44, /* Oi2 Flags: has return, has ext, */
0x6, /* 6 */
/* 294 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 296 */ NdrFcShort( 0x0 ), /* 0 */
/* 298 */ NdrFcShort( 0x0 ), /* 0 */
/* 300 */ NdrFcShort( 0x0 ), /* 0 */
/* 302 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter row */
/* 304 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 306 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 308 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter column */
/* 310 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 312 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 314 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter rowExtents */
/* 316 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 318 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 320 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter columnExtents */
/* 322 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 324 */ NdrFcShort( 0x20 ), /* X64 Stack size/offset = 32 */
/* 326 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Parameter isSelected */
/* 328 */ NdrFcShort( 0x2150 ), /* Flags: out, base type, simple ref, srv alloc size=8 */
/* 330 */ NdrFcShort( 0x28 ), /* X64 Stack size/offset = 40 */
/* 332 */ 0x3, /* FC_SMALL */
0x0, /* 0 */
/* Return value */
/* 334 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 336 */ NdrFcShort( 0x30 ), /* X64 Stack size/offset = 48 */
/* 338 */ 0x8, /* FC_LONG */
0x0, /* 0 */
/* Procedure get_table */
/* 340 */ 0x33, /* FC_AUTO_HANDLE */
0x6c, /* Old Flags: object, Oi2 */
/* 342 */ NdrFcLong( 0x0 ), /* 0 */
/* 346 */ NdrFcShort( 0xb ), /* 11 */
/* 348 */ NdrFcShort( 0x18 ), /* X64 Stack size/offset = 24 */
/* 350 */ NdrFcShort( 0x0 ), /* 0 */
/* 352 */ NdrFcShort( 0x8 ), /* 8 */
/* 354 */ 0x45, /* Oi2 Flags: srv must size, has return, has ext, */
0x2, /* 2 */
/* 356 */ 0xa, /* 10 */
0x1, /* Ext Flags: new corr desc, */
/* 358 */ NdrFcShort( 0x0 ), /* 0 */
/* 360 */ NdrFcShort( 0x0 ), /* 0 */
/* 362 */ NdrFcShort( 0x0 ), /* 0 */
/* 364 */ NdrFcShort( 0x0 ), /* 0 */
/* Parameter table */
/* 366 */ NdrFcShort( 0x13 ), /* Flags: must size, must free, out, */
/* 368 */ NdrFcShort( 0x8 ), /* X64 Stack size/offset = 8 */
/* 370 */ NdrFcShort( 0x3a ), /* Type Offset=58 */
/* Return value */
/* 372 */ NdrFcShort( 0x70 ), /* Flags: out, return, base type, */
/* 374 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 376 */ 0x8, /* FC_LONG */
0x0, /* 0 */
0x0
}
};
static const AccessibleTableCell_MIDL_TYPE_FORMAT_STRING AccessibleTableCell__MIDL_TypeFormatString =
{
0,
{
NdrFcShort( 0x0 ), /* 0 */
/* 2 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 4 */ 0x8, /* FC_LONG */
0x5c, /* FC_PAD */
/* 6 */
0x11, 0x14, /* FC_RP [alloced_on_stack] [pointer_deref] */
/* 8 */ NdrFcShort( 0x2 ), /* Offset= 2 (10) */
/* 10 */
0x13, 0x0, /* FC_OP */
/* 12 */ NdrFcShort( 0x14 ), /* Offset= 20 (32) */
/* 14 */
0x2f, /* FC_IP */
0x5a, /* FC_CONSTANT_IID */
/* 16 */ NdrFcLong( 0x0 ), /* 0 */
/* 20 */ NdrFcShort( 0x0 ), /* 0 */
/* 22 */ NdrFcShort( 0x0 ), /* 0 */
/* 24 */ 0xc0, /* 192 */
0x0, /* 0 */
/* 26 */ 0x0, /* 0 */
0x0, /* 0 */
/* 28 */ 0x0, /* 0 */
0x0, /* 0 */
/* 30 */ 0x0, /* 0 */
0x46, /* 70 */
/* 32 */
0x21, /* FC_BOGUS_ARRAY */
0x3, /* 3 */
/* 34 */ NdrFcShort( 0x0 ), /* 0 */
/* 36 */ 0x28, /* Corr desc: parameter, FC_LONG */
0x54, /* FC_DEREFERENCE */
/* 38 */ NdrFcShort( 0x10 ), /* X64 Stack size/offset = 16 */
/* 40 */ NdrFcShort( 0x0 ), /* Corr flags: */
/* 42 */ NdrFcLong( 0xffffffff ), /* -1 */
/* 46 */ NdrFcShort( 0x0 ), /* Corr flags: */
/* 48 */ 0x4c, /* FC_EMBEDDED_COMPLEX */
0x0, /* 0 */
/* 50 */ NdrFcShort( 0xffdc ), /* Offset= -36 (14) */
/* 52 */ 0x5c, /* FC_PAD */
0x5b, /* FC_END */
/* 54 */
0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
/* 56 */ 0x3, /* FC_SMALL */
0x5c, /* FC_PAD */
/* 58 */
0x11, 0x10, /* FC_RP [pointer_deref] */
/* 60 */ NdrFcShort( 0xffd2 ), /* Offset= -46 (14) */
0x0
}
};
/* Object interface: IUnknown, ver. 0.0,
GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
/* Object interface: IAccessibleTableCell, ver. 0.0,
GUID={0x594116B1,0xC99F,0x4847,{0xAD,0x06,0x0A,0x7A,0x86,0xEC,0xE6,0x45}} */
#pragma code_seg(".orpc")
static const unsigned short IAccessibleTableCell_FormatStringOffsetTable[] =
{
0,
38,
82,
120,
158,
202,
240,
278,
340
};
static const MIDL_STUBLESS_PROXY_INFO IAccessibleTableCell_ProxyInfo =
{
&Object_StubDesc,
AccessibleTableCell__MIDL_ProcFormatString.Format,
&IAccessibleTableCell_FormatStringOffsetTable[-3],
0,
0,
0
};
static const MIDL_SERVER_INFO IAccessibleTableCell_ServerInfo =
{
&Object_StubDesc,
0,
AccessibleTableCell__MIDL_ProcFormatString.Format,
&IAccessibleTableCell_FormatStringOffsetTable[-3],
0,
0,
0,
0};
CINTERFACE_PROXY_VTABLE(12) _IAccessibleTableCellProxyVtbl =
{
&IAccessibleTableCell_ProxyInfo,
&IID_IAccessibleTableCell,
IUnknown_QueryInterface_Proxy,
IUnknown_AddRef_Proxy,
IUnknown_Release_Proxy ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_columnExtent */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_columnHeaderCells */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_columnIndex */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_rowExtent */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_rowHeaderCells */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_rowIndex */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_isSelected */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_rowColumnExtents */ ,
(void *) (INT_PTR) -1 /* IAccessibleTableCell::get_table */
};
const CInterfaceStubVtbl _IAccessibleTableCellStubVtbl =
{
&IID_IAccessibleTableCell,
&IAccessibleTableCell_ServerInfo,
12,
0, /* pure interpreted */
CStdStubBuffer_METHODS
};
static const MIDL_STUB_DESC Object_StubDesc =
{
0,
NdrOleAllocate,
NdrOleFree,
0,
0,
0,
0,
0,
AccessibleTableCell__MIDL_TypeFormatString.Format,
1, /* -error bounds_check flag */
0x50002, /* Ndr library version */
0,
0x700022b, /* MIDL Version 7.0.555 */
0,
0,
0, /* notify & notify_flag routine table */
0x1, /* MIDL flag */
0, /* cs routines */
0, /* proxy/server info */
0
};
const CInterfaceProxyVtbl * const _AccessibleTableCell_ProxyVtblList[] =
{
( CInterfaceProxyVtbl *) &_IAccessibleTableCellProxyVtbl,
0
};
const CInterfaceStubVtbl * const _AccessibleTableCell_StubVtblList[] =
{
( CInterfaceStubVtbl *) &_IAccessibleTableCellStubVtbl,
0
};
PCInterfaceName const _AccessibleTableCell_InterfaceNamesList[] =
{
"IAccessibleTableCell",
0
};
#define _AccessibleTableCell_CHECK_IID(n) IID_GENERIC_CHECK_IID( _AccessibleTableCell, pIID, n)
int __stdcall _AccessibleTableCell_IID_Lookup( const IID * pIID, int * pIndex )
{
if(!_AccessibleTableCell_CHECK_IID(0))
{
*pIndex = 0;
return 1;
}
return 0;
}
const ExtendedProxyFileInfo AccessibleTableCell_ProxyFileInfo =
{
(PCInterfaceProxyVtblList *) & _AccessibleTableCell_ProxyVtblList,
(PCInterfaceStubVtblList *) & _AccessibleTableCell_StubVtblList,
(const PCInterfaceName * ) & _AccessibleTableCell_InterfaceNamesList,
0, /* no delegation */
& _AccessibleTableCell_IID_Lookup,
1,
2,
0, /* table of [async_uuid] interfaces */
0, /* Filler1 */
0, /* Filler2 */
0 /* Filler3 */
};
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif
#endif /* defined(_M_AMD64)*/

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:53:59 2012
*/
/* Compiler settings for AccessibleTable.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleTable,0x35AD8070,0xC20C,0x4fb4,0xB0,0x94,0xF4,0xF7,0x27,0x5D,0xD4,0x69);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,435 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for AccessibleText.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleText_h__
#define __AccessibleText_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleText_FWD_DEFINED__
#define __IAccessibleText_FWD_DEFINED__
typedef interface IAccessibleText IAccessibleText;
#endif /* __IAccessibleText_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#include "IA2CommonTypes.h"
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_AccessibleText_0000_0000 */
/* [local] */
typedef struct IA2TextSegment
{
BSTR text;
long start;
long end;
} IA2TextSegment;
enum IA2TextBoundaryType
{ IA2_TEXT_BOUNDARY_CHAR = 0,
IA2_TEXT_BOUNDARY_WORD = ( IA2_TEXT_BOUNDARY_CHAR + 1 ) ,
IA2_TEXT_BOUNDARY_SENTENCE = ( IA2_TEXT_BOUNDARY_WORD + 1 ) ,
IA2_TEXT_BOUNDARY_PARAGRAPH = ( IA2_TEXT_BOUNDARY_SENTENCE + 1 ) ,
IA2_TEXT_BOUNDARY_LINE = ( IA2_TEXT_BOUNDARY_PARAGRAPH + 1 ) ,
IA2_TEXT_BOUNDARY_ALL = ( IA2_TEXT_BOUNDARY_LINE + 1 )
} ;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleText_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_AccessibleText_0000_0000_v0_0_s_ifspec;
#ifndef __IAccessibleText_INTERFACE_DEFINED__
#define __IAccessibleText_INTERFACE_DEFINED__
/* interface IAccessibleText */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleText;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("24FD2FFB-3AAD-4a08-8335-A3AD89C0FB4B")
IAccessibleText : public IUnknown
{
public:
virtual HRESULT STDMETHODCALLTYPE addSelection(
/* [in] */ long startOffset,
/* [in] */ long endOffset) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_attributes(
/* [in] */ long offset,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *textAttributes) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_caretOffset(
/* [retval][out] */ long *offset) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_characterExtents(
/* [in] */ long offset,
/* [in] */ enum IA2CoordinateType coordType,
/* [out] */ long *x,
/* [out] */ long *y,
/* [out] */ long *width,
/* [retval][out] */ long *height) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nSelections(
/* [retval][out] */ long *nSelections) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_offsetAtPoint(
/* [in] */ long x,
/* [in] */ long y,
/* [in] */ enum IA2CoordinateType coordType,
/* [retval][out] */ long *offset) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_selection(
/* [in] */ long selectionIndex,
/* [out] */ long *startOffset,
/* [retval][out] */ long *endOffset) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_text(
/* [in] */ long startOffset,
/* [in] */ long endOffset,
/* [retval][out] */ BSTR *text) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_textBeforeOffset(
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_textAfterOffset(
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_textAtOffset(
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text) = 0;
virtual HRESULT STDMETHODCALLTYPE removeSelection(
/* [in] */ long selectionIndex) = 0;
virtual HRESULT STDMETHODCALLTYPE setCaretOffset(
/* [in] */ long offset) = 0;
virtual HRESULT STDMETHODCALLTYPE setSelection(
/* [in] */ long selectionIndex,
/* [in] */ long startOffset,
/* [in] */ long endOffset) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_nCharacters(
/* [retval][out] */ long *nCharacters) = 0;
virtual HRESULT STDMETHODCALLTYPE scrollSubstringTo(
/* [in] */ long startIndex,
/* [in] */ long endIndex,
/* [in] */ enum IA2ScrollType scrollType) = 0;
virtual HRESULT STDMETHODCALLTYPE scrollSubstringToPoint(
/* [in] */ long startIndex,
/* [in] */ long endIndex,
/* [in] */ enum IA2CoordinateType coordinateType,
/* [in] */ long x,
/* [in] */ long y) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_newText(
/* [retval][out] */ IA2TextSegment *newText) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_oldText(
/* [retval][out] */ IA2TextSegment *oldText) = 0;
};
#else /* C style interface */
typedef struct IAccessibleTextVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleText * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleText * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleText * This);
HRESULT ( STDMETHODCALLTYPE *addSelection )(
IAccessibleText * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_attributes )(
IAccessibleText * This,
/* [in] */ long offset,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *textAttributes);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_caretOffset )(
IAccessibleText * This,
/* [retval][out] */ long *offset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_characterExtents )(
IAccessibleText * This,
/* [in] */ long offset,
/* [in] */ enum IA2CoordinateType coordType,
/* [out] */ long *x,
/* [out] */ long *y,
/* [out] */ long *width,
/* [retval][out] */ long *height);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nSelections )(
IAccessibleText * This,
/* [retval][out] */ long *nSelections);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_offsetAtPoint )(
IAccessibleText * This,
/* [in] */ long x,
/* [in] */ long y,
/* [in] */ enum IA2CoordinateType coordType,
/* [retval][out] */ long *offset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_selection )(
IAccessibleText * This,
/* [in] */ long selectionIndex,
/* [out] */ long *startOffset,
/* [retval][out] */ long *endOffset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_text )(
IAccessibleText * This,
/* [in] */ long startOffset,
/* [in] */ long endOffset,
/* [retval][out] */ BSTR *text);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textBeforeOffset )(
IAccessibleText * This,
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textAfterOffset )(
IAccessibleText * This,
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_textAtOffset )(
IAccessibleText * This,
/* [in] */ long offset,
/* [in] */ enum IA2TextBoundaryType boundaryType,
/* [out] */ long *startOffset,
/* [out] */ long *endOffset,
/* [retval][out] */ BSTR *text);
HRESULT ( STDMETHODCALLTYPE *removeSelection )(
IAccessibleText * This,
/* [in] */ long selectionIndex);
HRESULT ( STDMETHODCALLTYPE *setCaretOffset )(
IAccessibleText * This,
/* [in] */ long offset);
HRESULT ( STDMETHODCALLTYPE *setSelection )(
IAccessibleText * This,
/* [in] */ long selectionIndex,
/* [in] */ long startOffset,
/* [in] */ long endOffset);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_nCharacters )(
IAccessibleText * This,
/* [retval][out] */ long *nCharacters);
HRESULT ( STDMETHODCALLTYPE *scrollSubstringTo )(
IAccessibleText * This,
/* [in] */ long startIndex,
/* [in] */ long endIndex,
/* [in] */ enum IA2ScrollType scrollType);
HRESULT ( STDMETHODCALLTYPE *scrollSubstringToPoint )(
IAccessibleText * This,
/* [in] */ long startIndex,
/* [in] */ long endIndex,
/* [in] */ enum IA2CoordinateType coordinateType,
/* [in] */ long x,
/* [in] */ long y);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_newText )(
IAccessibleText * This,
/* [retval][out] */ IA2TextSegment *newText);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_oldText )(
IAccessibleText * This,
/* [retval][out] */ IA2TextSegment *oldText);
END_INTERFACE
} IAccessibleTextVtbl;
interface IAccessibleText
{
CONST_VTBL struct IAccessibleTextVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleText_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleText_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleText_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleText_addSelection(This,startOffset,endOffset) \
( (This)->lpVtbl -> addSelection(This,startOffset,endOffset) )
#define IAccessibleText_get_attributes(This,offset,startOffset,endOffset,textAttributes) \
( (This)->lpVtbl -> get_attributes(This,offset,startOffset,endOffset,textAttributes) )
#define IAccessibleText_get_caretOffset(This,offset) \
( (This)->lpVtbl -> get_caretOffset(This,offset) )
#define IAccessibleText_get_characterExtents(This,offset,coordType,x,y,width,height) \
( (This)->lpVtbl -> get_characterExtents(This,offset,coordType,x,y,width,height) )
#define IAccessibleText_get_nSelections(This,nSelections) \
( (This)->lpVtbl -> get_nSelections(This,nSelections) )
#define IAccessibleText_get_offsetAtPoint(This,x,y,coordType,offset) \
( (This)->lpVtbl -> get_offsetAtPoint(This,x,y,coordType,offset) )
#define IAccessibleText_get_selection(This,selectionIndex,startOffset,endOffset) \
( (This)->lpVtbl -> get_selection(This,selectionIndex,startOffset,endOffset) )
#define IAccessibleText_get_text(This,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_text(This,startOffset,endOffset,text) )
#define IAccessibleText_get_textBeforeOffset(This,offset,boundaryType,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_textBeforeOffset(This,offset,boundaryType,startOffset,endOffset,text) )
#define IAccessibleText_get_textAfterOffset(This,offset,boundaryType,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_textAfterOffset(This,offset,boundaryType,startOffset,endOffset,text) )
#define IAccessibleText_get_textAtOffset(This,offset,boundaryType,startOffset,endOffset,text) \
( (This)->lpVtbl -> get_textAtOffset(This,offset,boundaryType,startOffset,endOffset,text) )
#define IAccessibleText_removeSelection(This,selectionIndex) \
( (This)->lpVtbl -> removeSelection(This,selectionIndex) )
#define IAccessibleText_setCaretOffset(This,offset) \
( (This)->lpVtbl -> setCaretOffset(This,offset) )
#define IAccessibleText_setSelection(This,selectionIndex,startOffset,endOffset) \
( (This)->lpVtbl -> setSelection(This,selectionIndex,startOffset,endOffset) )
#define IAccessibleText_get_nCharacters(This,nCharacters) \
( (This)->lpVtbl -> get_nCharacters(This,nCharacters) )
#define IAccessibleText_scrollSubstringTo(This,startIndex,endIndex,scrollType) \
( (This)->lpVtbl -> scrollSubstringTo(This,startIndex,endIndex,scrollType) )
#define IAccessibleText_scrollSubstringToPoint(This,startIndex,endIndex,coordinateType,x,y) \
( (This)->lpVtbl -> scrollSubstringToPoint(This,startIndex,endIndex,coordinateType,x,y) )
#define IAccessibleText_get_newText(This,newText) \
( (This)->lpVtbl -> get_newText(This,newText) )
#define IAccessibleText_get_oldText(This,oldText) \
( (This)->lpVtbl -> get_oldText(This,oldText) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleText_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER BSTR_UserSize( unsigned long *, unsigned long , BSTR * );
unsigned char * __RPC_USER BSTR_UserMarshal( unsigned long *, unsigned char *, BSTR * );
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR * );
void __RPC_USER BSTR_UserFree( unsigned long *, BSTR * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for AccessibleText.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleText,0x24FD2FFB,0x3AAD,0x4a08,0x83,0x35,0xA3,0xAD,0x89,0xC0,0xFB,0x4B);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,188 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for AccessibleValue.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __AccessibleValue_h__
#define __AccessibleValue_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifndef __IAccessibleValue_FWD_DEFINED__
#define __IAccessibleValue_FWD_DEFINED__
typedef interface IAccessibleValue IAccessibleValue;
#endif /* __IAccessibleValue_FWD_DEFINED__ */
/* header files for imported files */
#include "objidl.h"
#include "oaidl.h"
#include "oleacc.h"
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __IAccessibleValue_INTERFACE_DEFINED__
#define __IAccessibleValue_INTERFACE_DEFINED__
/* interface IAccessibleValue */
/* [uuid][object] */
EXTERN_C const IID IID_IAccessibleValue;
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("35855B5B-C566-4fd0-A7B1-E65465600394")
IAccessibleValue : public IUnknown
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_currentValue(
/* [retval][out] */ VARIANT *currentValue) = 0;
virtual HRESULT STDMETHODCALLTYPE setCurrentValue(
/* [in] */ VARIANT value) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_maximumValue(
/* [retval][out] */ VARIANT *maximumValue) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_minimumValue(
/* [retval][out] */ VARIANT *minimumValue) = 0;
};
#else /* C style interface */
typedef struct IAccessibleValueVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
IAccessibleValue * This,
/* [in] */ REFIID riid,
/* [annotation][iid_is][out] */
__RPC__deref_out void **ppvObject);
ULONG ( STDMETHODCALLTYPE *AddRef )(
IAccessibleValue * This);
ULONG ( STDMETHODCALLTYPE *Release )(
IAccessibleValue * This);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_currentValue )(
IAccessibleValue * This,
/* [retval][out] */ VARIANT *currentValue);
HRESULT ( STDMETHODCALLTYPE *setCurrentValue )(
IAccessibleValue * This,
/* [in] */ VARIANT value);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_maximumValue )(
IAccessibleValue * This,
/* [retval][out] */ VARIANT *maximumValue);
/* [propget] */ HRESULT ( STDMETHODCALLTYPE *get_minimumValue )(
IAccessibleValue * This,
/* [retval][out] */ VARIANT *minimumValue);
END_INTERFACE
} IAccessibleValueVtbl;
interface IAccessibleValue
{
CONST_VTBL struct IAccessibleValueVtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IAccessibleValue_QueryInterface(This,riid,ppvObject) \
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) )
#define IAccessibleValue_AddRef(This) \
( (This)->lpVtbl -> AddRef(This) )
#define IAccessibleValue_Release(This) \
( (This)->lpVtbl -> Release(This) )
#define IAccessibleValue_get_currentValue(This,currentValue) \
( (This)->lpVtbl -> get_currentValue(This,currentValue) )
#define IAccessibleValue_setCurrentValue(This,value) \
( (This)->lpVtbl -> setCurrentValue(This,value) )
#define IAccessibleValue_get_maximumValue(This,maximumValue) \
( (This)->lpVtbl -> get_maximumValue(This,maximumValue) )
#define IAccessibleValue_get_minimumValue(This,minimumValue) \
( (This)->lpVtbl -> get_minimumValue(This,minimumValue) )
#endif /* COBJMACROS */
#endif /* C style interface */
#endif /* __IAccessibleValue_INTERFACE_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
unsigned long __RPC_USER VARIANT_UserSize( unsigned long *, unsigned long , VARIANT * );
unsigned char * __RPC_USER VARIANT_UserMarshal( unsigned long *, unsigned char *, VARIANT * );
unsigned char * __RPC_USER VARIANT_UserUnmarshal(unsigned long *, unsigned char *, VARIANT * );
void __RPC_USER VARIANT_UserFree( unsigned long *, VARIANT * );
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for AccessibleValue.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, IID_IAccessibleValue,0x35855B5B,0xC566,0x4fd0,0xA7,0xB1,0xE6,0x54,0x65,0x60,0x03,0x94);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,102 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for IA2CommonTypes.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __IA2CommonTypes_h__
#define __IA2CommonTypes_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_IA2CommonTypes_0000_0000 */
/* [local] */
enum IA2ScrollType
{ IA2_SCROLL_TYPE_TOP_LEFT = 0,
IA2_SCROLL_TYPE_BOTTOM_RIGHT = ( IA2_SCROLL_TYPE_TOP_LEFT + 1 ) ,
IA2_SCROLL_TYPE_TOP_EDGE = ( IA2_SCROLL_TYPE_BOTTOM_RIGHT + 1 ) ,
IA2_SCROLL_TYPE_BOTTOM_EDGE = ( IA2_SCROLL_TYPE_TOP_EDGE + 1 ) ,
IA2_SCROLL_TYPE_LEFT_EDGE = ( IA2_SCROLL_TYPE_BOTTOM_EDGE + 1 ) ,
IA2_SCROLL_TYPE_RIGHT_EDGE = ( IA2_SCROLL_TYPE_LEFT_EDGE + 1 ) ,
IA2_SCROLL_TYPE_ANYWHERE = ( IA2_SCROLL_TYPE_RIGHT_EDGE + 1 )
} ;
enum IA2CoordinateType
{ IA2_COORDTYPE_SCREEN_RELATIVE = 0,
IA2_COORDTYPE_PARENT_RELATIVE = ( IA2_COORDTYPE_SCREEN_RELATIVE + 1 )
} ;
enum IA2TextSpecialOffsets
{ IA2_TEXT_OFFSET_LENGTH = -1,
IA2_TEXT_OFFSET_CARET = -2
} ;
enum IA2TableModelChangeType
{ IA2_TABLE_MODEL_CHANGE_INSERT = 0,
IA2_TABLE_MODEL_CHANGE_DELETE = ( IA2_TABLE_MODEL_CHANGE_INSERT + 1 ) ,
IA2_TABLE_MODEL_CHANGE_UPDATE = ( IA2_TABLE_MODEL_CHANGE_DELETE + 1 )
} ;
typedef struct IA2TableModelChange
{
enum IA2TableModelChangeType type;
long firstRow;
long lastRow;
long firstColumn;
long lastColumn;
} IA2TableModelChange;
extern RPC_IF_HANDLE __MIDL_itf_IA2CommonTypes_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_IA2CommonTypes_0000_0000_v0_0_s_ifspec;
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

View File

@ -0,0 +1,103 @@
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for IA2TypeLibrary.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 __IA2TypeLibrary_h__
#define __IA2TypeLibrary_h__
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
/* Forward Declarations */
#ifdef __cplusplus
extern "C"{
#endif
/* interface __MIDL_itf_IA2TypeLibrary_0000_0000 */
/* [local] */
// Type Library Definitions
extern RPC_IF_HANDLE __MIDL_itf_IA2TypeLibrary_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_IA2TypeLibrary_0000_0000_v0_0_s_ifspec;
#ifndef __IAccessible2Lib_LIBRARY_DEFINED__
#define __IAccessible2Lib_LIBRARY_DEFINED__
/* library IAccessible2Lib */
/* [hidden][version][helpstring][uuid] */
EXTERN_C const IID LIBID_IAccessible2Lib;
#endif /* __IAccessible2Lib_LIBRARY_DEFINED__ */
/* Additional Prototypes for ALL interfaces */
/* end of Additional Prototypes */
#ifdef __cplusplus
}
#endif
#endif

Binary file not shown.

View File

@ -0,0 +1,79 @@
/* this ALWAYS GENERATED file contains the IIDs and CLSIDs */
/* link this file in with the server and any clients */
/* File created by MIDL compiler version 7.00.0555 */
/* at Thu Mar 08 14:54:00 2012
*/
/* Compiler settings for IA2TypeLibrary.idl:
Oicf, W1, Zp8, env=Win64 (32b run), target_arch=AMD64 7.00.0555
protocol : dce , ms_ext, 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 */
#ifdef __cplusplus
extern "C"{
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifdef _MIDL_USE_GUIDDEF_
#ifndef INITGUID
#define INITGUID
#include <guiddef.h>
#undef INITGUID
#else
#include <guiddef.h>
#endif
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
DEFINE_GUID(name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8)
#else // !_MIDL_USE_GUIDDEF_
#ifndef __IID_DEFINED__
#define __IID_DEFINED__
typedef struct _IID
{
unsigned long x;
unsigned short s1;
unsigned short s2;
unsigned char c[8];
} IID;
#endif // __IID_DEFINED__
#ifndef CLSID_DEFINED
#define CLSID_DEFINED
typedef IID CLSID;
#endif // CLSID_DEFINED
#define MIDL_DEFINE_GUID(type,name,l,w1,w2,b1,b2,b3,b4,b5,b6,b7,b8) \
const type name = {l,w1,w2,{b1,b2,b3,b4,b5,b6,b7,b8}}
#endif !_MIDL_USE_GUIDDEF_
MIDL_DEFINE_GUID(IID, LIBID_IAccessible2Lib,0xc974e070,0x3787,0x490a,0x87,0xb0,0xe3,0x33,0xb0,0x6c,0xa1,0xe2);
#undef MIDL_DEFINE_GUID
#ifdef __cplusplus
}
#endif

Some files were not shown because too many files have changed in this diff Show More